ThriveCart Integration

Placing tracking scripts into ThriveCart to track data back to Everflow.

Haley Betts avatar
Written by Haley Betts
Updated over a week ago

Overview

This guide will walk you through adding code to ThriveCart in order to track activity in Everflow from the Checkout Pages. ThriveCart provides information on where to place the code. Follow these steps - [Click Here].


Step #1

  • In Everflow, navigate to Offers - Manage, and then click on the Offer you want to add to ThriveCart.

  • Confirm that Direct Linking is turned on and the Conversion Method is Javascript SDK, then copy the Click Script from the Tracking card.

Step #2

  • In Everflow, set up the tracking information per product by navigating to Products.

Step #3

  • In ThriveCart, navigate to the Checkout tab > Tracking > Custom Tracking Code > All Pages > paste the click script from Step #1 into all Pages.

Step #4

  • Replace INSERT_TRACKING_DOMAIN with your domain into the Conversion Script below, which should match the domain used in the Click Script:

    <script type="text/javascript"
    src="https://www.INSERT_TRACKING_DOMAIN.com/scripts/sdk/everflow.js"></script>
    <script type="text/javascript">
    EF.conversion({
    aid: INSERT_ADVERTISER_ID,
    amount: _thrive_order.order.total_readable,
    email: _thrive_order.customer.email,
    order_id: _thrive_order.order.id,
    });
    </script>

  • You also need to replace INSERT_ADVERTISER_ID with the Advertiser ID associated with the chosen Offer. In this example, the Advertiser ID is 165.

In this example, the script would look like this:

<script type="text/javascript"
src="https://www.serve-eflow-test.com/scripts/sdk/everflow.js"></script>
<script type="text/javascript">
EF.conversion({
aid: 165,
amount: _thrive_order.order.total_readable,
email: _thrive_order.customer.email,
order_id: _thrive_order.order.id,
});
</script>

Step #5

  • In ThriveCart, add the Conversion Script Tracking > Custom Tracking Code > Main Product

Step #5

  • After adding the code in ThriveCart, click Save.


Did this answer your question?