Reactivate: How to use the revenue tracking script

To track customer orders from Reactivate open events on your eCommerce site, you can use our revenue tracking script. This will identify the:

  1. email address
  2. order number, and
  3. transaction amount

tied to a contact from your eCommerce site. We will then pull that data and display it on your Dashboard.

Note: If you’re using and have already added the revenue tracking script to your site, it will also work for Reactivate.

TAKE NOTE that including the email variable is *necessary* for proper ROI and attribution analysis.

Where should I put it?

The revenue tracking script should only be placed on post-checkout/purchase confirmation pages, or wherever a contact lands once they have finished a transaction.

TAKE NOTE: The revenue tracking script automatically uses our suppression script. We can identify contacts with order information if they are suppressed.

What do I need to use it?

From your eCommerce platform, you will need the following variables:
ORDER EMAIL : **This variable is imperative for proper ROI Analysis and attribution.**
ORDER NUMBER: Attaches the customer’s order/transaction number
ORDER AMOUNT: Passes the total amount of the order.

Where do I find it, and how do I set it up?

1. From your Reactivate Dashboard, click Revenue in the left navigation. Then, click Get Tracking Code.

2. Enter your website, and click Next Step.

3. Check the box next to Revenue Tracking. Then, click Copy Code. If someone else is installing the script for you, click Email a Teammate, and that will send them an email with the script and instructions.

4. You will need to get the variables for the order number, order amount, and order email from your eCommerce site. Then, replace ORDER_NUMBER, DOLLAR VALUE, and ORDER EMAIL in the script with those variables—and then place it on your post opt-in or checkout confirmation page(s).*

*Note that our placeholders contain double brackets:

{{ order_number }} 

If you are not using Shopify or you are using system where those brackets are not part of the templating language, remove the brackets. They are part of the variable placeholder used in Shopify and specific to this example.

Okay, I’ve added the script! Now what?

1. You can either test that the script is found and firing—or you can wait to see if the data populates in your Reactivate Dashboard. To test the revenue tracking script, go to Revenue > Get Tracking Code.

2. Enter the URL your revenue tracking script is on, and click Next Step.

Note: This needs to be the exact page (not the domain URL). With many e-commerce platforms, you would need to complete a fake purchase to find this post-purchase URL.

3. Click Does my script work?

4. Click Test My Script. This will pull up your site and show a verification box in the top right-hand corner if it’s working.

5. Instead of testing, you can also wait to see if the data populates. Once the revenue tracking script is properly added, we will start to capture order information for your Reactivate contacts that land on these pages. You will see “Processing” boxes in your dashboard until there is enough data.

6. Once data is collected, your dashboard will display your week-over-week revenue, Reactivate open events, and return on investment (ROI). You can click View More next to any of these sections to see the contact information, event, details, dates, and other information.