Learn how to track sale conversion events with Shopify and Dub
Conversion tracking require a Business plan subscription or higher.
When it comes to conversion tracking, a sale
event happens when a user purchases a product from your Shopify store.
In this guide, we will be focusing on tracking sale events from Shopify by leveraging Dub’s Shopify integration.
First, you’ll need to enable conversion tracking for your Dub links to be able to start tracking conversions.
There are a few ways to do this:
Install the Shopify app
Install the Dub Shopify App from the App Store.
Connect Shopify to your Dub workspace
After installation, you will be prompted to link one of your Dub workspaces to the app. Select Connect to establish a connection between your Shopify store and your Dub workspace.
You’ll be redirected back to your Shopify store after this step and you’ll see a list of the links in your Dub workspace:
With the Shopify app, you can also create conversion-enabled links directly from your Shopify store:
If you want a more powerful link builder, you can also use the Dub Link Builder to create conversion-enabled links.
Activate Dub Analytics Script
After installing the Dub Shopify app, the Dub Analytics script is added as an app embed. However, it needs to be activated manually to ensure it is included in your current theme.
To activate the Dub Analytics script, follow these steps:
Dub’s Shopify integration will automatically forward the following events to Dub:
orders/paid
: This event is triggered when a customer completes a purchase on your Shopify store. It is utilized to track sales that originate from Dub links.app/uninstalled
: This event occurs when the app is uninstalled from a store. It is used to remove the integration from your Dub workspace.In addition to the above, we also subscribe to the mandatory compliance webhook topics that are required by Shopify.
And that’s it – you’re all set! You can now sit back, relax, and watch your conversion revenue grow. We provide 3 different views to help you understand your conversions:
For simplicity, Dub records all sales in the native currency of the Shopify store. For example, if you’re using USD for your Shopify store, Dub will record all sales in USD – even if your customers are paying in a different currency.