1. Home
  2. HumCommerce Integration
  3. Integrating HumCommerce with Google Tag Manager

Integrating HumCommerce with Google Tag Manager

What is Google Tag Manager?

Often website owners need to add multiple code snippets to track their conversions, traffic, and gather other analytical data.

With Google Tag manager you can easily add and manage all of these scripts from a single dashboard.

There are built-in tag templates for Google Analytics, Adwords, DoubleClick, etc. Tag manager also works with several third party analytics and tracking platforms.

Apart from that, you can use custom HTML to add your own tracking or any other code that you want to add.

This saves you the time of adding and removing tags from your code and rather manage it from an easy dashboard. Not to mention, all of these scripts are loaded in one script.

Having said that, lets get started with Google Tag Manager.

Setting Up Google Tag Manager

Visit the Google Tag Manager website and sign up using the Google account.

After login you will come to the below page. Simply click on the “Create Account” button.

After clicking on “Create Account” button you will come to the add new account page. Simply provide a name for your account.

Now you need to add a container to your account. A container could be a website or an app on iOS or Android platforms. In our case we will use the web.

You can use your site’s domain for the container name. You can add multiple containers for each account. Once you’re done click on the create button to continue.

Google Tag Manager will now create your account with the container, and you will see your container dashboard. It would look something like this:

Now your Google Tag Manager account is ready, so the next step is to add a new tag. You can do this by clicking on create new tag.

On the next page, label the new tag if you wish, then click on tag configuration and select Custom HTML Tag.

Paste the HumCommerce Java script code and just click “Save” button,

After clicking on “Save” button, you will see the below popup,

Click on “Add Trigger” button and select “All Pages” in next window.

After adding a trigger the final step is to click on “save” button.

The above steps will create your tag. Now it is time to publish your container.

To publish your container, click on “Submit” button.

On next page, select the option as “Publish and Create Version” and add version name, description if you want then click on “Publish” button.

Updated on June 27, 2019

Was this article helpful?

Related Articles