If you’re an e-commerce customer, you probably have products with different values. Wouldn’t you want to track your conversion data with the same value differentiation?
With dynamic values, you can add in unique product values for each purchase action on your site. Adding values (such as revenue per order) and order IDs to your conversion events will help you more accurately measure your return on investment and view the true value of each conversion.
Tracking order values and IDs requires modification to the Event-Based conversion pixel code. Pass this guide along to your web developer so that they can add the value dynamically at the time a purchase is made.
Adding an Order Value
To add a value to your conversion, you need to assign a new value to the ‘orderValue’ field sent along with the tracking event. For example, if your checkout value was $9.99, you would modify the code like this:
Changing the Currency
To report your value in a currency other than US dollars, modify the ‘currency’ field.
For example, if you would like to report in British Pounds, you would modify the code to read:
orderValue: ‘9.99’, currency: ‘GBP’
Adding an Order ID
To track Order IDs, assign a new value to the ‘OrderId’ field. So, if your checkout Order ID was ‘123456’, you would modify the code like this:
You could also combine all properties to track the Order Value, Order ID and Currency.
It’s important to note that placing dynamic values on your site code will override any default value you have set in the Conversions section of your dashboard.
Also, keep in mind that how you define a variable and pass it over from your website is based on how your site is structured and what information you want to receive. There are several standard options and you should consult with your web site’s development team or web developer to determine what is best for you and your campaign goals.
Questions? We’ve got answers! Feel free to reach out to us and we’ll be happy to assist.