# Google Tag Manager reference

Source: https://ga4sensei.com/glossary/gtm
Publisher: GA4 Sensei (https://ga4sensei.com). Written and reviewed by the GA4 Sensei team.
Last checked against Google's documentation: 2026-11-26

Google Tag Manager built-in variables and variable types, triggers with the data layer event each one listens for, tags, consent mode settings, and what Tag Manager 360 adds. Descriptions by GA4 Sensei, from the Tag Manager Help Center.

## Variables

### Pages

#### Page URL (`{{Page URL}}`)

The full URL of the current page, including the query string.

- GA4 Sensei note: Use Page Path in trigger conditions when the query string doesn't matter: it's less likely to break.
- Source: https://support.google.com/tagmanager/answer/7182738

#### Page Hostname (`{{Page Hostname}}`)

The hostname part of the current URL, such as www.example.com.

- GA4 Sensei note: Handy for blocking tags on staging or test domains.
- Checked in the GA4 Sensei audit: Staging / Internal Traffic
- Source: https://support.google.com/tagmanager/answer/7182738

#### Page Path (`{{Page Path}}`)

The path part of the current URL, such as /products/shoes, without the domain or query string.

- Source: https://support.google.com/tagmanager/answer/7182738

#### Referrer (`{{Referrer}}`)

The full URL of the previous page, from the browser's referrer.

- Source: https://support.google.com/tagmanager/answer/7182738

### Utilities

#### Event (`{{Event}}`)

The name of the current data layer event, such as gtm.js, gtm.click or a custom event name.

- GA4 Sensei note: Always on. Custom event triggers compare against this value.
- Source: https://support.google.com/tagmanager/answer/7182738

#### Container ID (`{{Container ID}}`)

The public ID of the container, such as GTM-XXXXXXX.

- Source: https://support.google.com/tagmanager/answer/7182738

#### Container Version (`{{Container Version}}`)

The version number of the published container, as text.

- GA4 Sensei note: Sending it as an event parameter helps match data changes to container versions.
- Source: https://support.google.com/tagmanager/answer/7182738

#### Environment Name (`{{Environment Name}}`)

The name of the environment the container was loaded from, such as Live or a staging environment.

- Source: https://support.google.com/tagmanager/answer/7182738

#### Debug Mode (`{{Debug Mode}}`)

True when the container is running in Preview mode.

- Source: https://support.google.com/tagmanager/answer/7182738

#### HTML ID (`{{HTML ID}}`)

Lets a Custom HTML tag report whether it succeeded or failed. Used with tag sequencing.

- Source: https://support.google.com/tagmanager/answer/7182738

#### Random Number (`{{Random Number}}`)

A random number, often used for cache-busting or sampling.

- Source: https://support.google.com/tagmanager/answer/7182738

#### Analytics Client ID (`{{Analytics Client ID}}`)

The client ID from the default Google Analytics cookie.

- GA4 Sensei note: Useful for passing the browser's client ID to server-side events, so they join the same GA4 user.
- Source: https://support.google.com/tagmanager/answer/7182738

#### Analytics Session ID (`{{Analytics Session ID}}`)

Session IDs from the Google Analytics session cookies on the page. With several GA4 cookies it returns them all in one string.

- Source: https://support.google.com/tagmanager/answer/7182738

#### Analytics Session Number (`{{Analytics Session Number}}`)

Session numbers from the Google Analytics session cookies on the page.

- Source: https://support.google.com/tagmanager/answer/7182738

### Errors

#### Error Message (`{{Error Message}}`)

The message of a JavaScript error caught by a JavaScript Error trigger (reads gtm.errorMessage).

- Source: https://support.google.com/tagmanager/answer/7182738

#### Error URL (`{{Error URL}}`)

The URL of the script where the JavaScript error happened (reads gtm.errorUrl).

- Source: https://support.google.com/tagmanager/answer/7182738

#### Error Line (`{{Error Line}}`)

The line number of the JavaScript error (reads gtm.errorLine).

- Source: https://support.google.com/tagmanager/answer/7182738

### Clicks

#### Click Element (`{{Click Element}}`)

The element that was clicked, set by click triggers (reads gtm.element). Can be used with CSS selector conditions.

- Source: https://support.google.com/tagmanager/answer/7182738

#### Click Classes (`{{Click Classes}}`)

The class attribute of the clicked element (reads gtm.elementClasses).

- GA4 Sensei note: Class names change with site redesigns, so triggers built on them break silently.
- Checked in the GA4 Sensei audit: Regex and Contains Logic Audit
- Source: https://support.google.com/tagmanager/answer/7182738

#### Click ID (`{{Click ID}}`)

The id attribute of the clicked element (reads gtm.elementId).

- Source: https://support.google.com/tagmanager/answer/7182738

#### Click Target (`{{Click Target}}`)

The target attribute of the clicked element, such as _blank (reads gtm.elementTarget).

- Source: https://support.google.com/tagmanager/answer/7182738

#### Click URL (`{{Click URL}}`)

The href of the clicked link (reads gtm.elementUrl).

- GA4 Sensei note: mailto: and tel: links put email addresses and phone numbers in this value; don't send it to GA4 unchanged.
- Checked in the GA4 Sensei audit: PII Risk Scan
- Source: https://support.google.com/tagmanager/answer/7182738

#### Click Text (`{{Click Text}}`)

The visible text of the clicked element (reads gtm.elementText).

- GA4 Sensei note: Text changes with translations and copy edits, so it's a fragile trigger condition.
- Source: https://support.google.com/tagmanager/answer/7182738

### Forms

#### Form Element (`{{Form Element}}`)

The form element, set by form triggers (reads gtm.element).

- Source: https://support.google.com/tagmanager/answer/7182738

#### Form Classes (`{{Form Classes}}`)

The class attribute of the form (reads gtm.elementClasses).

- Source: https://support.google.com/tagmanager/answer/7182738

#### Form ID (`{{Form ID}}`)

The id attribute of the form (reads gtm.elementId).

- GA4 Sensei note: The most reliable way to tell forms apart in a Form Submission trigger, if your forms have IDs.
- Source: https://support.google.com/tagmanager/answer/7182738

#### Form Target (`{{Form Target}}`)

The target attribute of the form (reads gtm.elementTarget).

- Source: https://support.google.com/tagmanager/answer/7182738

#### Form Text (`{{Form Text}}`)

The text inside the form (reads gtm.elementText).

- GA4 Sensei note: Can include whatever the visitor typed into visible fields: never send it to analytics.
- Checked in the GA4 Sensei audit: PII Risk Scan
- Source: https://support.google.com/tagmanager/answer/7182738

#### Form URL (`{{Form URL}}`)

The URL the form submits to, from its action attribute (reads gtm.elementUrl).

- Source: https://support.google.com/tagmanager/answer/7182738

### History

#### History Source (`{{History Source}}`)

What caused a history change, such as pushState, replaceState or popstate (reads gtm.historyChangeSource).

- Source: https://support.google.com/tagmanager/answer/7182738

#### New History Fragment (`{{New History Fragment}}`)

The # part of the URL after a history change (reads gtm.newUrlFragment).

- Source: https://support.google.com/tagmanager/answer/7182738

#### New History State (`{{New History State}}`)

The state object the page pushed to the browser history (reads gtm.newHistoryState).

- Source: https://support.google.com/tagmanager/answer/7182738

#### Old History Fragment (`{{Old History Fragment}}`)

The # part of the URL before the history change (reads gtm.oldUrlFragment).

- Source: https://support.google.com/tagmanager/answer/7182738

#### Old History State (`{{Old History State}}`)

The history state object before the change (reads gtm.oldHistoryState).

- Source: https://support.google.com/tagmanager/answer/7182738

### Videos

#### Video Current Time (`{{Video Current Time}}`)

Where the YouTube video was, in seconds, when the event happened (reads gtm.videoCurrentTime).

- Source: https://support.google.com/tagmanager/answer/7182738

#### Video Duration (`{{Video Duration}}`)

The length of the YouTube video in seconds (reads gtm.videoDuration).

- Source: https://support.google.com/tagmanager/answer/7182738

#### Video Percent (`{{Video Percent}}`)

How far through the video the event happened, 0 to 100 (reads gtm.videoPercent).

- Source: https://support.google.com/tagmanager/answer/7182738

#### Video Provider (`{{Video Provider}}`)

The video provider. For the YouTube Video trigger this is YouTube (reads gtm.videoProvider).

- Source: https://support.google.com/tagmanager/answer/7182738

#### Video Status (`{{Video Status}}`)

The state of the video when the event happened, such as start, pause or progress (reads gtm.videoStatus).

- Source: https://support.google.com/tagmanager/answer/7182738

#### Video Title (`{{Video Title}}`)

The title of the YouTube video (reads gtm.videoTitle).

- Source: https://support.google.com/tagmanager/answer/7182738

#### Video URL (`{{Video URL}}`)

The URL of the YouTube video (reads gtm.videoUrl).

- Source: https://support.google.com/tagmanager/answer/7182738

#### Video Visible (`{{Video Visible}}`)

True if the video was visible on screen when the event happened (reads gtm.videoVisible).

- Source: https://support.google.com/tagmanager/answer/7182738

### Scrolling

#### Scroll Depth Threshold (`{{Scroll Depth Threshold}}`)

The scroll depth that fired the trigger: a percentage (0 to 100) or a number of pixels (reads gtm.scrollThreshold).

- Source: https://support.google.com/tagmanager/answer/7182738

#### Scroll Depth Units (`{{Scroll Depth Units}}`)

Whether the threshold is in percent or pixels (reads gtm.scrollUnits).

- Source: https://support.google.com/tagmanager/answer/7182738

#### Scroll Direction (`{{Scroll Direction}}`)

Whether the threshold was vertical or horizontal (reads gtm.scrollDirection).

- Source: https://support.google.com/tagmanager/answer/7182738

### Visibility

#### Percent Visible (`{{Percent Visible}}`)

How much of the element was visible, 0 to 100, when an Element Visibility trigger fired (reads gtm.visibleRatio).

- Source: https://support.google.com/tagmanager/answer/7182738

#### On-Screen Duration (`{{On-Screen Duration}}`)

How long, in milliseconds, the element had been visible when the trigger fired (reads gtm.visibleTime).

- Source: https://support.google.com/tagmanager/answer/7182738

### User-defined: Navigation

#### HTTP Referrer

Returns the referrer, or a part of it such as the hostname, as a variable you configure.

- Source: https://support.google.com/tagmanager/answer/7683362

#### URL

Returns a chosen part of a URL: full URL, protocol, hostname, port, path, file extension, query or fragment. By default it reads the current page URL.

- GA4 Sensei note: A URL variable for one query parameter, such as utm_campaign, is cleaner than parsing it in Custom JavaScript.
- Source: https://support.google.com/tagmanager/answer/7683362

### User-defined: Page variables

#### 1st Party Cookie

Returns the value of a cookie set on the current domain. If several cookies share the name, the first one is used.

- GA4 Sensei note: Reading cookies that hold personal data and sending them on is a common privacy leak.
- Checked in the GA4 Sensei audit: PII Risk Scan
- Source: https://support.google.com/tagmanager/answer/7683362

#### Custom JavaScript

Returns the result of an anonymous JavaScript function you write.

- GA4 Sensei note: Keep them short and free of side effects: they can run many times per page.
- Checked in the GA4 Sensei audit: Governance & Maintainability
- Source: https://support.google.com/tagmanager/answer/7683362

#### Data Layer Variable

Returns a value pushed to the data layer, such as ecommerce.value. Version 2 reads dots as nested keys.

- GA4 Sensei note: The most reliable way to get values into tags: agree on the data layer with your developers.
- Checked in the GA4 Sensei audit: GA4 Event Completeness, Ecommerce Object Validity
- Source: https://support.google.com/tagmanager/answer/7683362

#### JavaScript Variable

Returns the value of a global JavaScript variable on the page.

- Source: https://support.google.com/tagmanager/answer/7683362

### User-defined: Page elements

#### Auto-Event Variable

Returns a detail of the element or history change behind the current event, such as an element attribute, its type, text, URL or the history change source.

- GA4 Sensei note: Use Element Attribute to read data-* attributes your developers add to buttons and links.
- Source: https://support.google.com/tagmanager/answer/7683362

#### DOM Element

Returns the text or an attribute of an element, found by ID or CSS selector.

- GA4 Sensei note: Breaks when the page layout changes; prefer a data layer value when you can.
- Source: https://support.google.com/tagmanager/answer/7683362

#### Element Visibility

Returns whether one element is visible (true or false) or how much of it is visible (percent).

- Source: https://support.google.com/tagmanager/answer/7683362

### User-defined: Utilities

#### Analytics Storage

Returns the Google Analytics client ID, session ID or session number, optionally for one measurement ID.

- GA4 Sensei note: The reliable way to read GA identifiers for server-side or Measurement Protocol events.
- Source: https://support.google.com/tagmanager/answer/7683362

#### Constant

Returns a fixed text value you enter, such as a measurement ID used by many tags.

- GA4 Sensei note: Use one constant instead of pasting the same ID into many tags.
- Checked in the GA4 Sensei audit: Governance & Maintainability
- Source: https://support.google.com/tagmanager/answer/7683362

#### Custom Event

Returns the name of the custom event pushed to the data layer.

- Source: https://support.google.com/tagmanager/answer/7683362

#### Environment Name

Returns the name of the environment shown in Preview mode.

- Source: https://support.google.com/tagmanager/answer/7683362

#### Google Tag: Configuration Settings

A set of configuration parameters, such as a site language, that several Google tags share when they load.

- GA4 Sensei note: Keeps shared settings in one place. In optimized containers, many shared settings move to the container's Settings tab.
- Checked in the GA4 Sensei audit: Conflicting Google Tag Settings
- Source: https://support.google.com/tagmanager/answer/7683362

#### Google Tag: Event Settings

A set of event parameters, such as a discount code, that you can add to many GA4 event tags at once.

- Source: https://support.google.com/tagmanager/answer/7683362

#### Lookup Table

Returns a value from a table that maps an input variable to outputs, such as page path to a conversion label.

- GA4 Sensei note: Google suggests a RegEx Table instead of very long lookup tables.
- Source: https://support.google.com/tagmanager/answer/7683362

#### Random Number

Returns a random number.

- Source: https://support.google.com/tagmanager/answer/7683362

#### RegEx Table

Like a lookup table, but matches the input against regular expressions, in order.

- GA4 Sensei note: Order matters: the first matching row wins.
- Checked in the GA4 Sensei audit: Regex and Contains Logic Audit
- Source: https://support.google.com/tagmanager/answer/7683362

#### User-Provided Data

Collects email, phone or address details a user has shared, for enhanced conversions and user-provided data collection.

- GA4 Sensei note: Needs the right consent and a privacy policy that covers it.
- Checked in the GA4 Sensei audit: PII Risk Scan
- Source: https://support.google.com/tagmanager/answer/7683362

### User-defined: Container data

#### Container ID

Returns the container's public ID.

- Source: https://support.google.com/tagmanager/answer/7683362

#### Container Version Number

Returns the container version number.

- Source: https://support.google.com/tagmanager/answer/7683362

#### Debug Mode

Returns true in Preview mode.

- Source: https://support.google.com/tagmanager/answer/7683362

## Triggers

### Page view triggers

#### Consent Initialization (`gtm.init_consent`)

Fires before every other trigger, for tags that set default consent or load the consent banner.

- GA4 Sensei note: Only consent tags belong here: CMP tags and consent defaults.
- Checked in the GA4 Sensei audit: Consent Mode Alignment
- Source: https://support.google.com/tagmanager/answer/7679319

#### Initialization (`gtm.init`)

Fires before all other triggers except Consent Initialization, for tags that must run early.

- Source: https://support.google.com/tagmanager/answer/7679319

#### Page View (`gtm.js`)

Fires as soon as the page starts loading. The usual trigger for the Google tag.

- GA4 Sensei note: A Google tag on Page View plus a hard-coded gtag.js on the page counts every page view twice.
- Checked in the GA4 Sensei audit: Duplicate Assets, Hard-Coded gtag.js on the Page
- Source: https://support.google.com/tagmanager/answer/7679319

#### DOM Ready (`gtm.dom`)

Fires once the browser has built the page's HTML, so tags can read elements on the page.

- Source: https://support.google.com/tagmanager/answer/7679319

#### Window Loaded (`gtm.load`)

Fires after the whole page, including images and scripts, has loaded.

- GA4 Sensei note: Visitors who leave before the page finishes loading aren't counted by tags on this trigger.
- Source: https://support.google.com/tagmanager/answer/7679319

### Click triggers

#### Click – All Elements (`gtm.click`)

Fires on clicks on any element, such as buttons and images.

- GA4 Sensei note: Without conditions it fires on every click on the page; always add a filter.
- Checked in the GA4 Sensei audit: Triggers & Firing Logic, Misfiring and Overlap Risk
- Source: https://support.google.com/tagmanager/answer/7679320

#### Click – Just Links (`gtm.linkClick`)

Fires on clicks on links (a elements), with options to wait for tags before the page navigates and to check validation.

- Checked in the GA4 Sensei audit: Triggers & Firing Logic
- Source: https://support.google.com/tagmanager/answer/7679320

### User engagement

#### Element Visibility (`gtm.elementVisibility`)

Fires when an element you choose becomes visible on screen, once per page, once per element or every time.

- GA4 Sensei note: Observing DOM changes on big pages can slow them down; target specific elements.
- Source: https://support.google.com/tagmanager/answer/7679410

#### Form Submission (`gtm.formSubmit`)

Fires when a form is submitted, with optional waiting for tags and validation checks.

- GA4 Sensei note: Many modern forms submit with JavaScript and never fire it; a data layer event after success is more reliable.
- Checked in the GA4 Sensei audit: Triggers & Firing Logic
- Source: https://support.google.com/tagmanager/answer/7679217

#### Scroll Depth (`gtm.scrollDepth`)

Fires when the visitor scrolls past depths you set, in percent or pixels, vertically or horizontally.

- GA4 Sensei note: Turn off GA4's own scroll event if you track scroll depth here, so the two don't overlap.
- Source: https://support.google.com/tagmanager/answer/7679218

#### YouTube Video (`gtm.video`)

Fires on embedded YouTube video start, completion, pause, seeking, buffering and progress points you set.

- GA4 Sensei note: GA4's enhanced measurement already tracks YouTube videos; using both counts them twice.
- Checked in the GA4 Sensei audit: Duplicate Assets
- Source: https://support.google.com/tagmanager/answer/7679325

### Other triggers

#### Custom Event (`custom name`)

Fires when a data layer push contains an event with a matching name. The name can be exact or a regular expression.

- GA4 Sensei note: A regex such as .* matches every push, including GTM's own events.
- Checked in the GA4 Sensei audit: Catch-All Custom Event Triggers, Regex and Contains Logic Audit
- Source: https://support.google.com/tagmanager/answer/7679219

#### History Change (`gtm.historyChange-v2`)

Fires when the URL fragment changes or the site calls the browser history API, as single-page apps do. Older containers use gtm.historyChange.

- GA4 Sensei note: Needed for page views on many single-page sites, unless GA4's history-based page views are on: using both doubles them.
- Checked in the GA4 Sensei audit: One-and-Only-Once Check
- Source: https://support.google.com/tagmanager/answer/7679322

#### JavaScript Error

Fires when an uncaught JavaScript error happens on the page, with the error message, URL and line in built-in variables.

- Source: https://support.google.com/tagmanager/answer/7679411

#### Timer (`gtm.timer`)

Fires at an interval you set, in milliseconds, optionally a limited number of times.

- GA4 Sensei note: Timers that fire GA4 events inflate event counts; add a limit.
- Source: https://support.google.com/tagmanager/answer/7679323

#### Trigger Group (`gtm.triggerGroup`)

Fires once every trigger in the group has fired at least once. Adding the same trigger twice means it must fire twice.

- Source: https://support.google.com/tagmanager/answer/9164222

#### Firing triggers and exceptions

A tag fires when any of its firing triggers matches, unless one of its exception (blocking) triggers matches the same event.

- GA4 Sensei note: Exceptions only block events of the same type as the firing trigger.
- Checked in the GA4 Sensei audit: Triggers & Firing Logic
- Source: https://support.google.com/tagmanager/answer/7679318

#### Tag sequencing

Settings that fire a setup tag before a tag, or a cleanup tag after it, on the same event.

- Source: https://support.google.com/tagmanager/answer/6238868

## Tags

### Google tags

#### Google tag

Loads the Google tag for a GA4 stream or Google Ads account, and sends a page view by default.

- GA4 Sensei note: One per measurement ID. In optimized containers it's replaced by destination tags.
- Checked in the GA4 Sensei audit: Duplicate Assets, Classic GA4 Configuration Tag, Optimization Status
- Source: https://support.google.com/tagmanager/answer/11994839

#### Google Analytics: GA4 Event (`GA4 Event`)

Sends one GA4 event with its parameters, such as generate_lead or purchase.

- GA4 Sensei note: Event and parameter names should follow GA4's lowercase snake_case conventions.
- Checked in the GA4 Sensei audit: Event Naming Casing, Event Parameter Casing, GA4 Event Completeness
- Source: https://support.google.com/tagmanager/answer/13034206

#### Google Ads Conversion Tracking (`Google Ads Conversion`)

Sends a conversion to Google Ads with its conversion ID and label, and optional value and transaction ID.

- Checked in the GA4 Sensei audit: Revenue Integrity Guardrails
- Source: https://support.google.com/tagmanager/answer/6106924

#### Google Ads Remarketing

Adds visitors to Google Ads remarketing lists.

- GA4 Sensei note: Needs ad_personalization and ad_user_data consent in the EEA.
- Checked in the GA4 Sensei audit: Consent Mode Alignment
- Source: https://support.google.com/tagmanager/answer/6106924

#### Conversion Linker

Stores Google Ads and Floodlight click IDs in first-party cookies so later conversions can be credited.

- GA4 Sensei note: Not needed when a Google tag or destination tag loads on every page.
- Checked in the GA4 Sensei audit: Conversion Linker
- Source: https://support.google.com/tagmanager/answer/7549390

#### Floodlight Counter and Sales (`Floodlight`)

Sends activity to Campaign Manager 360 and Display & Video 360: counter tags count visits, sales tags record revenue.

- Source: https://support.google.com/tagmanager/answer/6106924

#### Custom HTML

Runs any HTML and JavaScript you paste into the tag.

- GA4 Sensei note: A security and performance risk if nobody reviews it; prefer a template.
- Checked in the GA4 Sensei audit: Non-GTM Marketing Scripts, Governance & Maintainability
- Source: https://support.google.com/tagmanager/answer/6107167

#### Custom Image

Loads a tracking pixel from a URL you set, with optional cache-busting.

- Source: https://support.google.com/tagmanager/answer/6107167

#### Universal Analytics tags (retired) (`Universal Analytics`)

Tags for Google's old Universal Analytics, which stopped processing data in 2024.

- GA4 Sensei note: They do nothing now but still load code: remove them.
- Checked in the GA4 Sensei audit: Deprecated UA Tags
- Source: https://support.google.com/analytics/answer/11583528

### Tag templates built into Tag Manager

| Tag template | Works in |
| --- | --- |
| AB Tasty | Web |
| AdAdvisor (now Neustar) | Web |
| adjust | Android & iOS (Firebase) |
| Adobe Analytics | AMP |
| AdRoll | Web |
| AppsFlyer | Android & iOS (Firebase) |
| AT Internet | AMP |
| AWIN | Web |
| Bizrate Insights | Web |
| Burt | AMP |
| Chartbeat | AMP |
| ClickTale (OBSOLETE) | Web |
| Clicky | AMP |
| comScore | Web, AMP |
| Conversant | Web |
| Crazy Egg | Web |
| Criteo | Web |
| Custom HTML | Web |
| Custom Image | Web, AMP, Android & iOS (Firebase), Android & iOS (legacy) |
| Cxense | AMP |
| DistroScale | Web |
| dstillery | Web |
| Eulerian Technologies | Web |
| Firebase Analytics | Android & iOS (Firebase) |
| Floodlight | Web, AMP, Android & iOS (Firebase), Android & iOS (legacy) |
| FoxMetrics | Web |
| Function Call | Android & iOS (Firebase), Android & iOS (legacy) |
| Google Ads | Web, AMP, Android & iOS (Firebase), Android & iOS (legacy) |
| Google Analytics | Web, AMP, Android & iOS (Firebase), Android & iOS (legacy) |
| Google Consumer Surveys | Web |
| Hotjar | Web |
| Infinity | Web |
| Intent Media |  |
| K50 | Web |
| Kochava | Android & iOS (Firebase) |
| LeadLab by wiredminds | Web |
| LinkedIn | Web, AMP |
| LinkPulse | AMP |
| Lytics | Web |
| Marin | Web |
| Médiamétrie | AMP |
| Microsoft Bing Ads | Web |
| Mouseflow | Web |
| mParticle | AMP |
| Neustar | Web |
| Nielsen | Web |
| Nudge | Web |
| Oktopost | Web |
| Optimise Media | Web |
| ÖWA | AMP |
| OwnerListens | Web |
| Parse.ly | AMP |
| Perfect Audience Pixel (now SharpSpring Ads) | Web |
| Personali (now Namogoo) | Web |
| Piano | AMP |
| Pinterest | Web |
| Placed Inc. | Web |
| Pulse Insights | Web |
| Quantcast | Web, AMP |
| Quora Pixel | Web |
| Rawsoft | Web |
| SaleCycle | Web |
| Salesforce DMP (Krux) | AMP |
| Segment | AMP |
| Shareaholic | Web |
| SimpleReach | AMP |
| Singular | Android & iOS (Firebase) |
| Snowplow | AMP |
| Survicate | Web |
| TradeDoubler | Web |
| Tune | Android & iOS (Firebase) |
| Turn (now Amobee) | Web |
| Twitter | Web |
| UpSellIt | Web |
| Ve Interactive | Web |
| VisualDNA | Web |
| Webtrekk | AMP |
| Xtremepush | Web |
| Yieldify | Web |

## Consent mode settings

### Consent types

#### ad_storage

Allows storage, such as cookies, used for advertising.

- GA4 Sensei note: When denied, Google tags don't write or read advertising cookies.
- Checked in the GA4 Sensei audit: Consent Mode Alignment
- Source: https://support.google.com/tagmanager/answer/13802165

#### ad_user_data

Allows sending user data to Google for advertising, including conversion measurement.

- GA4 Sensei note: Needed with ad_personalization for personalised ads in the EEA.
- Checked in the GA4 Sensei audit: Consent Mode Alignment
- Source: https://support.google.com/tagmanager/answer/13802165

#### ad_personalization

Allows personalised advertising, such as remarketing.

- GA4 Sensei note: When denied, remarketing lists don't receive these users.
- Checked in the GA4 Sensei audit: Consent Mode Alignment
- Source: https://support.google.com/tagmanager/answer/13802165

#### analytics_storage

Allows storage, such as cookies, used for analytics.

- GA4 Sensei note: When denied, Google Analytics sends cookieless pings instead (with advanced consent mode).
- Checked in the GA4 Sensei audit: Consent Mode Alignment, Cookie Before Interaction
- Source: https://support.google.com/tagmanager/answer/13802165

### Privacy storage types

#### functionality_storage

Allows storage that makes the site work, such as language settings.

- GA4 Sensei note: Google tags don't use it; it's for your own tags' consent checks.
- Source: https://support.google.com/tagmanager/answer/13802165

#### personalization_storage

Allows storage for personalisation, such as video recommendations.

- Source: https://support.google.com/tagmanager/answer/13802165

#### security_storage

Allows storage for security, such as authentication and fraud prevention.

- Source: https://support.google.com/tagmanager/answer/13802165

### Commands and settings

#### Consent default (`gtag('consent', 'default', {...})`)

Sets the consent state before any tag fires, usually denied until the visitor chooses. In GTM, set it on the Consent Initialization trigger or through your CMP's template.

- GA4 Sensei note: If the default is set after tags fire, the first hits go out without any consent state.
- Checked in the GA4 Sensei audit: Consent Mode Alignment, Cookie Before Interaction
- Source: https://developers.google.com/tag-platform/security/guides/consent

#### Consent update (`gtag('consent', 'update', {...})`)

Updates the consent state when the visitor makes or changes a choice. CMPs send it from the banner.

- GA4 Sensei note: A banner that never sends the update leaves Google tags denied for everyone who accepted.
- Checked in the GA4 Sensei audit: Consent Mode Alignment
- Source: https://developers.google.com/tag-platform/security/guides/consent

#### region

Limits a consent default to certain countries or regions, so you can deny by default only where a banner is shown.

- Source: https://developers.google.com/tag-platform/security/guides/consent

#### wait_for_update

How many milliseconds Google tags wait for a consent update before sending data, for banners that load asynchronously.

- Source: https://developers.google.com/tag-platform/security/guides/consent

#### url_passthrough

When advertising cookies are denied, passes ad-click information through URL parameters between pages so conversions can still be measured.

- GA4 Sensei note: Set it the same way on every Google tag and destination tag.
- Checked in the GA4 Sensei audit: Conversion Linker
- Source: https://developers.google.com/tag-platform/security/guides/consent

#### ads_data_redaction

When ad_storage is denied, also removes ad-click identifiers such as the gclid from Google Ads pings.

- Source: https://support.google.com/tagmanager/answer/13802165

#### GTM consent APIs for templates (`setDefaultConsentState / updateConsentState`)

The sandboxed functions custom templates, such as CMP templates, use to set default and updated consent in GTM.

- GA4 Sensei note: Google says templates should use these rather than gtag consent commands.
- Source: https://developers.google.com/tag-platform/security/guides/consent

#### Consent overview and tag consent settings (`Consent overview`)

Per-tag settings for which consent types a tag needs, and an overview listing every tag's consent setup.

- GA4 Sensei note: Google tags read consent automatically; most third-party tags need an extra consent check.
- Checked in the GA4 Sensei audit: Third-Party Pixel Consent, Consent Mode Alignment
- Source: https://support.google.com/tagmanager/answer/10718549

## Tag Manager vs Tag Manager 360

| Feature | Tag Manager | Tag Manager 360 | Good to know |
| --- | --- | --- | --- |
| Workspaces per container | 3 (the default plus 2) | Unlimited | Every published or versioned workspace is removed; the default workspace comes back. |
| Zones | Not available | Available | Lets linked containers, such as an agency's, fire tags on parts of your site with only the tag types you allow. |
| Approval workflow | Not available | Available | Editors request approval; users with Approve or Publish access approve or reject. |
| Service level agreement | None | Covers container serving, interface availability and support |  |
| Support | Help Center and community | Dedicated support specialists |  |
| Container size indicator | Shown on the Versions page | Shown on the Versions page | Google advises optimising the container when the indicator is above 70%. |
