Dutchie supports the use of Google Tag Manager on embedded, storefront, and subdomain menus. Learn more in this article.
Before you begin
- You need to have permission to view and edit integrations in Dutchie E-Commerce Admin.
- You need to have an existing Google Tag Manager account with a deployed workspace not set to preview-only mode.
Locate your GTM ID in Google Tag Manager
- Log into your Google Tag Manager account
- Navigate to the workspace and locate your GTM ID near the top of the page.
- The GTM ID will have the following format: GTM-XXXXXXX.
- The GTM ID will have the following format: GTM-XXXXXXX.
- Copy the GTM ID.
Connect Dutchie E-Commerce to Google Tag Manager
- Go to Dutchie E-Commerce admin > Settings > Integrations.
- Locate and click through the Google Tag Manager tile.
- Under the Settings tab, enter your GTM ID, and click Save.
Once the connection is complete, a Connected icon will display in the corner of the tile. Note: It may take up to 5 minutes for these changes to take effect.
Supported tags
Dutchie permits the use of two classes of Tags: google and customPixels as well as the use of Google's Floodlight tags. For further understanding of the restrictions, please reference the following restrictions information: https://developers.google.com/tag-manager/web/restrict
GA4 tags managed through GTM
GA4 tags managed through GTM require some additional configuration to work correctly in our iframe.
- Follow the directions in the Google Tag Manager documentation for setting up and configuring Google Tags.
-
For GA4, the Google Analytics 4 Configuration tag must have the parameter
cookie_flagsset tosamesite=none;secureso that the GA4 cookies can be added to the browser from our iframe.
E-Commerce data
The Dutchie E-Commerce Google Tag Manager integration was built following Google's E-Commerce Guidelines.