How to Update My Post Purchase Tracking to the Latest Recommendation
Our Upsell tracking recommendations have changed in December 2023
Using Our Latest Integration for the Checkout Script via Customer Events:
If you are not using our latest integration for the checkout script via customer events, we recommend that you upgrade following our guide because this will ensure your post-purchase tracking is fully up to date.
Overview
What's New?
In December 2023, we updated our approach to tracking on the upsell platform. Previously, we triggered the dl_purchase event from the upsell page and then adjusted to prevent it from firing on the thank you page. We are now transitioning to a new approach where the dl_purchase event will be fired from the thank you page, aligning with standard setups. However, we will continue to enable capturing of upsell purchase events from the post-purchase page.
Why Did we Change Our Approach?
- Made the setup easier - The new recommended setup has less tag customization and no manual updates needed to your order status scripts.
- Allows new and returning users to be captured for your purchase event when the user navigates to the thank you page. These values can impact the way you pay on affiliate platforms! Also, allows you to target new vs returning users on your advertising platform. With the previous setup, this data would never be captured.
- The previous advanced setup is not necessary with so many destinations available for server-side setup.
- No longer need to be concerned with the 500ms processing time on the post-purchase page.
- Makes future updates to your Elevar Tracking much easier!
Changes You Need to Make
Update your Order Status Additional Scripts and Remove Previous Version of Script:
- Begin on your Shopify homepage and click on the "Settings" button or the gear icon in the lower left-hand corner of the page. Then, using the left hand-menu click on the "Checkout Settings".
- Navigate to the "Order status page" section of the page. Here you will need to remove the Elevar code.
- Not sure where you code begins and ends? Looks for the comments <!-- Begin Elevar --> and <!-- End Elevar --> to mark the start and end of the scripts you'll be removing.
Not seeing the comments?
If you are not seeing the comments, you may have added our script before we begin included the comments.
Here is an example of the script you are looking for. The identifiers will be different for your specific store, but use this as a guideline.
If you are still not sure where your script begins and ends, send a file of your entire order status page additional scripts to our support team and we can help you out!
Add the New Script in your Order Status Additional Scripts:
- Paste the code you've copied from above into the Order Status Additional Scripts.
- Save your update!
Update your Post-Purchase Additional Scripts
Remove any Previous Versions of the Script:
- Begin on your Shopify homepage and click on the "Settings" button or the gear icon in the lower left-hand corner of the page. Then, using the left hand-menu click on the "Checkout Settings".
- Navigate to the "Order status page" section of the page.
- You will need to remove any previous version of the script.
Help with Locating Script:
If you are unclear where your script begins and ends, send a file of your entire post-purchase page additional scripts to our support team and we can help you out!
That's It!
Updated about 3 hours ago