Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Once implemented, you can then get email campaign stats that include conversion numbers, just like you have stats for opens and clicks, you can have stats of number of registrations for example. Similarly you'll be able to segment based on these behavioral conversions, just like one does with opens and clicks.

Conversion Points: Basic Technical Notes

  1. You can setup up to 5 conversion points per List.
  2. Ongage conversion pixels can be implemented either as client side or sever side – both are supported.
  3. It takes on average about 20 minutes for a conversion pixel to be processed from the time the Ongage platform receives it.

...

  1. Go to List → Conversion Points  and click on "New Conversion Point"

    And fill in the following:

    1. If you'd like to also pass back a value and get sum of that value in the aggregate report – check the "Save sum of value in stats" option. 
      This is particularly useful to get a sum total of all purchases for a given campaign, figure out earnings per thousand emails, etc. 
    2. In addition you can save the values to a list field by clicking the "Save value to member list field" option.
       
  2. Copy the conversion pixel URL, from your Ongage account
     
     
  3. Place the conversion pixel on the post conversion page of your website
    1. For example: Let's say the conversion is "Registration", on the thank-you page following the registration form, place the pixel URL you got from the above dashboard
    2. See below details for how to implement the pixel on the post-conversion page
       
  4. When setting up a email campaign, in the Email editor add the following dynamic fields to the relevant links in your email, that sends the recipients to the landing page where they'll be converting:

    1. Dynamic field: {{email}}

    2. System field: {{ocx_mailing_id}}

    3. So the link will look something like this: http://my-landing-page/?email={{email}}&cid={{ocx_mailing_id}}

How to implement the conversion pixel on the post conversion point page 

Your website programmer will be required to capture the values of the variables that arrived on the link to the landing page, and pass them back on the pixel that you'll fire on the post conversion page. For example:

...

If you only need to send an encrypted email address back on the conversion pixel

The following is what your programmer will need to implement if you want the email addresses that are passed back on the conversion pixel to be encrypted.

The method

The Private/Public key encryption is a secure method to encrypt data that needs to be decrypted afterwards.
The way it works is that our system generates a key which you use to encrypt your data, in this case, the email address.
This key is the public key
Once the encrypted data arrives to our servers we decrypt it with our Private key which is known only to us.

How to use it:

In order to user the public key to encrypt your data you need to run a command with the public key that you copy form the UI as one of the parameters.
The results should be put in the email field of the parameter “xih” in the URL: &xih=encoded_email

Example of PHP code that does that:

Code Block
languagephp
// this is a sample of public key as taken from Ongage UI
$pub = '-----BEGIN PUBLIC KEY-----
MEwwDQYJKoZIhvcNAQEBBQADOwAwOAIxALm4L+Dvc0gZSjCYOxqBohNgNDbEct/D
tDoYP3zQdelGx/D/qzFLo1PASNp+k28TyQIDAQAB
-----END PUBLIC KEY-----';
  
// the data to be encoded
$data = 'john.doe@email.com';
  
// call the encoding function. $enc is returned by reference
openssl_public_encrypt($data, $enc, $pub);
  
// make the encoded email usable by base64-encoding it
$encoded_email = base64_encode($enc);

...