Skip to main content
All CollectionsIntegrationsShopify
Add revenue tracking script to Shopify site
Add revenue tracking script to Shopify site
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 Shopify page. Tracking codes typically are used on the order status page. Once data is collected, your dashboard will display your week-over-week ROI from your Retention.com contacts.

Here's how to add your Retention.com revenue tracking script to your Shopify site.

What you'll need

1. You'll need to copy your revenue tracking script from Retention.com. From your Retention Dashboard, click Code Script. Then, click View Your Script.

2. Check the box next to Revenue Tracking, and click Copy Code.

How to add tracking to Shopify

1. From your Shopify admin page, click Settings > Checkout.

2. Under Order processing, go to the Additional scripts > Order status page text box. Paste your Retention.com revenue tracking script into the box.

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

Replace ORDER_NUMBER with order_number. Replace DOLLAR VALUE with total_price | money_without_currency. And replace ORDER EMAIL with email. When you're finished, click Save in the top right.

So this section should look like this:

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

4. You can then track your order information, revenue, contacts, and ROI from your Retention.com dashboard.

Revenue Tracker
Did this answer your question?