---
title: "Integrating Google Tag Manager"
slug: "integrating-google-tag-manager"
updated: 2023-05-09T12:34:26Z
published: 2023-05-09T12:34:26Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.nexudus.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrating Google Tag Manager

:::(info) (The {{variable.GoogleTagManager}} integration is included in your {{variable.Nexudus}} subscription at no additional cost.)
:::
Integrating {{variable.GoogleTagManager}} is a two-step process.

## What You Need to Integrate {{variable.GoogleTagManager}}

* **A Google account**
* **A {{variable.fullunrestrictedadmin}} account in {{variable.Nexudus}}** 

## Step 1. Creating Your {{variable.GoogleTagManager}} Account and Container
The first step of the integration is to create an account in {{variable.GoogleTagManager}} and a container for your Members Portal to get a container ID. Your container ID is a required field to enable the integration in {{variable.Nexudus}}.

1. Log in to {{variable.GoogleTagManager}} using your Google credentials.

2. Click **Create account** in the top right corner of the page.
3. Name your account.
4. Select your country from the {{variable.dropdownlist}}. 
5. Name your container. 
6. Select **Web** in the **Target platform** field.
7. Click **Create**.
8. Tick the checkbox at the bottom of the Terms of Service Agreement and click **Yes** in the top right corner of the page.

*When your container first loads, you are prompted to add code snippets to your Members Portal. You can skip this step since {{variable.Nexudus}} automatically adds them for you.*

10. Click **OK** to clear the dialog box. 

1. Copy your container ID that is displayed in the top right corner of the page. 

Your container ID has the following format: *GTM-1234567*.
Now that you've successfully created a {{variable.GoogleTagManager}} account and copied your container ID, you can move to step 2.

## Step 2. Enabling the {{variable.GoogleTagManager}} Integration in {{variable.Nexudus}}
Once you have your container ID, all you need to do is enable the integration in your {{variable.Nexudus}} account.

1. {{snippet.FirstStepProcedure}}

3. Click **Settings > Integrations > {{variable.GoogleTagManager}}**.
4. Enable the **Google Tag Manager integration** toggle
7. Add your container ID in the **{{variable.GoogleTagManager}} Code** field.
9. {{snippet.Save_Changes}}

You've successfully enabled the {{variable.GoogleTagManager}} integration. Make sure the integration is working properly by following the instructions on the [Analytics Help Portal](https://support.google.com/analytics/answer/1008083){target="_blank"}.

{{variable.Nexudus}} tracks the following events:

* **pageview**
When the user navigates between pages
<br>
* **nexudus:saved:{agentKey}.{key}** 
When data is saved. 
*For example when a customer updates their profile or posts a new message in the community board.*
<br>
* **nexudus:basket:add** 
When the user adds an item to their basket. 
<br>
* **nexudus:basket:remove** 
When the user removes an item from their basket.
<br>
* **nexudus:basket:clear** 
When the user removes all items from their basket.
<br>
* **nexudus:basket:checkout** 
When the user confirms a basket order and checks out.
<br>
* **nexudus:basket:checkout_summary**
When the users preview their basket before going through the payments page. 
<br>
* **nexudus:payments:success**
When the user's payment is successfully processed. 
<br>
* **nexudus:payments:fail**
When the user's payment fails. 
<br>
* **nexudus:payments:updated**
When the user's payment details are updated. 
<br>
* **nexudus:signup:new** 
When the user loads the sign-up page or the event registration page as a new customer.

You can use your browser console and filter by the "TM:" string to see the events Nexudus emits.
