Skip to main content
All CollectionsIntegrationsOther Integrations
Add revenue tracking script to Recharge
Add revenue tracking script to Recharge
Updated over 11 months ago

You can use your Retention.com's revenue tracking script to capture order information for your Retention.com contacts that land on your Recharge page. Tracking codes typically are used on the order status page. The data will be displayed on your Retention.com dashboard once it is collected.

What you'll need

Your revenue tracking script from Retention.com. From your Retention Dashboard, click Code Script. Then, click View Your Script. Check the box next to Revenue Tracking, and click Copy Code.

Add script to Recharge

1. Go to Storefront > Checkout in Recharge. Scroll down to Thank you page, and paste the revenue tracking script from Retention.com in the box below any existing code.

2. You will need to replace ORDER_NUMBER, DOLLAR VALUE, and ORDER EMAIL in the script with Recharge's variables.

Replace ORDER_NUMBER with order_number. Replace DOLLAR VALUE with total_price. And replace ORDER EMAIL with email.

So this section should look like this:

<script>
  geq.trackOrder({ order_number: "##{{ order_number }}", order_amount: "##{{ total_price }}",   
  order_email: "##{{ email }}" });
</script>

Note: If you are using custom revenue tracking variables, insert those instead of the ones shown here.

3. Click Save.

Have questions? Message us on chat, or email support[at]retention.com!

Did this answer your question?