How to Add Google Tag Manager Code
Tutorial

How to Add Google Tag Manager Code

Since MemberGate supports Google Tag Manager, adding the tag manager code is a breeze.

 

To prevent any errors in Google, there are three steps to take to install Google Tag Manager on MemberGate:

  1. Create the Container in Google Tag Manager

  2. Publish the Container in Google Tag Manager

  3. Install the Google Tag in MemberGate

  4. Begin Setting Up Marketing Tags in Google Tag Manager

 

Click on each tab for more information.

Create a Container in Google Tag Manager

To help with an error-free installation of Google Tag Manager, the first step is to create a container.

Visit the Google Tag Manager Help and Instructions page for detailed steps. 

Publish the Container in Google Tag Manager

The next step is to publish the container in Google Tag Manager - even if it is empty.

If the container is not published, it can create a '404 not found error' in Google.

 

Google Tag Manager

Install Google Tag Manager onto Your MemberGate Site

 

Click on each tab for futher instruction.

1. Copy your Google Tag Manager ID from your Google Account

Copy your Google Tag Manager ID from your Google Account

2. From your MemberGate control panel under 'Google/SEO' choose 'Google Analytics'

From your MemberGate control panel under 'Google/SEO' choose 'Google Analytics'

Google Analytics
3. Paste the Google Manager ID into the 'Google Tag Manager ID' box

Paste the Google Manager ID into the 'Google Tag Manager ID' box

Google Tag Manager ID
4. Press the 'Apply Changes' button

Press the 'Apply Changes' button

 

The software will automatically add the relevant Google Tag Manager code into the head and body section of your pages.

NOTE: If you are receiving a 404 Not Found Error, visit part 2: Publish the Container to double check that the container is published (even if it is empty).

Begin Setting up Marketing in Google Tag Manager

Once the error free connection is made, you can begin setting up the marketing tags within Google Tag Manager.