Issue your tracking key, turn tracking on, copy your tag, and rotate or revoke the key when you need to.
Web Tracking is a single script tag you add to your site. Once it is live, it records page views and can receive custom events from your own code. This article covers the allGood side: issuing your tracking key, choosing what the tag sends, copying the tag, and rotating or revoking the key.Without Web Tracking, you can still send campaigns and build forms. You just will not see who visited which pages, or how a submission ties back to a specific visitor.
Prerequisites
You can open the Web Tracking settings for your account and have the Admin or Power user role. With the Standard role, you cannot issue, rotate, or revoke a key.
You have a connected subdomain. The tag loads from it, so without one there is no address to load from.
The origin of each site you want to track is on your allowed origins list. A page on an unlisted origin has its events skipped with no warning.
Issue your key and copy your tag
1
Open Web Tracking
Open Web Tracking in your account settings.
The Web Tracking settings page, showing the generated tag, the account's tracking key, and the two switches that control what the tag sends.
2
Issue a tracking key
If the page shows Issue key instead of a key, select it. This creates your account’s key, which begins agsk_. The tag snippet then appears with your domain and key filled in. There is one key per account, not one per website.
3
Turn on Send events to allGood
In What the tag does, switch Send events to allGood on. It starts off on a new account, and while it is off the tag sends nothing at all. The status chip reads Publishing…, then Live at the edge. Until it turns green, the previous setting still applies.
4
Copy your tag
In Your tag, select Copy. Send the tag to whoever owns your website. They add it to the <head> of each page you want tracked. See Install the tag. If they use Google Tag Manager, select Install with Google Tag Manager instead and follow Install with Google Tag Manager.
Your tag is ready. It starts sending on the next page load after your website owner installs it, once the origin is allowed, Send events to allGood is on, and your visitor’s consent allows it.
What the two switches do
Both are in What the tag does.Send events to allGood is the master switch. Off, the tag records nothing: no page views, and no custom events from your own code.Automatic page views controls only the page views the tag records by itself. It records one when a page loads, and again on every route change in a single-page app. Off, it stops those, but custom events and form submissions still go through. Turn it off if your site changes its URL for reasons that are not really navigation, and you would rather record page views yourself.Consent applies to tracking, not to form submissions. Page views and custom events send only once your visitor’s consent, set under Consent Provider, allows it. A form submission is something the visitor chose to do, so it follows a separate rule. It also never uses the tracking key.
The key sits in the source of every page that carries your tag, so anyone who views the source can read it. It is not a secret, and it does not need protecting. It says which allGood account is sending. It does not authorize the sender. What controls who can send is your allowed origins list, plus bot protection for anything that is not a browser.Someone holding your key can only post from a website you have already allowed, and can only make traffic look like yours. Rotate the key if you think someone else is using it, not because it was visible.Next to the key, allGood shows a short keyId. Quote it to support when you need to say which key is live, instead of pasting the key itself.
Rotate the key
Rotate issues a new key. The old key keeps working until the new one reaches allGood’s edge, so a rotation never leaves a gap with no valid key.
1
Select Rotate
On Web Tracking, select Rotate. The new key appears immediately.
2
Replace the tag everywhere
Copy the new tag. Replace it on every page that carries the old key, and in any Google Tag Manager container that uses the generated template. Pages still on the old key stop being recorded once it stops working.
3
Check that events still arrive
Load a page and look for a successful tracking request. If it is refused, see Troubleshooting.
Revoke the key
Revoke clears the key. Every tracked event is refused until you issue a new one, and the screen shows a revoked badge. Use it when you want tracking to stop now, not when you want a different key.
Revoking does not stop form capture. Forms use their own public ID and your allowed origins list, not the tracking key. To stop a form accepting submissions, unregister the form. Rotating has a grace period. Revoking does not, so confirm your live tag already uses a different key before you revoke.
Check that it works
Select Open test page on Web Tracking. It opens a page that allGood hosts on a separate domain, running your real tag against your real settings. It checks the whole path without touching your own site. Your developer can also check the browser console and network tab. See Test your setup.
Track custom events
identify() and track() calls let your own code send events beyond page views. They need JavaScript on your site, so they are a task for a developer. Share Identify and track with them.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"allGood Docs","colors":{"primary":"#dc4393","light":"#ea7cb9","dark":"#b12563"},"logo":{"light":"https://mintcdn.com/allgoodtechnologyinc/QQ498qL6_aJdv7lm/logo/light.svg?fit=max\u0026auto=format\u0026n=QQ498qL6_aJdv7lm\u0026q=85\u0026s=0a6e25720e392678288f3d5e92580677","dark":"https://mintcdn.com/allgoodtechnologyinc/QQ498qL6_aJdv7lm/logo/dark.svg?fit=max\u0026auto=format\u0026n=QQ498qL6_aJdv7lm\u0026q=85\u0026s=d68d3e70bcb0adf89895e438a7dd3dd1"},"favicon":"https://mintcdn.com/allgoodtechnologyinc/QQ498qL6_aJdv7lm/favicon.svg?fit=max\u0026auto=format\u0026n=QQ498qL6_aJdv7lm\u0026q=85\u0026s=393be1889fc5f811dc575e9e7c4aa16f","background":{"decoration":"gradient"},"navbar":{"links":[{"href":"mailto:support@allgoodhq.com","label":"Support"}],"primary":{"type":"button","label":"App","href":"https://allgoodhq.app"}},"icons":{"library":"lucide"},"contextual":{"options":["copy","view","chatgpt","claude","mcp"],"display":"header"},"interaction":{"drilldown":true},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Welcome","icon":"house","href":"/"},{"anchor":"Release Notes","icon":"list","href":"/release-notes"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"allgoodtechnologyinc","hasAudioNarration":false,"actualSubdomain":"allgoodtechnologyinc","customDomains":["docs.allgoodhq.com"],"gitSource":{"type":"github","owner":"allgoodhq","repo":"mint","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6af66f52f801d783dc232a6b","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"allGood","count":127},{"language":"default","tag":"Use Cases","count":68},{"language":"default","tag":"Email Reply Management","count":65},{"language":"default","tag":"Error Codes","count":38},{"language":"default","tag":"Marketing Kernel","count":20},{"language":"default","tag":"Marketo","count":18},{"language":"default","tag":"Integrations","count":17},{"language":"default","tag":"Settings","count":16},{"language":"default","tag":"Email Builder","count":12},{"language":"default","tag":"HubSpot","count":11}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@allgoodhq.com","showHelpButton":true}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--sidebar-width: 18rem}.frame{padding:0}.frame>.relative>*[data-as=\"p\"]{margin:0!important}div:has(>.frame){margin:0.5rem 0}.frame [data-component-part=\"frame-caption\"]{margin:0.5rem 0;margin-left:1rem;padding:0;text-align:left}"}],"page":{"pagePath":"mk/settings/web-edge/tracking-setup","slug":"/mk/settings/web-edge/tracking-setup","pageMetadata":{"title":"Set up Web Tracking","sidebarTitle":"Web Tracking","description":"Issue your tracking key, turn tracking on, copy your tag, and rotate or revoke the key when you need to.","lifecycle":"onboarding","owner":"TBD","reviewed":"2026-10-27","href":"/mk/settings/web-edge/tracking-setup"},"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: \"Issue your tracking key, turn tracking on, copy your tag, and rotate or revoke the key when you need to.\"\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`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Frame,Heading,Note,OptimizedImage,Step,Steps,Warning}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Web Tracking`}),` is a single script tag you add to your site. Once it is live, it records page views and can receive custom events from your own code. This article covers the allGood side: issuing your tracking key, choosing what the tag sends, copying the tag, and rotating or revoking the key.`]}),`\n`,_jsx(_components.p,{children:`Without Web Tracking, you can still send campaigns and build forms. You just will not see who visited which pages, or how a submission ties back to a specific visitor.`}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`You can open the `,_jsx(_components.strong,{children:`Web Tracking`}),` settings for your account and have the `,_jsx(_components.strong,{children:`Admin`}),` or `,_jsx(_components.strong,{children:`Power user`}),` role. With the `,_jsx(_components.strong,{children:`Standard`}),` role, you cannot issue, rotate, or revoke a key.`]}),`\n`,_jsxs(_components.li,{children:[`You have a `,_jsx(_components.a,{href:`/mk/settings/web-edge/connect-a-subdomain`,children:`connected subdomain`}),`. The tag loads from it, so without one there is no address to load from.`]}),`\n`,_jsxs(_components.li,{children:[`The origin of each site you want to track is on your `,_jsx(_components.a,{href:`/mk/settings/web-edge/allowed-origins`,children:`allowed origins list`}),`. A page on an unlisted origin has its events skipped with no warning.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`issue-your-key-and-copy-your-tag`,children:`Issue your key and copy your tag`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{id:`open-web-tracking`,title:`Open Web Tracking`,children:[_jsxs(_components.p,{children:[`Open `,_jsx(_components.strong,{children:`Web Tracking`}),` in your account settings.`]}),_jsx(Frame,{caption:`The Web Tracking settings page, showing the generated tag, the account's tracking key, and the two switches that control what the tag sends.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/allgoodtechnologyinc/bSgN7e8oktmf793O/images/mk/web-edge/setup-web-tracking.png?fit=max\u0026auto=format\u0026n=bSgN7e8oktmf793O\u0026q=85\u0026s=333e460b34218c3122c109dd0b9b7ead`,alt:`The Web Tracking settings page, showing the generated tag, the account's tracking key, and the two switches that control what the tag sends`,\"data-og-width\":`1136`,width:`1136`,\"data-og-height\":`844`,height:`844`,\"data-path\":`images/mk/web-edge/setup-web-tracking.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/allgoodtechnologyinc/bSgN7e8oktmf793O/images/mk/web-edge/setup-web-tracking.png?w=280\u0026fit=max\u0026auto=format\u0026n=bSgN7e8oktmf793O\u0026q=85\u0026s=6c5ec8d6a37125b04d913bf6b3b76235 280w, https://mintcdn.com/allgoodtechnologyinc/bSgN7e8oktmf793O/images/mk/web-edge/setup-web-tracking.png?w=560\u0026fit=max\u0026auto=format\u0026n=bSgN7e8oktmf793O\u0026q=85\u0026s=0f70613ff6c672a6fb32b99ccff876ec 560w, https://mintcdn.com/allgoodtechnologyinc/bSgN7e8oktmf793O/images/mk/web-edge/setup-web-tracking.png?w=840\u0026fit=max\u0026auto=format\u0026n=bSgN7e8oktmf793O\u0026q=85\u0026s=bd65e7fc6f922274eef6a7f3253458af 840w, https://mintcdn.com/allgoodtechnologyinc/bSgN7e8oktmf793O/images/mk/web-edge/setup-web-tracking.png?w=1100\u0026fit=max\u0026auto=format\u0026n=bSgN7e8oktmf793O\u0026q=85\u0026s=b0c6ebc3a4699ca0e1d6610abb8a9aed 1100w, https://mintcdn.com/allgoodtechnologyinc/bSgN7e8oktmf793O/images/mk/web-edge/setup-web-tracking.png?w=1650\u0026fit=max\u0026auto=format\u0026n=bSgN7e8oktmf793O\u0026q=85\u0026s=5010f9f3c95f2d45042d3e2560b5930e 1650w, https://mintcdn.com/allgoodtechnologyinc/bSgN7e8oktmf793O/images/mk/web-edge/setup-web-tracking.png?w=2500\u0026fit=max\u0026auto=format\u0026n=bSgN7e8oktmf793O\u0026q=85\u0026s=ebfd622cd69918e475a759f107c6ceb1 2500w`})})]}),_jsx(Step,{id:`issue-a-key`,title:`Issue a tracking key`,children:_jsxs(_components.p,{children:[`If the page shows `,_jsx(_components.strong,{children:`Issue key`}),` instead of a key, select it. This creates your account’s key, which begins `,_jsx(_components.code,{children:`agsk_`}),`. The tag snippet then appears with your domain and key filled in. There is one key per account, not one per website.`]})}),_jsx(Step,{id:`turn-on-sending`,title:`Turn on Send events to allGood`,children:_jsxs(_components.p,{children:[`In `,_jsx(_components.strong,{children:`What the tag does`}),`, switch `,_jsx(_components.strong,{children:`Send events to allGood`}),` on. It starts off on a new account, and while it is off the tag sends nothing at all. The status chip reads `,_jsx(_components.strong,{children:`Publishing…`}),`, then `,_jsx(_components.strong,{children:`Live at the edge`}),`. Until it turns green, the previous setting still applies.`]})}),_jsx(Step,{id:`copy-your-tag`,title:`Copy your tag`,children:_jsxs(_components.p,{children:[`In `,_jsx(_components.strong,{children:`Your tag`}),`, select `,_jsx(_components.strong,{children:`Copy`}),`. Send the tag to whoever owns your website. They add it to the `,_jsx(_components.code,{children:`\u003chead>`}),` of each page you want tracked. See `,_jsx(_components.a,{href:`/mk/developer/web-edge/install-the-tag`,children:`Install the tag`}),`. If they use Google Tag Manager, select `,_jsx(_components.strong,{children:`Install with Google Tag Manager`}),` instead and follow `,_jsx(_components.a,{href:`/mk/developer/web-edge/install-with-gtm`,children:`Install with Google Tag Manager`}),`.`]})})]}),`\n`,_jsxs(_components.p,{children:[`Your tag is ready. It starts sending on the next page load after your website owner installs it, once the origin is allowed, `,_jsx(_components.strong,{children:`Send events to allGood`}),` is on, and your visitor’s consent allows it.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-the-two-switches-do`,children:`What the two switches do`}),`\n`,_jsxs(_components.p,{children:[`Both are in `,_jsx(_components.strong,{children:`What the tag does`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Send events to allGood`}),` is the master switch. Off, the tag records nothing: no page views, and no custom events from your own code.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Automatic page views`}),` controls only the page views the tag records by itself. It records one when a page loads, and again on every route change in a single-page app. Off, it stops those, but custom events and form submissions still go through. Turn it off if your site changes its URL for reasons that are not really navigation, and you would rather record page views yourself.`]}),`\n`,_jsxs(_components.p,{children:[`Consent applies to tracking, not to form submissions. Page views and custom events send only once your visitor’s consent, set under `,_jsx(_components.a,{href:`/mk/settings/web-edge/consent-provider`,children:`Consent Provider`}),`, allows it. A form submission is something the visitor chose to do, so it follows a separate rule. It also never uses the tracking key.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Settings changes take a moment to reach all of allGood’s servers. See `,_jsx(_components.a,{href:`/mk/settings/web-edge/edge-sync`,children:`Saved vs live at the edge`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`your-tracking-key`,children:`Your tracking key`}),`\n`,_jsxs(_components.p,{children:[`The key sits in the source of every page that carries your tag, so anyone who views the source can read it. `,_jsx(_components.strong,{children:`It is not a secret, and it does not need protecting.`}),` It says which allGood account is sending. It does not authorize the sender. What controls who can send is your `,_jsx(_components.a,{href:`/mk/settings/web-edge/allowed-origins`,children:`allowed origins list`}),`, plus `,_jsx(_components.a,{href:`/mk/settings/web-edge/bot-protection`,children:`bot protection`}),` for anything that is not a browser.`]}),`\n`,_jsx(_components.p,{children:`Someone holding your key can only post from a website you have already allowed, and can only make traffic look like yours. Rotate the key if you think someone else is using it, not because it was visible.`}),`\n`,_jsxs(_components.p,{children:[`Next to the key, allGood shows a short `,_jsx(_components.strong,{children:`keyId`}),`. Quote it to support when you need to say which key is live, instead of pasting the key itself.`]}),`\n`,_jsx(Heading,{level:`3`,id:`rotate-the-key`,children:`Rotate the key`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Rotate`}),` issues a new key. The old key keeps working until the new one reaches allGood’s edge, so a rotation never leaves a gap with no valid key.`]}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{id:`rotate`,title:`Select Rotate`,children:_jsxs(_components.p,{children:[`On `,_jsx(_components.strong,{children:`Web Tracking`}),`, select `,_jsx(_components.strong,{children:`Rotate`}),`. The new key appears immediately.`]})}),_jsx(Step,{id:`replace-the-tag`,title:`Replace the tag everywhere`,children:_jsx(_components.p,{children:`Copy the new tag. Replace it on every page that carries the old key, and in any Google Tag Manager container that uses the generated template. Pages still on the old key stop being recorded once it stops working.`})}),_jsx(Step,{id:`confirm-events`,title:`Check that events still arrive`,children:_jsxs(_components.p,{children:[`Load a page and look for a successful tracking request. If it is refused, see `,_jsx(_components.a,{href:`/mk/developer/web-edge/troubleshooting`,children:`Troubleshooting`}),`.`]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`revoke-the-key`,children:`Revoke the key`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Revoke`}),` clears the key. Every tracked event is refused until you issue a new one, and the screen shows a `,_jsx(_components.strong,{children:`revoked`}),` badge. Use it when you want tracking to stop now, not when you want a different key.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Revoking does not stop form capture. Forms use their own public ID and your allowed origins list, not the tracking key. To stop a form accepting submissions, unregister the form. Rotating has a grace period. Revoking does not, so confirm your live tag already uses a different key before you revoke.`})}),`\n`,_jsx(Heading,{level:`2`,id:`check-that-it-works`,children:`Check that it works`}),`\n`,_jsxs(_components.p,{children:[`Select `,_jsx(_components.strong,{children:`Open test page`}),` on `,_jsx(_components.strong,{children:`Web Tracking`}),`. It opens a page that allGood hosts on a separate domain, running your real tag against your real settings. It checks the whole path without touching your own site. Your developer can also check the browser console and network tab. See `,_jsx(_components.a,{href:`/mk/developer/web-edge/test-your-setup`,children:`Test your setup`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`track-custom-events`,children:`Track custom events`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`identify()`}),` and `,_jsx(_components.code,{children:`track()`}),` calls let your own code send events beyond page views. They need JavaScript on your site, so they are a task for a developer. Share `,_jsx(_components.a,{href:`/mk/developer/web-edge/identify-and-track`,children:`Identify and track`}),` with them.`]}),`\n`,_jsx(Heading,{level:`2`,id:`related-articles`,children:`Related articles`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/mk/settings/web-edge/connect-a-subdomain`,children:`Connect a subdomain`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/mk/settings/web-edge/allowed-origins`,children:`Allowed origins`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/mk/settings/web-edge/consent-provider`,children:`Connect your consent platform`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/mk/settings/web-edge/faq`,children:`Web Edge FAQ`})}),`\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":"Set up Web Tracking","sidebarTitle":"Web Tracking","description":"Issue your tracking key, turn tracking on, copy your tag, and rotate or revoke the key when you need to.","lifecycle":"onboarding","owner":"TBD","reviewed":"2026-10-27","href":"/mk/settings/web-edge/tracking-setup"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"Issue your key and copy your tag","slug":"issue-your-key-and-copy-your-tag","depth":2,"children":[]},{"title":"What the two switches do","slug":"what-the-two-switches-do","depth":2,"children":[]},{"title":"Your tracking key","slug":"your-tracking-key","depth":2,"children":[{"title":"Rotate the key","slug":"rotate-the-key","depth":3,"children":[]},{"title":"Revoke the key","slug":"revoke-the-key","depth":3,"children":[]}]},{"title":"Check that it works","slug":"check-that-it-works","depth":2,"children":[]},{"title":"Track custom events","slug":"track-custom-events","depth":2,"children":[]},{"title":"Related articles","slug":"related-articles","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"allgoodtechnologyinc","siteName":"allGood Docs","title":"Set up Web Tracking - allGood Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-30T16:53:24.842Z","originalFileLocation":"mk/settings/web-edge/tracking-setup.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=\"system\"}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=\"Issue your tracking key, turn tracking on, copy your tag, and rotate or revoke the key when you need to.\">\u003cmeta data-mint-head name=\"application-name\" content=\"allGood 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/allgoodtechnologyinc/_ALjgld6m1uJaRhW/_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/allgoodtechnologyinc/_ALjgld6m1uJaRhW/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/allgoodtechnologyinc/_ALjgld6m1uJaRhW/_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/allgoodtechnologyinc/_ALjgld6m1uJaRhW/_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/allgoodtechnologyinc/_ALjgld6m1uJaRhW/_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/allgoodtechnologyinc/_ALjgld6m1uJaRhW/_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/allgoodtechnologyinc/_ALjgld6m1uJaRhW/_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/allgoodtechnologyinc/_ALjgld6m1uJaRhW/_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/allgoodtechnologyinc/_ALjgld6m1uJaRhW/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Set up Web Tracking - allGood Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Issue your tracking key, turn tracking on, copy your tag, and rotate or revoke the key when you need to.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"allGood Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.allgoodhq.com/mk/settings/web-edge/tracking-setup\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://allgoodtechnologyinc.mintlify.site/_mintlify/api/og/v2?division=Web+Edge\u0026amp;title=Set+up+Web+Tracking\u0026amp;description=Issue+your+tracking+key%2C+turn+tracking+on%2C+copy+your+tag%2C+and+rotate+or+revoke+the+key+when+you+need+to.\u0026amp;theme=46684a5ecd44441e4b9bfe1f\u0026amp;signature=8ec53e348e0e2339a9888118f9cb274d7655c3b8cd8084bb9496582847f7ee2c\">\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=\"Set up Web Tracking - allGood Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Issue your tracking key, turn tracking on, copy your tag, and rotate or revoke the key when you need to.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://allgoodtechnologyinc.mintlify.site/_mintlify/api/og/v2?division=Web+Edge\u0026amp;title=Set+up+Web+Tracking\u0026amp;description=Issue+your+tracking+key%2C+turn+tracking+on%2C+copy+your+tag%2C+and+rotate+or+revoke+the+key+when+you+need+to.\u0026amp;theme=46684a5ecd44441e4b9bfe1f\u0026amp;signature=8ec53e348e0e2339a9888118f9cb274d7655c3b8cd8084bb9496582847f7ee2c\">\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/allgoodtechnologyinc/_ALjgld6m1uJaRhW/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"allGood Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#dc4393\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.allgoodhq.com/mk/settings/web-edge/tracking-setup\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/mk/settings/web-edge/tracking-setup.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.allgoodhq.com/#organization\",\"name\":\"allGood Docs\",\"url\":\"https://docs.allgoodhq.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/allgoodtechnologyinc/QQ498qL6_aJdv7lm/logo/light.svg?fit=max\u0026auto=format\u0026n=QQ498qL6_aJdv7lm\u0026q=85\u0026s=0a6e25720e392678288f3d5e92580677\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.allgoodhq.com#website\",\"name\":\"allGood Docs\",\"url\":\"https://docs.allgoodhq.com\",\"publisher\":{\"@id\":\"https://docs.allgoodhq.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.allgoodhq.com/mk/settings/web-edge/tracking-setup#webpage\",\"url\":\"https://docs.allgoodhq.com/mk/settings/web-edge/tracking-setup\",\"name\":\"Set up Web Tracking\",\"description\":\"Issue your tracking key, turn tracking on, copy your tag, and rotate or revoke the key when you need to.\",\"dateModified\":\"2026-10-30T16:53:24.842Z\",\"isPartOf\":{\"@id\":\"https://docs.allgoodhq.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.allgoodhq.com/mk/settings/web-edge/tracking-setup#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.allgoodhq.com/mk/settings/web-edge/tracking-setup#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Settings\",\"item\":\"https://docs.allgoodhq.com/mk/settings/web-edge\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Web Edge\",\"item\":\"https://docs.allgoodhq.com/mk/settings/web-edge\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Set up Web Tracking\",\"item\":\"https://docs.allgoodhq.com/mk/settings/web-edge/tracking-setup\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.allgoodhq.com/mk/settings/web-edge/tracking-setup#article\",\"headline\":\"Set up Web Tracking\",\"name\":\"Set up Web Tracking\",\"description\":\"Issue your tracking key, turn tracking on, copy your tag, and rotate or revoke the key when you need to.\",\"url\":\"https://docs.allgoodhq.com/mk/settings/web-edge/tracking-setup\",\"mainEntityOfPage\":{\"@id\":\"https://docs.allgoodhq.com/mk/settings/web-edge/tracking-setup#webpage\"},\"dateModified\":\"2026-10-30T16:53:24.842Z\",\"publisher\":{\"@id\":\"https://docs.allgoodhq.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.allgoodhq.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"allGood Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"allGood Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/mk/settings/web-edge/tracking-setup.md","siteName":"allGood Docs","nav":{"global":{"anchors":[{"anchor":"Welcome","icon":"house","href":"/"},{"anchor":"Release Notes","icon":"list","href":"/release-notes"}]},"tabs":[{"tab":"allGood","icon":"book-open","pages":[{"title":"allGood","href":"/use-cases/email-builder"}]},{"tab":"Marketing Kernel","icon":"layers","groups":[{"group":"Marketing Kernel","pages":[{"title":"Marketing Kernel","sidebarTitle":"Overview","href":"/mk"},{"group":"Content","pages":[{"title":"Content","sidebarTitle":"Overview","href":"/mk/content/index"},{"title":"Getting started with Content","sidebarTitle":"Getting Started","href":"/mk/content/getting-started"},{"group":"Set up once","pages":[{"title":"Brand guidelines","sidebarTitle":"Brand Guidelines","href":"/mk/content/brand-guidelines"},{"title":"Component libraries","sidebarTitle":"Component Libraries","href":"/mk/content/component-libraries"},{"title":"Templates","sidebarTitle":"Templates","href":"/mk/content/templates"}]},{"group":"Visual assets","pages":[{"title":"Visual assets","sidebarTitle":"Overview","href":"/mk/content/visual-assets/index"},{"title":"Using an image in an email or page","sidebarTitle":"In an email or page","href":"/mk/content/visual-assets/using-an-image-in-an-email-or-page"},{"title":"Using an image you host elsewhere","sidebarTitle":"Images hosted elsewhere","href":"/mk/content/visual-assets/images-hosted-elsewhere"},{"title":"Visual assets FAQ","sidebarTitle":"FAQ","href":"/mk/content/visual-assets/faq"}]},{"title":"Hosted files","sidebarTitle":"Hosted Files","href":"/mk/content/hosted-files"},{"group":"Landing pages","pages":[{"title":"Landing pages","sidebarTitle":"Overview","href":"/mk/content/landing-pages/index"},{"title":"What a landing page is","sidebarTitle":"What a landing page is","href":"/mk/content/landing-pages/what-a-landing-page-is"},{"title":"Creating a landing page","sidebarTitle":"Creating a landing page","href":"/mk/content/landing-pages/creating-a-landing-page"},{"title":"Making a page from a template","sidebarTitle":"From a template","href":"/mk/content/landing-pages/making-a-page-from-a-template"},{"title":"Page components","sidebarTitle":"Page Components","href":"/mk/content/landing-pages/page-components"},{"title":"Editing a landing page's code","sidebarTitle":"Editing the code","href":"/mk/content/landing-pages/editing-the-code"},{"title":"Previewing a landing page","sidebarTitle":"Previewing","href":"/mk/content/landing-pages/previewing-a-landing-page"},{"title":"Checks before a page goes live","sidebarTitle":"Checks before publishing","href":"/mk/content/landing-pages/checks-before-publishing"},{"title":"Publishing a landing page","sidebarTitle":"Publishing and taking down","href":"/mk/content/landing-pages/publishing-a-landing-page"},{"title":"Showing different versions of a page","sidebarTitle":"Different versions","href":"/mk/content/landing-pages/testing-versions-of-a-page"},{"title":"Using a page you host elsewhere","sidebarTitle":"External pages","href":"/mk/content/landing-pages/using-an-external-page"},{"title":"Coming from Marketo or HubSpot: landing pages","sidebarTitle":"Coming from Marketo/HubSpot","href":"/mk/content/landing-pages/coming-from-marketo-hubspot"},{"title":"Landing page not showing or not saving?","sidebarTitle":"Troubleshooting","href":"/mk/content/landing-pages/troubleshooting"},{"title":"Landing pages FAQ","sidebarTitle":"FAQ","href":"/mk/content/landing-pages/faq"}]},{"group":"Email","pages":[{"title":"Email","sidebarTitle":"Overview","href":"/mk/content/email/index"},{"group":"Components","pages":[{"title":"Email components","sidebarTitle":"Overview","href":"/mk/content/email/components/index"},{"title":"Editing an email component","sidebarTitle":"Editing a component","href":"/mk/content/email/components/editing-an-email-component"},{"title":"Setting up and reviewing email components in allGood","sidebarTitle":"Setting up and reviewing","href":"/mk/content/email/components/setting-up-and-reviewing-email-components"},{"title":"What MJML is","sidebarTitle":"What MJML is","href":"/mk/content/email/components/what-mjml-is"}]},{"group":"Email templates","pages":[{"title":"Email templates","sidebarTitle":"Overview","href":"/mk/content/email/templates/index"},{"title":"What an email template is","sidebarTitle":"What a template is","href":"/mk/content/email/templates/what-an-email-template-is"},{"title":"Creating an email template","sidebarTitle":"Creating a template","href":"/mk/content/email/templates/creating-an-email-template"},{"title":"Decide what writers fill in","sidebarTitle":"What writers fill in","href":"/mk/content/email/templates/writing-the-copy-schema"},{"title":"Changing an email template","sidebarTitle":"Changing a template","href":"/mk/content/email/templates/changing-an-email-template"}]},{"group":"Emails","pages":[{"title":"Emails","sidebarTitle":"Overview","href":"/mk/content/email/emails/index"},{"title":"What an email is","sidebarTitle":"What an email is","href":"/mk/content/email/emails/what-an-email-is"},{"title":"Creating an email","sidebarTitle":"Creating an email","href":"/mk/content/email/emails/creating-an-email"},{"title":"Previewing and testing an email","sidebarTitle":"Previewing and testing","href":"/mk/content/email/emails/previewing-and-testing-an-email"},{"title":"Editing an email's code","sidebarTitle":"Editing the code","href":"/mk/content/email/emails/editing-the-code"},{"title":"Personalizing an email","sidebarTitle":"Personalizing","href":"/mk/content/email/emails/personalizing-an-email"},{"title":"Merge field reference","sidebarTitle":"Merge field reference","href":"/mk/content/email/emails/merge-field-reference"},{"title":"Show content conditionally and repeat a list","sidebarTitle":"Conditional content","href":"/mk/content/email/emails/conditional-content-and-lists"},{"title":"Liquid recipes for emails","sidebarTitle":"Liquid recipes","href":"/mk/content/email/emails/liquid-recipes"},{"title":"Before an email can send","sidebarTitle":"Before it can send","href":"/mk/content/email/emails/before-an-email-can-send"},{"title":"How unsubscribes work","sidebarTitle":"How unsubscribes work","href":"/mk/content/email/emails/how-unsubscribes-work"},{"title":"Email not sending or rendering wrong?","sidebarTitle":"Troubleshooting","href":"/mk/content/email/emails/troubleshooting"}]},{"title":"Email FAQ","sidebarTitle":"FAQ","href":"/mk/content/email/faq"},{"title":"Coming from Marketo or HubSpot: email","sidebarTitle":"Coming from Marketo or HubSpot","href":"/mk/content/email/coming-from-marketo-hubspot"}]},{"group":"Forms","pages":[{"title":"Forms","sidebarTitle":"Overview","href":"/mk/content/forms/index"},{"title":"What a form is","sidebarTitle":"What a form is","href":"/mk/content/forms/what-a-form-is"},{"title":"Creating a form","sidebarTitle":"Creating a form","href":"/mk/content/forms/creating-a-form"},{"title":"Testing a form","sidebarTitle":"Testing a form","href":"/mk/content/forms/testing-a-form"},{"title":"Adding a form to a page","sidebarTitle":"Adding a form to a page","href":"/mk/content/forms/adding-a-form-to-a-page"},{"title":"What protects a form","sidebarTitle":"What protects a form","href":"/mk/content/forms/what-protects-a-form"},{"title":"See how a form is performing","sidebarTitle":"Seeing performance","href":"/mk/content/forms/seeing-form-performance"},{"title":"Find where a form is used","sidebarTitle":"Finding where it's used","href":"/mk/content/forms/finding-where-a-form-is-used"},{"title":"Form not capturing submissions?","sidebarTitle":"Troubleshooting","href":"/mk/content/forms/troubleshooting"},{"title":"Forms FAQ","sidebarTitle":"FAQ","href":"/mk/content/forms/faq"},{"title":"Coming from Marketo or HubSpot: forms","sidebarTitle":"Coming from Marketo/HubSpot","href":"/mk/content/forms/coming-from-marketo-hubspot"}]},{"title":"Copy and variants","sidebarTitle":"Copy and Variants","href":"/mk/content/copy-and-variants"},{"title":"Publishing and versions","sidebarTitle":"Publishing and Versions","href":"/mk/content/approvals"},{"title":"Marketo to MK","icon":"arrow-right-left","href":"/mk/content/marketo-to-mk"}]},{"group":"Data Platform","pages":[{"title":"MK Data Platform","sidebarTitle":"Overview","href":"/mk/data/index"},{"title":"Data Sharing","sidebarTitle":"Data Sharing","href":"/mk/data/sharing"},{"title":"Data Architecture","href":"/mk/data/architecture"},{"title":"Orchestration","sidebarTitle":"Orchestration","href":"/mk/data/orchestration"}]},{"group":"Formulas","pages":[{"title":"Formulas in MK","sidebarTitle":"Overview","href":"/mk/formulas/index"},{"title":"What formulas are and when to use one","sidebarTitle":"What formulas are","href":"/mk/formulas/what-formulas-are"},{"title":"How formulas find your data","sidebarTitle":"How formulas find your data","href":"/mk/formulas/how-formulas-find-your-data"},{"title":"Filter a list with a formula","sidebarTitle":"Filter a list","href":"/mk/formulas/filter-a-list"},{"title":"Add a calculated column to a list","sidebarTitle":"Add a calculated column","href":"/mk/formulas/add-a-calculated-column"},{"title":"Handle blank and messy values in formulas","sidebarTitle":"Handle blank values","href":"/mk/formulas/handle-blank-values"},{"title":"Formula recipes","sidebarTitle":"Recipes","href":"/mk/formulas/recipes"},{"title":"Where you can use formulas in MK","sidebarTitle":"Where you can use formulas","href":"/mk/formulas/where-you-can-use-formulas"},{"title":"Formula reference: functions and operators","sidebarTitle":"Reference","href":"/mk/formulas/reference"},{"title":"Formula gives a blank, wrong, or error result","sidebarTitle":"Formula not working","href":"/mk/formulas/not-working"},{"title":"Formulas FAQ","sidebarTitle":"FAQ","href":"/mk/formulas/faq"},{"title":"Coming from Marketo: formulas in MK","sidebarTitle":"Coming from Marketo","href":"/mk/formulas/coming-from-marketo"}]},{"group":"Motions","pages":[{"title":"Motions","sidebarTitle":"Overview","href":"/mk/motions/index"},{"title":"What a motion is","sidebarTitle":"What a motion is","href":"/mk/motions/what-a-motion-is"},{"title":"Motion types","sidebarTitle":"Motion Types","href":"/mk/motions/motion-types"},{"title":"Gated content","sidebarTitle":"Gated Content","href":"/mk/motions/gated-content"},{"title":"Set up a gated content motion","sidebarTitle":"Set Up Gated Content","href":"/mk/motions/set-up-gated-content"},{"title":"Webinars","sidebarTitle":"Webinars","href":"/mk/motions/webinars"},{"title":"Set up a webinar motion","sidebarTitle":"Set Up a Webinar","href":"/mk/motions/set-up-webinar"},{"title":"Create and update a motion template","sidebarTitle":"Motion Templates","href":"/mk/motions/create-a-motion-template"},{"title":"Launching a motion","sidebarTitle":"Launching","href":"/mk/motions/launching"}]},{"group":"MK MCP","pages":[{"title":"MK MCP","sidebarTitle":"Overview","href":"/mk/mcp/index"},{"title":"Connect an AI assistant to allGood","sidebarTitle":"Connect an assistant","href":"/mk/mcp/connect"},{"title":"What you can ask the MK MCP to do","sidebarTitle":"What you can ask it to do","href":"/mk/mcp/what-you-can-do"},{"title":"Upload a list by chatting with Claude","sidebarTitle":"Upload a List in Claude","href":"/mk/mcp/upload-a-list-in-claude"},{"title":"Roll out the MK MCP to your team","sidebarTitle":"Roll it out to your team","href":"/mk/mcp/admin-rollout"}]},{"group":"Web Edge","pages":[{"title":"Add Web Edge to your website","sidebarTitle":"Overview","href":"/mk/developer/web-edge/index"},{"title":"Create a form","sidebarTitle":"Create a Form","href":"/mk/developer/web-edge/create-a-form"},{"title":"Install the tag","sidebarTitle":"Install the Tag","href":"/mk/developer/web-edge/install-the-tag"},{"title":"Install with Google Tag Manager","sidebarTitle":"Install with GTM","href":"/mk/developer/web-edge/install-with-gtm"},{"title":"Capture a form","sidebarTitle":"Capture a Form","href":"/mk/developer/web-edge/capture-a-form"},{"title":"Identify and track","sidebarTitle":"Identify and Track","href":"/mk/developer/web-edge/identify-and-track"},{"title":"Track custom events on your website","sidebarTitle":"Track Custom Events","href":"/mk/developer/web-edge/track-custom-events"},{"title":"What consent gates","sidebarTitle":"Consent Behavior","href":"/mk/developer/web-edge/consent-behavior"},{"title":"A complete example page","sidebarTitle":"Worked Example","href":"/mk/developer/web-edge/worked-example"},{"title":"Test your setup","sidebarTitle":"Test Your Setup","href":"/mk/developer/web-edge/test-your-setup"},{"title":"Troubleshooting","sidebarTitle":"Troubleshooting","href":"/mk/developer/web-edge/troubleshooting"},{"title":"Coming from Marketo: Web Edge for developers","sidebarTitle":"Coming from Marketo","href":"/mk/developer/web-edge/from-marketo"}]}]},{"group":"Platform","pages":[{"group":"Integrations","pages":[{"title":"The Integrations screen","sidebarTitle":"Overview","href":"/mk/integrations/index"},{"title":"Add your Anthropic API key","sidebarTitle":"Anthropic","href":"/mk/integrations/anthropic"},{"title":"How allGood connects with your other marketing tools","href":"/mk/integrations/how-allgood-connects"},{"title":"Zoom and webinars","sidebarTitle":"Zoom and webinars","href":"/mk/integrations/zoom-webinars"},{"title":"Understanding incoming and outgoing webhooks","href":"/mk/integrations/webhooks"}]}]},{"group":"Developer","pages":[{"group":"Web Edge reference","pages":[{"title":"Form capture API","sidebarTitle":"Form Capture API","href":"/mk/developer/web-edge/reference/form-api"},{"title":"Event capture API","sidebarTitle":"Event Capture API","href":"/mk/developer/web-edge/reference/event-api"},{"title":"Endpoint reference","sidebarTitle":"Endpoints","href":"/mk/developer/web-edge/reference/endpoints"},{"title":"Reason codes","sidebarTitle":"Reason Codes","href":"/mk/developer/web-edge/reference/reason-codes"},{"title":"Settings reference","sidebarTitle":"Settings","href":"/mk/developer/web-edge/reference/settings"},{"title":"Glossary","sidebarTitle":"Glossary","href":"/mk/developer/web-edge/reference/glossary"}]},{"group":"Email components","pages":[{"title":"How MJML works","sidebarTitle":"How MJML works","href":"/mk/developer/email/how-mjml-works"},{"title":"Write an email component","sidebarTitle":"Writing components","href":"/mk/developer/email/how-to-write-email-components"},{"title":"Compare MJML with other email tools","sidebarTitle":"Compare MJML with other tools","href":"/mk/developer/email/compare-mjml-with-other-tools"},{"title":"Move your Marketo unsubscribes to allGood","sidebarTitle":"Move Marketo unsubscribes","href":"/mk/developer/email/move-your-marketo-unsubscribes"}]},{"group":"Landing pages","pages":[{"title":"Write a landing page by hand","sidebarTitle":"Write a page by hand","href":"/mk/developer/landing-pages/write-a-landing-page"},{"title":"Retire your Marketo landing page subdomain","sidebarTitle":"Retire Marketo landing pages","href":"/mk/developer/landing-pages/retire-marketo-landing-pages"}]},{"group":"API and Webhooks","pages":[{"title":"API and Webhooks","sidebarTitle":"Overview","href":"/mk/developer/api/index"}]}]},{"group":"Enterprise","pages":[{"title":"Enterprise","sidebarTitle":"Overview","href":"/mk/enterprise/index"},{"title":"MCP usage","sidebarTitle":"MCP Usage","href":"/mk/enterprise/mcp-usage"},{"title":"Data privacy","sidebarTitle":"Data Privacy","href":"/mk/enterprise/data-privacy"}]},{"group":"Settings","pages":[{"group":"Web Edge","pages":[{"title":"Web Edge","sidebarTitle":"Overview","href":"/mk/settings/web-edge/index"},{"title":"How Web Edge keeps your domain secure","sidebarTitle":"How it works","href":"/mk/settings/web-edge/how-it-works"},{"title":"Connect a subdomain","sidebarTitle":"Connect a subdomain","href":"/mk/settings/web-edge/connect-a-subdomain"},{"title":"Set your allowed origins","sidebarTitle":"Allowed origins","href":"/mk/settings/web-edge/allowed-origins"},{"title":"Connect your consent platform","sidebarTitle":"Consent provider","description":"Tell allGood where to read your visitors' cookie consent, choose what happens before they answer, and keep evidence of what they agreed to.","href":"/mk/settings/web-edge/consent-provider"},{"title":"Set up Web Tracking","sidebarTitle":"Web Tracking","href":"/mk/settings/web-edge/tracking-setup"},{"title":"Turn on bot protection for a form","sidebarTitle":"Bot protection","description":"Stop automated submissions from reaching a form, using the bot check built into Web Edge.","href":"/mk/settings/web-edge/bot-protection"},{"title":"Review your form processing settings","sidebarTitle":"Form processing","href":"/mk/settings/web-edge/form-processing"},{"title":"Manage your landing page settings","sidebarTitle":"Landing page settings","href":"/mk/settings/web-edge/landing-page-settings"},{"title":"Saved vs live at the edge","sidebarTitle":"Saved vs live","href":"/mk/settings/web-edge/edge-sync"},{"title":"Web Edge setup checklist","sidebarTitle":"Setup checklist","href":"/mk/settings/web-edge/setup-checklist"},{"title":"Coming from Marketo: Web Edge for admins","sidebarTitle":"Coming from Marketo","href":"/mk/settings/web-edge/coming-from-marketo"},{"title":"Web Edge FAQ","sidebarTitle":"FAQ","href":"/mk/settings/web-edge/faq"}]},{"group":"Email","pages":[{"title":"Set up an email domain","href":"/mk/settings/email/domains-setup"},{"title":"Web Edge domain vs. email domain","href":"/mk/settings/email/domains-vs-web-edge"},{"title":"Authenticate your sending domain: SPF, DKIM, DMARC, BIMI, and VMC","href":"/mk/settings/email/authentication"},{"title":"Your sending IP: shared pool or dedicated","href":"/mk/settings/email/sending-ip"},{"title":"Email deliverability","sidebarTitle":"Deliverability","href":"/mk/settings/email/deliverability"},{"title":"Set up your Subscription Center","sidebarTitle":"Subscription Center","href":"/mk/settings/email/subscription-center"},{"title":"Email Frequently Asked Questions","href":"/mk/settings/email/faq"}]}]}]}]},"basePath":"","title":"Set up Web Tracking - allGood Docs","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-D2acuaLg.js","DynamicMarkdown-Co5nikxh.js","zoom-image-lightbox-BbK2OBGL.js","lightbox-handle-r17bVUz3.js"]}