Import the Zeotap Collect Tag template
- From the Gallery (recommended)
- Manual import
- Log into GTM and click Templates from the left menu.
- Under Tag Templates, click Search Gallery in the top-right corner.
- Search for Zeotap Collect Tag Template and select it.
- Click Add to your workspace.
Add the tag
- Click Tags from the left menu.
- Click New and name the tag (e.g. Zeotap Collect).
- Click Tag Configuration and search for Zeotap Collect Tag Template under the Custom tab.
- Click the template to start configuring.
Configure the tag (minimum required)
In the tag configuration screen, fill these required fields:
- Write Key — paste the
write_keyfrom your GTM Source’s IMPLEMENTATION DETAILS tab. - User Country — optional ISO Alpha 3 country code. Determines storage region; defaults to IP-derived country if omitted.
- Consent Method — pick Default Opt-in, Check TCF CMP, or Custom Consent. See Consent.
Set up a trigger
The recommended trigger captures real events on the site (not GTM’s internal
gtm.load / gtm.dom).- Trigger Configuration → New.
- Choose Custom Event as the Trigger Type.
- Enter
^(?!gtm\.load)(?!gtm\.dom).*as the event name and select Use regex matching. - Select All Custom Events.
- Save and attach this trigger to the Zeotap Collect tag.
Validate in GTM Preview
- From the Tags page, click Preview in the top-right corner.
- In the Tag Assistant window, enter your site URL and click Start.
- Perform an action on the site that should trigger an event.
- Right-click → Inspect → Console tab and check the
dataLayerfor the event name. - Back in Tag Assistant, click Continue and look under Tags Fired to confirm Zeotap Collect fired.
Next steps
Configure all settings
Tracking, identities, GA, advanced.
See examples
Login event, identity capture, regex patterns.
Tag actions reference
Every option exposed by the template.
FAQ
Validation, debugging, gotchas.