Important: This feature is available only for Scale and Enterprise plans.

Integrate Google Tag Manager with Joomag to manage third-party tracking tags (snippets of code or tracking pixels).

Before moving forward, let’s understand what a tag and Google Tag Manager (GTM) are. A tag is a code snippet that can be added to a website to add extra functionality. Google Tag Manager (GTM) is a tag management service from Google that allows you to inject tags to a website without the developer's direct intervention directly from the GTM dashboard.

In a nutshell, you need to go through the following steps:

  1. Setup of a GTM container.

  2. Setup of GTM tags and triggers in that container.

Note: Click here to learn how to setup Tag Manager.

3. Linking a newly created container to a Joomag collection by inserting the container ID in the collection settings.

This guideline concentrates on the third step. So once the setup is done, use the following guideline to integrate GTM into your publication collection:

1. On the My Publications page, open the collection to link the GTM container.

2. In the Actions drop-down menu, select Viewer Settings.

3. Select the Google Tag Manager checkbox.

4. In the opened field, paste your Google Tag Container ID to link the collection.

Note: The container IDs should be unique for each collection.

5. Click Save and Close to save the changes.

Now, when a reader opens any publication from that collection in viewer's mode, it results in the GTM tag's triggering, and the execution of the injected GTM tag(s).

Did this answer your question?