Website tracking enriches your data and helps you understand your contacts' engagement.
You can use a single implementation of the Dotdigital Tag to track:
Website views
User identification
Products browsed, to power abandoned browse
Cart updates, to power abandoned cart
Purchase completions
You can also use the Tag to enable Dotdigital Chat.
Learn more about Chat.
For joint customers of Dotdigital and Fresh Relevance, you can use the Dotdigital Tag to make your tracking data available across both platforms.
Before you start
Things you need to know:
In Magento 2 version 4.33.0+, legacy tracking scripts and methods are replaced by the Dotdigital Tag.
Set up the Dotdigital Tag
You must set up the Tag in Dotdigital before you can enable it for your Magento store.
In Dotdigital, go to Connect, then select Connect website.
Select NEW CONNECTION.
Enter your website name for this connection.
In the Domains field, enter each domain that you want to track on a new line.
Don’t includehttps://orwww.. Subdomains of a specified parent domain are automatically tracked, so you don’t need to specify them separately.Select SAVE.
Under Dotdigital Tag connection settings, copy the Tag ID.
You can configure the remaining Tag settings later if you want to.
Learn more in Add the Dotdigital Tag to your website.
Enable the Tag in Magento
Go to Stores > Configuration.
Expand the Dotdigital drop-down menu, then select Configuration.
Expand the Tracking section.
For Dotdigital Tag ID, paste in the Tag ID value you copied from Dotdigital.
Optionally, you can expand the ROI Tracking drop-down menu and select Enable.
ROI tracking is used to power Direct revenue tracking. Syncing orders to Dotdigital allows you to use Advanced revenue attribution, so unless you specifically want to use Direct tracking, you don’t need to enable the ROI Tracking functionality.
Select Save Config.
