Get Started Get Started

How to Add Google Tag Manager to Your Oncord Website

Google Tag Manager (GTM) is a third-party tool by Google that allows you to manage and update tracking codes (or “tags”) across your website from a single interface.

This guide will walk you through:

  • Creating a Google Tag Manager account.
  • Installing GTM on your Oncord website.

Step 1: Create a Google Tag Manager Account

Go to Google Tag Manager, to create a Tag Manager account and container.

  • Tag Manager account - Represents the topmost level of the organization. Typically, only one account is needed per company. Usually set to your company name. 
  • Container - A collection of tags, triggers, variables, and related configurations installed on a given website or mobile app. Typically set to the URL of your website. 

After completing the setup, you'll see a popup with two code snippets. Keep this window open - you’ll need both code snippets in the next steps below.

Step 2: Locate Your Google Tag Manager Code

  1. Inside your Google Tag Manager workspace, open your Workspace.
  2. Click your Container ID (it looks like GTM-XXXXXX) near the top of the page.
  3. This will open the “Install Google Tag Manager” popup, containing the two code snippets:
  • The first snippet goes inside the <head> tag.
  • The second snippet goes just after the opening <body> tag.



Step 3: Add Your Google Tag Manager Code to Your Oncord Website

To ensure GTM loads on all pages of your website, you’ll add the code to your website design.

1. Access Your Website Design

  • Within your Oncord Dashboard, navigate to Website > Designs.
  • Click your website design to edit it.

2. Add The <head> Snippet

  • While editing your Oncord design, click the SOURCE button located on the left.
  • Paste the first snippet just before the closing </head> tag.

3. Add The <body> Snippet

  • Copy the second code snippet from GTM.
  • Paste it just after the opening <body> tag within your design source code.
  • Click Save at the top-left of the screen.



All done!
Google Tag Manager is now installed across your site. You can return to your GTM account at any time to add or update tracking codes.