Skip to main content
The Zeotap Collect Tag wraps the Web JS SDK. Every event fired by the tag ultimately translates into a Web JS method call (setEventProperties, setUserIdentities, setConsent, etc.). This page maps GTM template options to those underlying methods.

Template fields → SDK methods

GTM template fieldSDK method invoked
Tag fires with Pre Defined Properties and event matchedsetEventProperties(eventName, eventProperties)
Login Event fires with mapped identity variablessetUserIdentities({ email, cellno, loginid, ... })
User Logout event firesunsetUserIdentities()
User Attributes mapped variables on any eventsetUserProperties({ ... })
Custom Consent event firessetConsent({ track, cookieSync, identify, brandConsent })
Page View event firessetPageProperties({ ... })
For full method semantics, see the Web JS API Reference.

Reserved identity keys

The tag understands these reserved keys when mapping identity variables. Anything outside this list is treated as a custom identity and forwarded as-is. Raw PII (with Is hashing of raw identities required? checked):
  • email
  • cellno (with country code, e.g. 49 1234567890)
  • loginid
  • fpuid
Pre-hashed PII (with Are your identities hashed? checked, map a row per algorithm):
  • email_{sha256,sha1,md5}_{lowercase,uppercase}
  • cellno_without_country_code_{sha256,sha1,md5}
  • cellno_with_country_code_{sha256,sha1,md5}
  • loginid_{sha256,sha1,md5}_{lowercase,uppercase}
Custom identitiescrmID, ECID, visitorID, or any other first-party identifier. Hashing flags don’t apply. When Consent Method = Custom Consent, map these dataLayer variables in SDK Consent Signals:
SignalUnderlying Web JS fieldDescription
TracksetConsent({ track: ... })Allow event tracking
IdentifysetConsent({ identify: ... })Allow identification / ID+
Cookie SyncsetConsent({ cookieSync: ... })Allow partner cookie sync
Brand consent fields can be added under Additional Consent Settings — they’re honored regardless of consent method. For consent strategy details, see Web JS Consent Resolution.

TCF purpose IDs

Default purposes for tracking: [1, 3, 4]. See the TCF policies appendix for the full list.

Auto-captured data

The Zeotap Collect Tag automatically appends contextual data to every event payload, just like the standalone Web JS SDK:
  • Page URL, path, referrer
  • IP-derived country (overridden by User Country if set)
  • User-Agent-derived device OS, type, browser
  • zi (SDK-generated user ID)
  • gdpr_consent string (when TCF is in use)
  • GA Client ID / User ID (when GA capture is enabled)
Last modified on June 22, 2026