Skip to main content
Google Tag Manager (GTM) lets you deploy the tracking script across any site that has GTM installed, without touching your site’s code. You’ll add the contentgrove snippet as a Custom HTML tag.

Prerequisites

You need a GTM account and a container installed on your site. If you don’t have one yet, create it at tagmanager.google.com.

Add the tag

1

Create a new tag

In your GTM container, go to Tags and click New. Name it something like “contentgrove Tracker”, then open Tag Configuration.
Creating a new tag in the Tags section of Google Tag Manager
Naming the tag and opening Tag Configuration in Google Tag Manager
2

Choose Custom HTML

Set the tag type to Custom HTML.
Selecting Custom HTML as the tag type in Google Tag Manager
3

Paste the snippet

Copy your GTM snippet from Settings → Tracking in contentgrove and paste it into the HTML field. See Install the tracking script for the snippet format.
Pasting the contentgrove snippet into the Custom HTML field
4

Set the trigger

Click Triggering and add a trigger of type Page View – DOM Ready. If you don’t have one yet, click the plus icon to create it, name it, and save.
Opening Triggering to add a trigger in Google Tag Manager
Creating a new trigger with the plus icon in Google Tag Manager
Selecting Page View – DOM Ready as the trigger type
The completed contentgrove tag with its Custom HTML and DOM Ready trigger
5

Submit and publish

Click Submit, then Publish. Without publishing, the tag won’t be active.
Clicking Submit to publish the container in Google Tag Manager
Confirming the publish in Google Tag Manager
The published contentgrove GTM tag, ready to track
Use the DOM Ready trigger, not “Container Loaded”. The wrong trigger is the most common reason GTM tracking doesn’t fire.

Verify it works

In contentgrove, open Settings → Tracking and use the Verify tracker tool. You can also use GTM’s preview mode to confirm the tag fires on your pages. Once configured, you can deploy the same tag on any platform that supports GTM by adding your container ID (format GTM-XXXXXXX). If tracking isn’t recording, see Tracking isn’t recording clicks.
Last modified on July 11, 2026