How does the Order Tracking Script Work?
To track customer orders on your eCommerce site, you can use our Order Tracking Script. This will identify order numbers and amounts from your eCommerce site. We will then pull that data and display it in an ROI Cohort Chart on your Dashboard.
TAKE NOTE: You cannot use both the GetEmails suppression script and tracking script at the same time. Our suppression script, by definition, ignores capture/collection entirely – therefore, we cannot identify contacts with order information if they are suppressed.
What do I need to use it?
You will need the variables for order number and order amount from your eCommerce platform.
Where do I find it and how do I set it up?
1. From your GetEmails Dashboard, click Code Snippet in the left navigation. Then, click View Script next to the domain you want to add the snippet script to.
2. Check the box next to Order Tracking. Then, copy the script and paste it into your post-purchase thank you or confirmation page(s).
You will need to get the variables for the order number and order amount from your eCommerce site.
Then, replace the Xs in the snippet script on your site with those variables:
Depending on what those variables look like, the updated version of the script might look something like this:
Okay I’ve added the script! Now what?
Once the order tracking script is added, we will start to capture order information for your GetEmails contacts that land on these pages.
Once data is collected, you will see an ROI chart in your dashboard that will display your week-over week ROI from your GetEmails contacts: