Configure the core settings for the Zeotap Collect Tag, including Write Key, User Country, Event Key, Data Persistence, and Consent Method.
Important: Please ensure your CMP configuration includes new Vendor ID 1469 for 1st Party data tracking. Additionally, include Vendor ID 301 if cookie sync is enabled. Learn more
This is the first and most crucial step in configuring your Zeotap Collect Tag in Google Tag Manager. These settings define how the tag authenticates, handles data storage regions, identifies events, manages user identifiers across domains, and processes user consent.Carefully configure the following fields:
Purpose: Uniquely identifies your GTM-based source in your Zeotap CDP account.
Details: This key is mandatory for recording any events. You will find this write key in the source details section of your Zeotap CDP account after creating a GTM-based source.
Purpose: Specifies the ISO Alpha 3 country code (e.g., “USA”, “DEU”) to determine the geographical region for data storage.
Details: If this field is left blank, Zeotap servers will attempt to determine the region based on the user’s IP address. It is recommended to use this field if your Zeotap account is configured for specific data storage regions to ensure compliance and proper data handling.
Action: Enter the ISO Alpha 3 country code if applicable.
Purpose: Defines the key in the dataLayer object that holds the event name.
Details: If you are using Google Tag Manager’s default event key, which is event, you can leave this field empty. If your setup uses a different key to pass event names in the dataLayer (e.g., custom_event_name), specify that key here.
Action: Enter your custom dataLayer event key if not using the GTM default (event).
Purpose: Manages user identification across multiple domains or subdomains owned by your organization.
Details: When users navigate between different domains (e.g., brand.com to shop.brand.com or anotherbrand.com), user identifiers might be reset by default. To prevent this and maintain a consistent user view, enable this option.
Action: Check the Persist data in cookie storage checkbox if you operate a multi-domain website and need to track users seamlessly across these domains. This will store identifiers in cookie storage, making them accessible irrespective of the current domain.
This setting determines how the Zeotap Collect SDK handles user consent for data collection. It is crucial for compliance with privacy regulations like GDPR.
Note: Regardless of the chosen method, you have the option to send Brand Consent. “Additional Consent Settings” can be used to send TC strings and custom brand consent information.
Behavior: Sets the optOut flag in the SDK to false by default, meaning events are recorded unless an explicit opt-out is signaled.
Use Case: Select this if you manage consent through other mechanisms (e.g., server-side, API integration, file upload) and only want the GTM tag to fire for users who have already consented. The communication of consent status happens outside this GTM tag’s direct logic.
Configuration: You can use “Additional Consent Settings” to pass TC String and custom brand consent details if needed.
b) Check TCF CMP (IAB Transparency and Consent Framework)
Behavior: Sets useConsent and checkForCMP options in the SDK to true. The SDK will automatically look for a TCF-compliant Consent Management Platform (CMP) on your website. It does this by checking for the cmp.js script and the __cmp variable in the global scope. It then queries the TCF API to fetch the latest publisher consent status before recording any events on each SDK load.
Use Case: Select this if you use an IAB TCF v2.0 or v2.2 compliant CMP on your website.
Configuration:
Purposes for tracking of events: You must configure this parameter when using the GDPR consent module. This field requires you to specify a list of TCF Purpose IDs (e.g., 1,2,3) for which consent must be granted by the user for the SDK to track events. The SDK will check if the user has consented to all specified purposes.
You can also use “Additional Consent Settings” to send custom brand consent alongside TCF signals.
Behavior: Allows you to define a custom consent management logic based on signals from your dataLayer.
Use Case: Select this if you have a non-TCF CMP or a custom consent setup and want to control SDK behavior (tracking, cookie syncing) based on specific dataLayer events and variables.
Configuration: When you select “Custom Consent,” you need to specify the following in the “SDK Consent Signals” section:
Event name: Choose the dataLayer event that is pushed when your custom consent status is determined or updated (e.g., custom_consent_ready, consent_update).
Other Variables: Map dataLayer variables to control the SDK’s consent-related functionalities:
Track signal: A dataLayer variable whose value (e.g., true/false) determines if event tracking is allowed.
Cookie Sync signal: A dataLayer variable for managing cookie synchronization.
Identify signal: Deprecated not required.
Note: As with other methods, “Additional Consent Settings” can be used to send TC string and custom brand consent if needed.
These settings provide supplementary ways to send consent information to Zeotap, often used in conjunction with or as an enhancement to the primary “Consent Method” selected above.
Purpose: Enables the Zeotap Collect Tag to read and forward the IAB TCF (Transparency and Consent Framework) TC string from your Consent Management Platform (CMP) with its data collection requests.
Prerequisite: A TCF API (compliant with TCF v2.0 or v2.2) must be available on the page for the SDK to successfully read the TC string.
Behavior & Configuration:
Simply check this box if you have a TCF-compliant CMP and want the TC string to be included.
Important Note: If your primary “Consent Method” (selected above) is set to Custom Consent or Default Opt-in, and you still want to leverage TCF consent specifically for Zeotap’s cookie sync features, you must select this “Include TC String in the requests” checkbox. This ensures that even if primary tracking consent is handled differently, the TCF consent stored by Zeotap can be utilized for cookie synchronization purposes.
Purpose: Allows you to send custom consent signals specific to your brand, independent of or in addition to TCF signals. This can be used with any of the primary “Consent Method” options.
Use Case: Useful for capturing granular consent choices that are not covered by the standard TCF purposes or for proprietary consent frameworks.
Configuration:
When you check “Include brand consent in the requests,” you will typically need to configure the following:
Brand Consents Event name:
Specify the dataLayer event name that is pushed when your custom brand consent information is set or updated on the page. For example, brand_consent_updated or custom_preferences_set.
Brand Consent Key-Value Pairs:
Define the specific brand consent signals as key-value pairs. These are typically read from dataLayer variables.
Key: The name of the consent parameter (e.g., newsletter_optin, product_recommendations).
Value: The dataLayer variable that holds the user’s consent status for that key (e.g., {{dlv_newsletter_consent}}, {{dlv_product_recs_consent}} which might resolve to true/false, granted/denied, etc.).
By configuring these additional options, you can achieve a more nuanced and comprehensive approach to managing and communicating user consent through the Zeotap GTM Tag.
Purpose: Enables loading of the Interact SDK for client-side profile data delivery.
Details: When enabled, the Interact SDK is automatically loaded and initialized using the same source mapping and Write Key configured for the Web SDK.
Action: Select this option to activate the Interact SDK via the GTM template.
Stores the selected data in local storage under the Zeotap key zeoParamsStoreLocal, which the consuming platform can access on the client side. Below is the example of how to access localStorage using a custom code template in gtm.
if (typeof Storage !== "undefined") { var targetingParamStr = localStorage.getItem("zeoParamsStoreLocal"); if (targetingParamStr) { var targetingParameters = JSON.parse(targetingParamStr); // Use targetingParameters here }}
Stores the selected data in session storage under the Zeotap key zeoParamsStoreSession, which can be accessed by the consuming platform. Similar to local storage, you can push data to session storage and retrieve it as shown below.
if (typeof Storage !== "undefined") { var targetingParamStr = sessionStorage.getItem("zeoParamsStoreSession"); if (targetingParamStr) { var targetingParameters = JSON.parse(targetingParamStr); // Use targetingParameters here }}
Last modified on June 25, 2026
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Zeotap docs","colors":{"primary":"#174efb","light":"#174efb","dark":"#174efb"},"logo":{"light":"https://mintcdn.com/zeotap/pbiFRnrYXBNUsbba/logo/light.svg?fit=max\u0026auto=format\u0026n=pbiFRnrYXBNUsbba\u0026q=85\u0026s=c566b5af653699d3bcf4d8efb4f678d1","dark":"https://mintcdn.com/zeotap/pbiFRnrYXBNUsbba/logo/dark.svg?fit=max\u0026auto=format\u0026n=pbiFRnrYXBNUsbba\u0026q=85\u0026s=ae6e1d27d3d2e409f9e86c089b64e224","href":"https://zeotap.com/"},"favicon":"https://mintcdn.com/zeotap/Tg-jPUQrcrgXsHVA/favicon.svg?fit=max\u0026auto=format\u0026n=Tg-jPUQrcrgXsHVA\u0026q=85\u0026s=f5b2731a91bf6cad0fe370680ebae4fe","appearance":{"default":"light"},"background":{"decoration":"gradient","color":{"light":"#eaf0fe"}},"navbar":{"links":[{"href":"https://login.zeotap.com/","label":"Login"}],"primary":{"type":"button","label":"Book a Demo","href":"https://zeotap.com/demo/"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/zeotap"}},"seo":{"indexing":"all"},"integrations":{"ga4":{"measurementId":"G-XXXXXXXXXX"}},"banner":{"content":"New: [Support \u0026 Diagnostics](/articles/support-diagnostics-customer/support-diagnostics) troubleshooting guides are now live.","dismissible":true},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":true},"navigation":{"global":{},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"zeotap","hasAudioNarration":false,"actualSubdomain":"zeotap","customDomains":["docs.zeotap.com"],"gitSource":{"type":"github","owner":"zeotap","repo":"zeotap-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aedbf31f8ed849a5c7dc2cc","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"Products","count":354},{"language":"default","tag":"Integrate","count":215},{"language":"default","tag":"SDKs","count":157},{"language":"default","tag":"Destinations","count":150},{"language":"default","tag":"Batch Integrations","count":97},{"language":"default","tag":"Sources","count":65},{"language":"default","tag":"Unify","count":65},{"language":"default","tag":"Source Integrations (Batch+Real-Time)","count":54},{"language":"default","tag":"Release Notes","count":54},{"language":"default","tag":"Catalogue","count":48}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"articles/sdks/gtm/setup-guide/configuration/initialisation","slug":"/articles/sdks/gtm/setup-guide/configuration/initialisation","pageMetadata":{"title":"1. Initialization Options","description":"Configure the core settings for the Zeotap Collect Tag, including Write Key, User Country, Event Key, Data Persistence, and Consent Method.","href":"/articles/sdks/gtm/setup-guide/configuration/initialisation"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Configure the core settings for the Zeotap Collect Tag, including Write Key, User Country, Event Key, Data Persistence, and Consent Method.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,OptimizedImage,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Important:`}),` Please ensure your CMP configuration includes new `,_jsx(_components.strong,{children:`Vendor ID 1469`}),` for 1st Party data tracking. Additionally, include `,_jsx(_components.strong,{children:`Vendor ID 301`}),` if cookie sync is enabled. `,_jsx(_components.a,{href:`/articles/sdks/web-js/configurations/consent-options#shouldcheckzeotapvendorconsent`,children:`Learn more`})]})}),`\n`,_jsx(_components.p,{children:`This is the first and most crucial step in configuring your Zeotap Collect Tag in Google Tag Manager. These settings define how the tag authenticates, handles data storage regions, identifies events, manages user identifiers across domains, and processes user consent.`}),`\n`,_jsx(_components.p,{children:`Carefully configure the following fields:`}),`\n`,_jsx(Heading,{level:`2`,id:`basic-configuration`,children:`Basic Configuration`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_BasicConfig.png?fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=7aa34ad1181dbfe83bb5391115d5ff33`,alt:`Basic Configurations`,\"data-og-width\":`3456`,width:`3456`,\"data-og-height\":`1436`,height:`1436`,\"data-path\":`images/sdks/GTM/GTM_BasicConfig.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_BasicConfig.png?w=280\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=36afbb6ffc62b1937760330c182f1ec0 280w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_BasicConfig.png?w=560\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=7a302899b3fd090110cdaf8c22a45533 560w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_BasicConfig.png?w=840\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=945edb2ae09f87d2de6e45cc801e17e6 840w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_BasicConfig.png?w=1100\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=6c0740a081a6a93464d67b0d25093d26 1100w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_BasicConfig.png?w=1650\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=68fed812d747362806da944d14559d91 1650w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_BasicConfig.png?w=2500\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=0c868ee8e5beb2d473052122e35ad2ec 2500w`}),`\n`,_jsx(Heading,{level:`3`,id:`write-key`,children:`Write Key`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Purpose`}),`: Uniquely identifies your GTM-based source in your Zeotap CDP account.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Details`}),`: This key is `,_jsx(_components.strong,{children:`mandatory`}),` for recording any events. You will find this write key in the source details section of your Zeotap CDP account after creating a GTM-based source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Action`}),`: Enter the provided Write Key.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`user-country`,children:`User Country`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Purpose`}),`: Specifies the ISO Alpha 3 country code (e.g., “USA”, “DEU”) to determine the geographical region for data storage.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Details`}),`: If this field is left blank, Zeotap servers will attempt to determine the region based on the user’s IP address. It is recommended to use this field if your Zeotap account is configured for specific data storage regions to ensure compliance and proper data handling.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Action`}),`: Enter the ISO Alpha 3 country code if applicable.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`event-key`,children:`Event Key`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Purpose`}),`: Defines the key in the `,_jsx(_components.code,{children:`dataLayer`}),` object that holds the event name.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Details`}),`: If you are using Google Tag Manager’s default event key, which is `,_jsx(_components.code,{children:`event`}),`, you can leave this field empty. If your setup uses a different key to pass event names in the dataLayer (e.g., `,_jsx(_components.code,{children:`custom_event_name`}),`), specify that key here.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Action`}),`: Enter your custom dataLayer event key if not using the GTM default (`,_jsx(_components.code,{children:`event`}),`).`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`data-persistence`,children:`Data Persistence`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Purpose`}),`: Manages user identification across multiple domains or subdomains owned by your organization.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Details`}),`: When users navigate between different domains (e.g., `,_jsx(_components.code,{children:`brand.com`}),` to `,_jsx(_components.code,{children:`shop.brand.com`}),` or `,_jsx(_components.code,{children:`anotherbrand.com`}),`), user identifiers might be reset by default. To prevent this and maintain a consistent user view, enable this option.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Action`}),`: Check the `,_jsx(_components.strong,{children:`Persist data in cookie storage`}),` checkbox if you operate a multi-domain website and need to track users seamlessly across these domains. This will store identifiers in cookie storage, making them accessible irrespective of the current domain.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`consent-method`,children:`Consent Method`}),`\n`,_jsx(_components.p,{children:`This setting determines how the Zeotap Collect SDK handles user consent for data collection. It is crucial for compliance with privacy regulations like GDPR.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Note`}),`: Regardless of the chosen method, you have the option to send Brand Consent. “Additional Consent Settings” can be used to send TC strings and custom brand consent information.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Choose one of the following options:`}),`\n`,_jsx(Heading,{level:`3`,id:`a-default-opt-in`,children:`a) Default Opt-in`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_DefaultConsent.png?fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=e52989dfeadef99bd8de8fac0662f874`,alt:`Default Consent`,\"data-og-width\":`3456`,width:`3456`,\"data-og-height\":`1108`,height:`1108`,\"data-path\":`images/sdks/GTM/GTM_DefaultConsent.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_DefaultConsent.png?w=280\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=6085d1c54bc0fd897d7abf39620ddc46 280w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_DefaultConsent.png?w=560\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=f2edb59fa169f6a254ea2adbcd07a230 560w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_DefaultConsent.png?w=840\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=220fcaf9bbbdf3e81884b805f0ea1f48 840w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_DefaultConsent.png?w=1100\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=3210fc94aec3eb68787b9f7e4b3c5fc0 1100w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_DefaultConsent.png?w=1650\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=813c0736c6495f50dec827ff27d9ad75 1650w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_DefaultConsent.png?w=2500\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=e83dc4d59e019bfc3beb5ba64691ff94 2500w`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Behavior`}),`: Sets the `,_jsx(_components.code,{children:`optOut`}),` flag in the SDK to `,_jsx(_components.code,{children:`false`}),` by default, meaning events are recorded unless an explicit opt-out is signaled.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Use Case`}),`: Select this if you manage consent through other mechanisms (e.g., server-side, API integration, file upload) and only want the GTM tag to fire for users who have already consented. The communication of consent status happens outside this GTM tag’s direct logic.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Configuration`}),`: You can use “Additional Consent Settings” to pass TC String and custom brand consent details if needed.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`b-check-tcf-cmp-iab-transparency-and-consent-framework`,children:`b) Check TCF CMP (IAB Transparency and Consent Framework)`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_GDPRConsent.png?fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=a6f8cb690d987031f7d7059968c55f66`,alt:`TCF Consent`,\"data-og-width\":`3456`,width:`3456`,\"data-og-height\":`1708`,height:`1708`,\"data-path\":`images/sdks/GTM/GTM_GDPRConsent.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_GDPRConsent.png?w=280\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=b231d46e5cd6d427284deffb37134347 280w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_GDPRConsent.png?w=560\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=18e0c3016c8d39e03f41726c458f7f90 560w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_GDPRConsent.png?w=840\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=04c9298d25c99c4be5fd7ebc5e7a49dc 840w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_GDPRConsent.png?w=1100\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=76e12a1a2027b238b73f8d70fe5650f8 1100w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_GDPRConsent.png?w=1650\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=43e875888640a63356332737c792dab1 1650w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_GDPRConsent.png?w=2500\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=2ed3cd2dd66444eaa0c5f1ef19f90c1c 2500w`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Behavior`}),`: Sets `,_jsx(_components.code,{children:`useConsent`}),` and `,_jsx(_components.code,{children:`checkForCMP`}),` options in the SDK to `,_jsx(_components.code,{children:`true`}),`. The SDK will automatically look for a TCF-compliant Consent Management Platform (CMP) on your website. It does this by checking for the `,_jsx(_components.code,{children:`cmp.js`}),` script and the `,_jsx(_components.code,{children:`__cmp`}),` variable in the global scope. It then queries the TCF API to fetch the latest publisher consent status before recording any events on each SDK load.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Use Case`}),`: Select this if you use an IAB TCF v2.0 or v2.2 compliant CMP on your website.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Configuration`}),`:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Purposes for tracking of events`}),`: You `,_jsx(_components.strong,{children:`must`}),` configure this parameter when using the GDPR consent module. This field requires you to specify a list of TCF Purpose IDs (e.g., `,_jsx(_components.code,{children:`1,2,3`}),`) for which consent must be granted by the user for the SDK to track events. The SDK will check if the user has consented to `,_jsx(_components.em,{children:`all`}),` specified purposes.`]}),`\n`,_jsx(_components.li,{children:`You can also use “Additional Consent Settings” to send custom brand consent alongside TCF signals.`}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`c-custom-consent`,children:`c) Custom Consent`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_CustomConsent.png?fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=d05ae3ee4492669f1615b28e9ce0e4e9`,alt:`Custom Consent`,\"data-og-width\":`3456`,width:`3456`,\"data-og-height\":`1768`,height:`1768`,\"data-path\":`images/sdks/GTM/GTM_CustomConsent.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_CustomConsent.png?w=280\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=97d9200bc0686547915bc8c8a3c0c0ce 280w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_CustomConsent.png?w=560\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=c87c9f7f36acfbf5a3a08ff84dfde339 560w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_CustomConsent.png?w=840\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=fb3d732191c61a15eebdfca0e38180cb 840w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_CustomConsent.png?w=1100\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=22fc318f82b8db366a9ce2730eeed578 1100w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_CustomConsent.png?w=1650\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=5e1435b1f6616c2637dc5ce7ef09fbca 1650w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_CustomConsent.png?w=2500\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=f0358a46a1cebff825cfefa4a55f96ab 2500w`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Behavior`}),`: Allows you to define a custom consent management logic based on signals from your `,_jsx(_components.code,{children:`dataLayer`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Use Case`}),`: Select this if you have a non-TCF CMP or a custom consent setup and want to control SDK behavior (tracking, cookie syncing) based on specific dataLayer events and variables.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Configuration`}),`: When you select “Custom Consent,” you need to specify the following in the “SDK Consent Signals” section:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Event name`}),`: Choose the dataLayer event that is pushed when your custom consent status is determined or updated (e.g., `,_jsx(_components.code,{children:`custom_consent_ready`}),`, `,_jsx(_components.code,{children:`consent_update`}),`).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Other Variables`}),`: Map dataLayer variables to control the SDK’s consent-related functionalities:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Track`}),` signal: A dataLayer variable whose value (e.g., `,_jsx(_components.code,{children:`true`}),`/`,_jsx(_components.code,{children:`false`}),`) determines if event tracking is allowed.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Cookie Sync`}),` signal: A dataLayer variable for managing cookie synchronization.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Identify`}),` signal: Deprecated not required.`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Note`}),`: As with other methods, “Additional Consent Settings” can be used to send TC string and custom brand consent if needed.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`additional-consent-options`,children:`Additional Consent Options`}),`\n`,_jsx(_components.p,{children:`These settings provide supplementary ways to send consent information to Zeotap, often used in conjunction with or as an enhancement to the primary “Consent Method” selected above.`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_AdditionalConsent.png?fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=bb6215857e8801e30ddd1deaafc7f0a5`,alt:`Additional Consent`,\"data-og-width\":`3456`,width:`3456`,\"data-og-height\":`1418`,height:`1418`,\"data-path\":`images/sdks/GTM/GTM_AdditionalConsent.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_AdditionalConsent.png?w=280\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=87da80eb3046103b15dbd09fe1ee32c8 280w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_AdditionalConsent.png?w=560\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=e37778b4b797e515437cefad63a3d097 560w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_AdditionalConsent.png?w=840\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=a296e875eebb7f79d4e32ea30fc9b9f4 840w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_AdditionalConsent.png?w=1100\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=1aec5fdb31186edc84ce774dd4a3d4f3 1100w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_AdditionalConsent.png?w=1650\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=64505ff95d5f61419e950756b617162d 1650w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_AdditionalConsent.png?w=2500\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=9cc9bc268f8d9d9cbdad687639d3ec1e 2500w`}),`\n`,_jsx(Heading,{level:`4`,id:`1-include-tc-string-in-the-requests`,children:`1. Include TC String in the requests`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Purpose`}),`: Enables the Zeotap Collect Tag to read and forward the IAB TCF (Transparency and Consent Framework) TC string from your Consent Management Platform (CMP) with its data collection requests.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Prerequisite`}),`: A TCF API (compliant with TCF v2.0 or v2.2) must be available on the page for the SDK to successfully read the TC string.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Behavior \u0026 Configuration`}),`:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Simply check this box if you have a TCF-compliant CMP and want the TC string to be included.`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Important Note`}),`: If your primary “Consent Method” (selected above) is set to `,_jsx(_components.strong,{children:`Custom Consent`}),` or `,_jsx(_components.strong,{children:`Default Opt-in`}),`, and you still want to leverage TCF consent specifically for Zeotap’s cookie sync features, you must select this “Include TC String in the requests” checkbox. This ensures that even if primary tracking consent is handled differently, the TCF consent stored by Zeotap can be utilized for cookie synchronization purposes.`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`4`,id:`2-include-brand-consent-in-the-requests`,children:`2. Include brand consent in the requests`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Purpose`}),`: Allows you to send custom consent signals specific to your brand, independent of or in addition to TCF signals. This can be used with any of the primary “Consent Method” options.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Use Case`}),`: Useful for capturing granular consent choices that are not covered by the standard TCF purposes or for proprietary consent frameworks.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Configuration`}),`:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`When you check “Include brand consent in the requests,” you will typically need to configure the following:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Brand Consents Event name`}),`:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Specify the `,_jsx(_components.code,{children:`dataLayer`}),` event name that is pushed when your custom brand consent information is set or updated on the page. For example, `,_jsx(_components.code,{children:`brand_consent_updated`}),` or `,_jsx(_components.code,{children:`custom_preferences_set`}),`.`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Brand Consent Key-Value Pairs`}),`:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Define the specific brand consent signals as key-value pairs. These are typically read from `,_jsx(_components.code,{children:`dataLayer`}),` variables.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Key`}),`: The name of the consent parameter (e.g., `,_jsx(_components.code,{children:`newsletter_optin`}),`, `,_jsx(_components.code,{children:`product_recommendations`}),`).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Value`}),`: The `,_jsx(_components.code,{children:`dataLayer`}),` variable that holds the user’s consent status for that key (e.g., `,_jsx(_components.code,{children:`{{dlv_newsletter_consent}}`}),`, `,_jsx(_components.code,{children:`{{dlv_product_recs_consent}}`}),` which might resolve to `,_jsx(_components.code,{children:`true`}),`/`,_jsx(_components.code,{children:`false`}),`, `,_jsx(_components.code,{children:`granted`}),`/`,_jsx(_components.code,{children:`denied`}),`, etc.).`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`By configuring these additional options, you can achieve a more nuanced and comprehensive approach to managing and communicating user consent through the Zeotap GTM Tag.`}),`\n`,_jsx(Heading,{level:`2`,id:`interact-sdk`,children:`Interact SDK`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_InteractSDK.png?fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=48d50fc70d0062d9a0dadcec493ad7df`,alt:`Interact SDK`,\"data-og-width\":`3456`,width:`3456`,\"data-og-height\":`1986`,height:`1986`,\"data-path\":`images/sdks/GTM/GTM_InteractSDK.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_InteractSDK.png?w=280\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=a5e22f99486d4355761db6890aa7ccf3 280w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_InteractSDK.png?w=560\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=7b29e98221a7aeb9629187070e9e518d 560w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_InteractSDK.png?w=840\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=837ff7dd77e8c72df15087a48ea02592 840w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_InteractSDK.png?w=1100\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=3a3f216ac9eb1f2e4683a46b25b62792 1100w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_InteractSDK.png?w=1650\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=40e70bbf604e607ff28b7950f7bf63ab 1650w, https://mintcdn.com/zeotap/_jDQXKFOoelgbJD8/images/sdks/GTM/GTM_InteractSDK.png?w=2500\u0026fit=max\u0026auto=format\u0026n=_jDQXKFOoelgbJD8\u0026q=85\u0026s=bb1542c1f262bbe6e40d8bace51ccf0c 2500w`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Purpose`}),`: Enables loading of the Interact SDK for client-side profile data delivery.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Details`}),`: When enabled, the Interact SDK is automatically loaded and initialized using the same source mapping and Write Key configured for the Web SDK.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Action`}),`: Select this option to activate the Interact SDK via the GTM template.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`retrieving-data-on-the-client-side-based-on-configured-“data-to-send”-for-an-interaction`,children:`Retrieving Data on the Client Side Based on Configured “Data to send” for an Interaction`}),`\n`,_jsx(_components.p,{children:`You can access the Interact SDK output in one of three ways:`}),`\n`,_jsx(Heading,{level:`4`,id:`1-local-storage`,children:`1. Local Storage`}),`\n`,_jsxs(_components.p,{children:[`Stores the selected data in local storage under the Zeotap key `,_jsx(_components.code,{children:`zeoParamsStoreLocal`}),`, which the consuming platform can access on the client side. Below is the example of how to access localStorage using a custom code template in gtm.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`typeof`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Storage`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` !==`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"undefined\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` targetingParamStr`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` localStorage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getItem`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"zeoParamsStoreLocal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`targetingParamStr`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` targetingParameters`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`parse`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`targetingParamStr`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Use targetingParameters here`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`4`,id:`2-session-storage`,children:`2. Session Storage`}),`\n`,_jsxs(_components.p,{children:[`Stores the selected data in session storage under the Zeotap key `,_jsx(_components.code,{children:`zeoParamsStoreSession`}),`, which can be accessed by the consuming platform. Similar to local storage, you can push data to session storage and retrieve it as shown below.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`typeof`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Storage`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` !==`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"undefined\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` targetingParamStr`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` sessionStorage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getItem`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"zeoParamsStoreSession\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`targetingParamStr`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` targetingParameters`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`parse`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`targetingParamStr`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Use targetingParameters here`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"1. Initialization Options","description":"Configure the core settings for the Zeotap Collect Tag, including Write Key, User Country, Event Key, Data Persistence, and Consent Method.","href":"/articles/sdks/gtm/setup-guide/configuration/initialisation"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Basic Configuration","slug":"basic-configuration","depth":2,"children":[{"title":"Write Key","slug":"write-key","depth":3,"children":[]},{"title":"User Country","slug":"user-country","depth":3,"children":[]},{"title":"Event Key","slug":"event-key","depth":3,"children":[]},{"title":"Data Persistence","slug":"data-persistence","depth":3,"children":[]}]},{"title":"Consent Method","slug":"consent-method","depth":2,"children":[{"title":"a) Default Opt-in","slug":"a-default-opt-in","depth":3,"children":[]},{"title":"b) Check TCF CMP (IAB Transparency and Consent Framework)","slug":"b-check-tcf-cmp-iab-transparency-and-consent-framework","depth":3,"children":[]},{"title":"c) Custom Consent","slug":"c-custom-consent","depth":3,"children":[]},{"title":"Additional Consent Options","slug":"additional-consent-options","depth":3,"children":[]},{"title":"1. Include TC String in the requests","slug":"1-include-tc-string-in-the-requests","depth":4,"children":[]},{"title":"2. Include brand consent in the requests","slug":"2-include-brand-consent-in-the-requests","depth":4,"children":[]}]},{"title":"Interact SDK","slug":"interact-sdk","depth":2,"children":[{"title":"Retrieving Data on the Client Side Based on Configured “Data to send” for an Interaction","slug":"retrieving-data-on-the-client-side-based-on-configured-“data-to-send”-for-an-interaction","depth":3,"children":[]},{"title":"1. Local Storage","slug":"1-local-storage","depth":4,"children":[]},{"title":"2. Session Storage","slug":"2-session-storage","depth":4,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/zeotap/8d1f66bf8eed64a4/scripts/convert-to-mdx.js"],"subdomain":"zeotap","siteName":"Zeotap docs","title":"1. Initialization Options - Zeotap docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-25T08:21:55.134Z","gitLastModified":"2026-06-25T08:20:38.000Z","originalFileLocation":"articles/sdks/gtm/setup-guide/configuration/initialisation.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Configure the core settings for the Zeotap Collect Tag, including Write Key, User Country, Event Key, Data Persistence, and Consent Method.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Zeotap docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/zeotap/dSUuokAmJ7V-SYpL/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/zeotap/dSUuokAmJ7V-SYpL/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/zeotap/dSUuokAmJ7V-SYpL/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/zeotap/dSUuokAmJ7V-SYpL/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/zeotap/dSUuokAmJ7V-SYpL/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/zeotap/dSUuokAmJ7V-SYpL/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/zeotap/dSUuokAmJ7V-SYpL/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/zeotap/dSUuokAmJ7V-SYpL/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/zeotap/dSUuokAmJ7V-SYpL/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"1. Initialization Options - Zeotap docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Configure the core settings for the Zeotap Collect Tag, including Write Key, User Country, Event Key, Data Persistence, and Consent Method.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Zeotap docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.zeotap.com/articles/sdks/gtm/setup-guide/configuration/initialisation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://zeotap.mintlify.site/_mintlify/api/og/v2?division=Step+3+-+Configuration\u0026amp;title=1.+Initialization+Options\u0026amp;description=Configure+the+core+settings+for+the+Zeotap+Collect+Tag%2C+including+Write+Key%2C+User+Country%2C+Event+Key%2C+Data+Persistence%2C+and+Consent+Method.\u0026amp;theme=860bb9e6ef8e2213f794d7e2\u0026amp;signature=c4c7e90c8253de7abb47eb909ade8147f6b97960a35af0e0b3ceebab431b18f4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"1. Initialization Options - Zeotap docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Configure the core settings for the Zeotap Collect Tag, including Write Key, User Country, Event Key, Data Persistence, and Consent Method.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://zeotap.mintlify.site/_mintlify/api/og/v2?division=Step+3+-+Configuration\u0026amp;title=1.+Initialization+Options\u0026amp;description=Configure+the+core+settings+for+the+Zeotap+Collect+Tag%2C+including+Write+Key%2C+User+Country%2C+Event+Key%2C+Data+Persistence%2C+and+Consent+Method.\u0026amp;theme=860bb9e6ef8e2213f794d7e2\u0026amp;signature=c4c7e90c8253de7abb47eb909ade8147f6b97960a35af0e0b3ceebab431b18f4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/zeotap/dSUuokAmJ7V-SYpL/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Zeotap docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#174efb\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.zeotap.com/articles/sdks/gtm/setup-guide/configuration/initialisation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/articles/sdks/gtm/setup-guide/configuration/initialisation.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.zeotap.com/#organization\",\"name\":\"Zeotap docs\",\"url\":\"https://docs.zeotap.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/zeotap/pbiFRnrYXBNUsbba/logo/light.svg?fit=max\u0026auto=format\u0026n=pbiFRnrYXBNUsbba\u0026q=85\u0026s=c566b5af653699d3bcf4d8efb4f678d1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.zeotap.com#website\",\"name\":\"Zeotap docs\",\"url\":\"https://docs.zeotap.com\",\"publisher\":{\"@id\":\"https://docs.zeotap.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.zeotap.com/articles/sdks/gtm/setup-guide/configuration/initialisation#webpage\",\"url\":\"https://docs.zeotap.com/articles/sdks/gtm/setup-guide/configuration/initialisation\",\"name\":\"1. Initialization Options\",\"description\":\"Configure the core settings for the Zeotap Collect Tag, including Write Key, User Country, Event Key, Data Persistence, and Consent Method.\",\"dateModified\":\"2026-06-25T08:20:38.000Z\",\"isPartOf\":{\"@id\":\"https://docs.zeotap.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.zeotap.com/articles/sdks/gtm/setup-guide/configuration/initialisation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.zeotap.com/articles/sdks/gtm/setup-guide/configuration/initialisation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Google Tag Manager\",\"item\":\"https://docs.zeotap.com/articles/sdks/gtm/intro\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Setup Guide\",\"item\":\"https://docs.zeotap.com/articles/sdks/gtm/setup-guide/import-template-to-gtm\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Step 3 - Configuration\",\"item\":\"https://docs.zeotap.com/articles/sdks/gtm/setup-guide/configuration/overview\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"1. Initialization Options\",\"item\":\"https://docs.zeotap.com/articles/sdks/gtm/setup-guide/configuration/initialisation\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.zeotap.com/articles/sdks/gtm/setup-guide/configuration/initialisation#article\",\"headline\":\"1. Initialization Options\",\"name\":\"1. Initialization Options\",\"description\":\"Configure the core settings for the Zeotap Collect Tag, including Write Key, User Country, Event Key, Data Persistence, and Consent Method.\",\"url\":\"https://docs.zeotap.com/articles/sdks/gtm/setup-guide/configuration/initialisation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.zeotap.com/articles/sdks/gtm/setup-guide/configuration/initialisation#webpage\"},\"dateModified\":\"2026-06-25T08:20:38.000Z\",\"publisher\":{\"@id\":\"https://docs.zeotap.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.zeotap.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Zeotap docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Zeotap docs","nav":{"global":{},"tabs":[{"tab":"Home","icon":"house","pages":[{"title":"Home","href":""}]},{"tab":"Products","icon":"grid-2","pages":[{"title":"Products","href":"/articles/integrate-customer/integrate"}]},{"tab":"SDKs","icon":"code","groups":[{"group":"Overview","icon":"compass","pages":[{"title":"Zeotap SDKs","href":"/articles/sdks/overview"}]},{"group":"Web JavaScript SDK","icon":"browser","pages":[{"title":"Introduction to Zeotap SDK","href":"/articles/sdks/web-js/intro"},{"title":"Quick Start Guide","href":"/articles/sdks/web-js/quick-start"},{"group":"Configurations","icon":"sliders","pages":[{"title":"Configurations","href":"/articles/sdks/web-js/configurations/overview"},{"title":"Write Key","href":"/articles/sdks/web-js/configurations/write-key"},{"title":"PII Hashing Configuration","href":"/articles/sdks/web-js/configurations/hashing"},{"title":"Consent Configuration Options","href":"/articles/sdks/web-js/configurations/consent-options"},{"title":"persistenceInCookieStorage","href":"/articles/sdks/web-js/configurations/persistence-in-cookie-storage"},{"title":"ID5 Integration","href":"/articles/sdks/web-js/configurations/id5"},{"title":"allowCookieSync","href":"/articles/sdks/web-js/configurations/allow-cookie-sync"},{"title":"Consent Based cookie syncing","href":"/articles/sdks/web-js/configurations/partner-consent-key-map"}]},{"group":"Guides \u0026 References","icon":"code","pages":[{"title":"Tracking User Identities","href":"/articles/sdks/web-js/api-reference/set-user-identities"},{"title":"Tracking Page Views","href":"/articles/sdks/web-js/api-reference/set-page-properties"},{"title":"Tracking User Actions","href":"/articles/sdks/web-js/api-reference/set-event-properties"},{"title":"Setting User Properties","href":"/articles/sdks/web-js/api-reference/set-user-properties"},{"title":"Tracking User Consent","href":"/articles/sdks/web-js/api-reference/set-consent"},{"title":"Logout communication","href":"/articles/sdks/web-js/api-reference/unset-user-identities"}]},{"title":"Interact SDK","href":"/articles/sdks/web-js/interact"},{"group":"Consent Resolution","icon":"shield-check","pages":[{"title":"Choosing a Consent Strategy","href":"/articles/sdks/web-js/consent/consent-strategy"},{"title":"Default Behavior (No Explicit Consent Management)","href":"/articles/sdks/web-js/consent/default"},{"title":"TCF v2.x / GDPR Compliance","href":"/articles/sdks/web-js/consent/gdpr"},{"title":"Custom Consent Management","href":"/articles/sdks/web-js/consent/custom-consent"}]},{"title":"Examples","href":"/articles/sdks/web-js/examples"},{"group":"FAQ","icon":"circle-question","pages":[{"title":"How to send cellno","href":"/articles/sdks/web-js/faq/how-to-send-cellno"},{"title":"All about cookie syncing","href":"/articles/sdks/web-js/faq/cookie-sync"}]},{"group":"Release Notes","icon":"clock-rotate-left","pages":[{"title":"Release Notes","href":"/articles/sdks/web-js/release-notes/overview"},{"title":"Version 4.4.4","href":"/articles/sdks/web-js/release-notes/v4.4.4"}]}]},{"group":"Google Tag Manager","icon":"google","pages":[{"title":"Introduction to Zeotap GTM Tag","href":"/articles/sdks/gtm/intro"},{"group":"Setup Guide","icon":"list-check","pages":[{"title":"Step 1 - Importing Zeotap Tag template via GTM Gallery","href":"/articles/sdks/gtm/setup-guide/import-template-to-gtm"},{"title":"Step 2 - Adding the Zeotap Collect Tag","href":"/articles/sdks/gtm/setup-guide/add-tag-to-gtm"},{"group":"Step 3 - Configuration","icon":"sliders","pages":[{"title":"Tag Configuration Overview","description":null,"href":"/articles/sdks/gtm/setup-guide/configuration/overview"},{"title":"1. Initialization Options","href":"/articles/sdks/gtm/setup-guide/configuration/initialisation"},{"title":"2. Tracking Page Views and Events","description":"Configure how the Zeotap Collect Tag tracks page views and custom events, including event name matching, special event handling, and property management.","href":"/articles/sdks/gtm/setup-guide/configuration/tracking"},{"title":"3. Login and Identity Settings","href":"/articles/sdks/gtm/setup-guide/configuration/login"},{"title":"4. Google Analytics Configuration","href":"/articles/sdks/gtm/setup-guide/configuration/google-analytics"},{"title":"5. ID5 Integration","href":"/articles/sdks/gtm/setup-guide/configuration/id5"}]},{"title":"Step 4 - Set Up the Trigger","href":"/articles/sdks/gtm/setup-guide/triggers"},{"title":"Step 5 - Validate the Configured Collect Tag","href":"/articles/sdks/gtm/setup-guide/validation"}]}]},{"group":"Adobe Launch","icon":"rocket","pages":[{"title":"Adobe Launch Integration Overview","href":"/articles/sdks/adobe-launch/intro"},{"title":"Installing the Zeotap Collect Extension","href":"/articles/sdks/adobe-launch/installation"},{"title":"Configuring the Zeotap Collect Extension","href":"/articles/sdks/adobe-launch/configure"},{"group":"Setting up Actions","icon":"bolt","pages":[{"title":"Setting Up Actions","href":"/articles/sdks/adobe-launch/actions/overview"},{"title":"Track Event","href":"/articles/sdks/adobe-launch/actions/track-events"},{"title":"Sync User Identity","href":"/articles/sdks/adobe-launch/actions/sync-user-identity"},{"title":"Set Custom Consent","href":"/articles/sdks/adobe-launch/actions/set-custom-consent"}]}]},{"group":"iOS SDK","icon":"apple","pages":[{"title":"Introduction to Zeotap Collect iOS SDK","href":"/articles/sdks/ios/intro"},{"title":"Quick Start Guide","href":"/articles/sdks/ios/quick-start"},{"group":"Configurations","icon":"sliders","pages":[{"title":"Configurations","href":"/articles/sdks/ios/configurations/overview"},{"title":"Write Key","href":"/articles/sdks/ios/configurations/write-key"},{"title":"PII Hashing Configuration","href":"/articles/sdks/ios/configurations/hashing"},{"title":"Consent Configuration Options","href":"/articles/sdks/ios/configurations/consent-options"}]},{"group":"Guides \u0026 References","icon":"code","pages":[{"title":"Track User Identities","href":"/articles/sdks/ios/api-reference/set-user-identities"},{"title":"Track Page View Events","href":"/articles/sdks/ios/api-reference/set-page-properties"},{"title":"Track User Events","href":"/articles/sdks/ios/api-reference/track"},{"title":"Setting User Properties","href":"/articles/sdks/ios/api-reference/set-user-properties"},{"title":"Track User Consent","href":"/articles/sdks/ios/api-reference/set-consent"},{"title":"Pause Collection","href":"/articles/sdks/ios/api-reference/pause-collection"},{"title":"Resume Collection","href":"/articles/sdks/ios/api-reference/resume-collection"},{"title":"Remove User Identities","href":"/articles/sdks/ios/api-reference/unset-user-identities"},{"title":"Collect Advertising ID (IDFA)","href":"/articles/sdks/ios/api-reference/collect-advertising-id"}]},{"group":"Consent Resolution","icon":"shield-check","pages":[{"title":"Choosing a Consent Strategy","href":"/articles/sdks/ios/consent/consent-strategy"},{"title":"Default Behavior (No Explicit Consent Management)","href":"/articles/sdks/ios/consent/default"},{"title":"TCF v2.x / GDPR Compliance","href":"/articles/sdks/ios/consent/gdpr"},{"title":"Custom Consent Management","href":"/articles/sdks/ios/consent/custom-consent"}]},{"title":"Implementation Examples","href":"/articles/sdks/ios/examples"},{"group":"Release Notes","icon":"clock-rotate-left","pages":[{"title":"Release Notes","href":"/articles/sdks/ios/release-notes/overview"},{"title":"Version 1.3.10","href":"/articles/sdks/ios/release-notes/v1.3.10"},{"title":"Version 1.3.9","href":"/articles/sdks/ios/release-notes/v1.3.9"},{"title":"Version 1.3.8","href":"/articles/sdks/ios/release-notes/v1.3.8"},{"title":"Version 1.3.7","href":"/articles/sdks/ios/release-notes/v1.3.7"},{"title":"Version 1.3.6","href":"/articles/sdks/ios/release-notes/v1.3.6"},{"title":"Version 1.3.4","href":"/articles/sdks/ios/release-notes/v1.3.4"},{"title":"Version 1.3.3","href":"/articles/sdks/ios/release-notes/v1.3.3"},{"title":"Version 1.3.2","href":"/articles/sdks/ios/release-notes/v1.3.2"},{"title":"Version 1.3.0","href":"/articles/sdks/ios/release-notes/v1.3.0"},{"title":"Version 1.2.0","href":"/articles/sdks/ios/release-notes/v1.2.0"},{"title":"Version 1.0.1","href":"/articles/sdks/ios/release-notes/v1.0.1"},{"title":"Version 1.0.0","href":"/articles/sdks/ios/release-notes/v1.0.0"}]}]},{"group":"Android SDK","icon":"android","pages":[{"title":"Introduction to Zeotap Collect Android SDK","href":"/articles/sdks/android/intro"},{"title":"Quick Start Guide","href":"/articles/sdks/android/quick-start"},{"group":"Configurations","icon":"sliders","pages":[{"title":"Configurations","href":"/articles/sdks/android/configurations/overview"},{"title":"Write Key","href":"/articles/sdks/android/configurations/write-key"},{"title":"PII Hashing Configuration","href":"/articles/sdks/android/configurations/hashing"},{"title":"Consent Configuration Options","href":"/articles/sdks/android/configurations/consent-options"}]},{"group":"API Reference","icon":"code","pages":[{"title":"Track User Identities","href":"/articles/sdks/android/api-reference/set-user-identities"},{"title":"Track Page View Events","href":"/articles/sdks/android/api-reference/set-page-properties"},{"title":"Track Events","href":"/articles/sdks/android/api-reference/set-event-properties"},{"title":"Track Instant Event","href":"/articles/sdks/android/api-reference/set-instant-event-properties"},{"title":"Track User Properties","href":"/articles/sdks/android/api-reference/set-user-properties"},{"title":"Track User Consent","href":"/articles/sdks/android/api-reference/set-consent"},{"title":"Remove User Identities","href":"/articles/sdks/android/api-reference/unset-user-identities"},{"title":"Pause Collection","href":"/articles/sdks/android/api-reference/pause-collection"},{"title":"Resume Collection","href":"/articles/sdks/android/api-reference/resume-collection"}]},{"group":"Consent Resolution","icon":"shield-check","pages":[{"title":"Choosing a Consent Strategy","href":"/articles/sdks/android/consent/consent-strategy"},{"title":"Default Behavior (No Explicit Consent Management)","href":"/articles/sdks/android/consent/default"},{"title":"TCF v2.x / GDPR Compliance","href":"/articles/sdks/android/consent/gdpr"},{"title":"Custom Consent Management","href":"/articles/sdks/android/consent/custom-consent"}]},{"title":"Implementation Examples","href":"/articles/sdks/android/examples"},{"group":"Release Notes","icon":"clock-rotate-left","pages":[{"title":"Release Notes","href":"/articles/sdks/android/release-notes/overview"},{"title":"Version 2.2.12","href":"/articles/sdks/android/release-notes/v2.2.12"},{"title":"Version 2.2.11","href":"/articles/sdks/android/release-notes/v2.2.11"},{"title":"Version 2.2.10","href":"/articles/sdks/android/release-notes/v2.2.10"},{"title":"Version 2.2.9","href":"/articles/sdks/android/release-notes/v2.2.9"},{"title":"Version 2.2.8","href":"/articles/sdks/android/release-notes/v2.2.8"},{"title":"Version 2.2.7","href":"/articles/sdks/android/release-notes/v2.2.7"},{"title":"Version 2.2.6","href":"/articles/sdks/android/release-notes/v2.2.6"},{"title":"Version 2.2.5","href":"/articles/sdks/android/release-notes/v2.2.5"},{"title":"Version 2.2.4","href":"/articles/sdks/android/release-notes/v2.2.4"},{"title":"Version 2.2.3","href":"/articles/sdks/android/release-notes/v2.2.3"},{"title":"Version 2.2.0","href":"/articles/sdks/android/release-notes/v2.2.0"},{"title":"Version 2.1.1","href":"/articles/sdks/android/release-notes/v2.1.1"},{"title":"Version 2.1.0","href":"/articles/sdks/android/release-notes/v2.1.0"},{"title":"Version 2.0.1","href":"/articles/sdks/android/release-notes/v2.0.1"},{"title":"Version 2.0.0","href":"/articles/sdks/android/release-notes/v2.0.0"},{"title":"Version 1.0.0","href":"/articles/sdks/android/release-notes/v1.0.0"}]}]},{"group":"React Native SDK","icon":"react","pages":[{"title":"Introduction to React Native SDK","href":"/articles/sdks/react-native/intro"},{"title":"Quick Start","href":"/articles/sdks/react-native/quick-start"},{"group":"Configurations","icon":"sliders","pages":[{"title":"Configurations","href":"/articles/sdks/react-native/configurations/overview"},{"title":"Write Key","href":"/articles/sdks/react-native/configurations/write-key"},{"title":"PII Hashing Configuration","href":"/articles/sdks/react-native/configurations/hashing"},{"title":"Consent Configuration Options","href":"/articles/sdks/react-native/configurations/consent-options"}]},{"group":"API Reference","icon":"code","pages":[{"title":"Track User Identities","href":"/articles/sdks/react-native/api-reference/set-user-identities"},{"title":"Track Page View Events","href":"/articles/sdks/react-native/api-reference/set-page-properties"},{"title":"Track Events","href":"/articles/sdks/react-native/api-reference/set-event-properties"},{"title":"Track Instant Events","href":"/articles/sdks/react-native/api-reference/set-instant-event-properties"},{"title":"Track User Properties","href":"/articles/sdks/react-native/api-reference/set-user-properties"},{"title":"Track User Consent","href":"/articles/sdks/react-native/api-reference/set-consent"},{"title":"Remove User Identities","href":"/articles/sdks/react-native/api-reference/unset-user-identities"},{"title":"Pause Collection","href":"/articles/sdks/react-native/api-reference/pause-collection"},{"title":"Resume Collection","href":"/articles/sdks/react-native/api-reference/resume-collection"}]},{"group":"Consent Resolution","icon":"shield-check","pages":[{"title":"Choosing a Consent Strategy","href":"/articles/sdks/react-native/consent/consent-strategy"},{"title":"Default Behavior (No Explicit Consent Management)","href":"/articles/sdks/react-native/consent/default"},{"title":"TCF v2.x / GDPR Compliance","href":"/articles/sdks/react-native/consent/gdpr"},{"title":"Custom Consent Management","href":"/articles/sdks/react-native/consent/custom-consent"}]},{"title":"Implementation Examples","href":"/articles/sdks/react-native/examples"},{"group":"Release Notes","icon":"clock-rotate-left","pages":[{"title":"Release Notes","href":"/articles/sdks/react-native/release-notes/overview"},{"title":"Version 1.3.9","href":"/articles/sdks/react-native/release-notes/v1.3.9"},{"title":"Version 1.3.8","href":"/articles/sdks/react-native/release-notes/v1.3.8"},{"title":"Version 1.3.7","href":"/articles/sdks/react-native/release-notes/v1.3.7"},{"title":"Version 1.3.6","href":"/articles/sdks/react-native/release-notes/v1.3.6"},{"title":"Version 1.3.5","href":"/articles/sdks/react-native/release-notes/v1.3.5"},{"title":"Version 1.3.4","href":"/articles/sdks/react-native/release-notes/v1.3.4"},{"title":"Version 1.3.3","href":"/articles/sdks/react-native/release-notes/v1.3.3"},{"title":"Version 1.3.2","href":"/articles/sdks/react-native/release-notes/v1.3.2"},{"title":"Version 1.3.1","href":"/articles/sdks/react-native/release-notes/v1.3.1"},{"title":"Version 1.3.0","href":"/articles/sdks/react-native/release-notes/v1.3.0"},{"title":"Version 1.2.1","href":"/articles/sdks/react-native/release-notes/v1.2.1"},{"title":"Version 1.2.0","href":"/articles/sdks/react-native/release-notes/v1.2.0"},{"title":"Version 1.1.6","href":"/articles/sdks/react-native/release-notes/v1.1.6"},{"title":"Version 1.1.5","href":"/articles/sdks/react-native/release-notes/v1.1.5"},{"title":"Version 1.1.4","href":"/articles/sdks/react-native/release-notes/v1.1.4"},{"title":"Version 1.1.3","href":"/articles/sdks/react-native/release-notes/v1.1.3"},{"title":"Version 1.1.2","href":"/articles/sdks/react-native/release-notes/v1.1.2"},{"title":"Version 1.1.1","href":"/articles/sdks/react-native/release-notes/v1.1.1"},{"title":"Version 1.1.0","href":"/articles/sdks/react-native/release-notes/v1.1.0"},{"title":"Version 1.0.1","href":"/articles/sdks/react-native/release-notes/v1.0.1"},{"title":"Version 1.0.0","href":"/articles/sdks/react-native/release-notes/v1.0.0"}]}]}]},{"tab":"Status","icon":"signal","href":"https://status.zeotap.com/"},{"tab":"Profile API","icon":"square-terminal","pages":[{"title":"Profile API","href":"/profile-api/profileapi"}]},{"tab":"Get Started","icon":"rocket","hidden":true,"pages":[{"title":"Get Started","href":"/articles/get-started-guide/getting-started"}]},{"tab":"What's New?","icon":"calendar-days","pages":[{"title":"What's New?","href":"/articles/product-release-notes/2026/q3-2026"}]},{"tab":"Composable CDP","href":"https://composable-docs.zeotap.com/"},{"tab":"ID+","icon":"fingerprint","hidden":true,"pages":[{"title":"ID+","href":"/articles/id-publication/basic-integration-guide_v2"}]},{"tab":"Support","icon":"headset","hidden":true,"pages":[{"title":"Support","href":"/articles/support/clear-your-cache-and-cookies"}]}]},"basePath":"","title":"1. Initialization Options - Zeotap docs","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["10e4515597","a74be98ba7"],"chunks":["BannerMarkdown-Cj6eAYhz.js","dist-CdrJecqK.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-D-TRO5q5.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","zoom-image-lightbox-BFbLClTf.js","lightbox-handle-r17bVUz3.js"]}