Skip to main content
Copy your snippet from Install the snippet, then:
1

Create a Custom HTML tag

In your GTM container, go to Tags, add a new tag, and choose Custom HTML.
2

Paste the snippet

Paste the full snippet into the HTML field.
3

Set the trigger to All Pages

Set the trigger to All Pages so it fires on every page view.
4

Submit and publish

Submit and publish the container version, then verify.
GTM loads tags after the page, and some consent or performance plugins delay or block Custom HTML tags. If verification does not pass, install the snippet directly in your site’s <head> instead.