Help & Support
How Can We Help?
We Think These Might Help
OPEN TICKET
Thank you for your feedback!
cannot be blank
We will respond as soon as humanly possible.

Setting Up Enhanced Conversion Tracking

These are general instructions for dynamically passing back revenue recorded for each sale. If you work with a particular e-commerce platform, check if we have your platform listed in Platform Integrations

Before You Start

If you wish to pass back revenue values dynamically, you must make sure that you do not specify a conversion value when creating your conversion segment. If you previously specified a conversion value, please edit your conversion segment and delete it.

 

Building on basic conversion tracking

Your AdRoll Pixel and dashboard provide an easy way to set up basic conversion tracking through URL segmentation. Any time a visitor lands on a page that represents completion of a desired action, for example http://www.example.com/thankyou, a conversion event can be triggered and attributed to your advertising.

If you would like to get more granular insight into the context of each attributable conversion, you'll need to add our enhanced conversion tracking JavaScript code to your conversion page(s). This code will instruct your AdRoll Pixel to pass back additional variables, such as order value or ID, along with the conversion event.

Implementing enhanced conversion tracking requires a little more technical expertise, so you will want to work with someone who has familiarity with your website. You will need to know:

  • How to access your conversion page HTML
  • Variable names pertaining to the information you would like to track alongside each attributable conversion

 

How to pass revenue value of conversions

Because revenue is the most commonly used attribute that can be passed with conversions, AdRoll has implemented a specific conversion variable for order amounts that is recognized by your AdRoll Pixel.  When a value is assigned to this variable, it will show up in your AdRoll dashboard.

In the HTML of your success page, you will need to add additional JavaScript below your AdRoll Pixel. The script will instruct your pixel to recognize the variable that logs the order amount assigned to the conversion.

The revenue variable name (X) used is unique to each website and e-commerce platform. In order to determine the correct variable name, you will want to make sure to refer to the proper documentation from your respective platform.

If the revenue variable is correctly named, then X will automatically populate the order amount as actual conversions occur.

If you would like to verify that you have implemented the revenue variable correctly, trigger a test transaction. Then, check the HTML of your conversion page. The revenue value (X) should be replaced with the actual order amount logged. In the example below, the order amount recorded is $49.95.

 

How to pass custom currencies

AdRoll defaults to reporting revenue values in USD. If you would like to have revenue values reported in a custom currency, you will need to make a small additional adjustment to the script, replacing "USD" with the three-letter code that represents your desired currency.

adroll_conversion_value = X;
adroll_currency = "Y"

As in the previous section, X is replaced by your platform's revenue variable name. Replace Y with a supported currency code being sure to include the specified quotation marks.

Additional considerations:

  • We can currently set your dashboard up to report in the following currencies: US Dollars (USD), Euro (EUR), British Pound Sterling (GBP), Australian Dollars (AUD), and Japanese Yen (JPY)
  • If you specify a different currency for enhanced conversion tracking than what is set on your dashboard, revenue tracked will be converted to your dashboard currency setting based on daily exchange rates.
  • If no currency code is specified, reporting defaults to USD.

 

How to pass additional custom values

Any additional attributes about conversions can also be passed to AdRoll, and these values can then be accessed via a granular conversion report (GCR), which you can pull from your dashboard by clicking the "Generate Report" button on the right sidebar and selecting the "Profile Overview" report type.

Additional variables are passed by setting a JavaScript object with the name adroll_custom_datawhich encapsulates custom variables and values.

The example script below is set up for passing values for order ID and user ID, where W and Z should be replaced with the corresponding variable names as defined by your platform. 

 

You can continue to define other information you want captured, as long as you know the corresponding variable name. Simply follow the format:

adroll_custom_data = {"ORDER_ID": W, "USER_ID": Z, "custom_name": A, "custom_name" : B}

Where "custom_name" is your name for the data you are trying to capture and and B are replaced by the corresponding variable names.

If you are interested in passing back additional custom data, please make sure you are familiar with the types of information you are allowed to pass back.

 

Passing revenue and custom values together

If you’d like to pass AdRoll both types of data, you can set both variables for revenue and custom values at the same time. Simply set adroll_conversion_valueadroll_currency, and adroll_custom_data variables consecutively in JavaScript.

Was this article helpful?
0 out of 0 found this helpful