Add Revenue Tracking to Shopify via our new Tracking Method

Shopify combined with our new Tracking Method

Instead of using the Google Analytics Ecommerce code or the Manual Revenue Tracking code or the webhook solution to capture revenue on your store, you can use our new tracking method and combine it with your Shopify store.

This method of tracking revenue conversions is more robust than the manual revenue tracking method of creating a Revenue Goal that tracks the "Thank you" page. The reason is that is actually triggered when an order is created, rather than when a visitor visits the thank you page. 

It also solves the current problem we have with the webhook solution that does not track conversions that happen through the dynamic checkouts button like the Buy Now button, Amazon Pay, Paypal... etc. 

Add the Convert Script to your Shopify Theme

To integrate the two platforms, please go to Sales Channels > Online Store > Themes > More Actions > Edit Code

mceclip3.png

Select the theme.liquid file and paste the Convert tracking script just before the first "{% if %}" section, as shown in the screenshot below:

mceclip4.png

Don't forget to save your changes in Shopify.

Create a Revenue Goal in your Convert account

Go to goals and select the template Revenue Goal:

mceclip0.png

Add your Goal name and select either Manual Revenue Tracking or GA since it does not matter. Write down the Goal ID since you will use it in the next step:

mceclip1.png

Add code to your Global Project Javascript

Add this JS code to the "Global Project Javascript". Be sure to update the revenue_goal_id in the code below with your own which you created in the previous step:

See the Pen Revenue via advanced Tracking method by Convert.com (@gcrewe) on CodePen.

Add code on the checkout Shopify section

Then you need to add this code on the checkout section (/admin/settings/checkout) of your Shopify:

mceclip0.png

See the Pen Revenue Checkout Shopify via Tracking method by Convert.com (@gcrewe) on CodePen.

Access your Convert Report

Once you complete your first purchase on your Shopify store:

mceclip0.png

You will start receiving revenue data in your report:

mceclip2.png

Live logs can also be used to verify the data:

mceclip3.png

Compatibility with other Upsell and Subscription Shopify Plugins

This integration is not currently compatible with other upsell and subscription plugins that use the Shopify API to create orders within Shopify. 

Need assistance? Start a conversation with our Support Team.
CONVERT MORE

Reliably Convert More Site Visitors, Even If Everything Else is Changing in Your Business.

START 15-DAY FREE TRIAL
✓ No Credit Card  ✓ Easy Set-Up  ✓ Access All Features

Comments