When you install the Dotdigital Tag on your Shopify store, you can optionally enable web behavior tracking. We store web behavior tracking data in an Insight data collection called Webinsights. This data captures your customers' activity on your website after clicking through from one of your campaigns or browsing your store from a known Shopify customer account.
Browsing activity is captured, stored and then made available for use in creating segments, powering programs, and sending abandoned cart campaigns.
Learn more in Web behavior tracking with the Dotdigital Tag.
Script installation
There are two methods you can use to install web behavior tracking on your Shopify store:
Automatic installation (Recommended)
Using our installation wizard, the Dotdigital Tag is automatically installed on your store. To enable tracking, you only need to activate the Dotdigital app embed in your Shopify theme.
Manual installation
You can configure the Dotdigital Tag yourself and add the code snippet manually to your Shopify theme.
Enable App embeds
After installing the script, you must enable the Dotdigital app embeds in your Shopify theme to use our tracking features.
Learn more in Activate Dotdigital app embeds in Shopify.
Automatic installation
When you use the installation wizard:
Install the Dotdigital Tag on your Shopify store.
Enable the Dotdigital app embed in your Shopify theme.
That’s all that’s required to enable web behavior tracking.
Mapping an abandoned cart program is optional and only needed if you want to enroll customers into an abandoned cart automation. It is not required for installing the Dotdigital Tag or enabling web behavior tracking.
Manual installation
To manually install web behavior tracking on your Shopify store:
1. Configure the Dotdigital Tag
Learn how in Add the Dotdigital Tag to your website.
You must ensure you enable web behavior tracking when you set up your Tag.
2. Add the Tag to your site
In Shopify admin, go to Sales channels > Online Store > Themes.
Expand the Actions drop-down menu, then select Edit code.
Under Layout, select the file theme.liquid.
Before the
</head>tag, paste the Dotdigital Tag generated for you in your Dotdigital account.Select Save.
Check it's working
Once you've installed the Dotdigital Tag on your Shopify store, it can take up to one hour before you start seeing web tracking data reflected in Dotdigital.
To check you're tracking data and associating it to a contact correctly:
Send yourself an email campaign that includes a link to your store.
To learn how, check out the Email basics section of the Help Centre. This must be a live send, test sends do not track browsing sessions.Open the link from the email, and browse a few pages of your store.
Wait one hour, then, in Dotdigital, go to Audience > Contacts.
Find and select the contact you sent the campaign to.
On their Single customer view, select the Insight data tab, expand the collection type drop-down menu and select Webinsights. You can select an individual record from the left side to view it.



