How To Set up Google Tag Supervisor On Your Web site


Google Tag Supervisor (GTM) is a robust, free software supplied by Google that enables web site homeowners and entrepreneurs to handle and deploy advertising and marketing tags (snippets of code or monitoring pixels) on their web site (or cell app) while not having any coding abilities.

In different phrases, it’s a tag administration system that allows you to rapidly and simply replace measurement codes and associated code fragments collectively often called tags in your web site or cell app.

Why would somebody wish to use Google Tag Supervisor?

GTM simplifies the method of monitoring person interactions by offering a user-friendly interface to implement monitoring codes, all with out the fixed want for a developer’s help. Whether or not you need to observe fundamental analytics, monitor particular occasions like type submissions or clicks, or implement extra complicated remarketing campaigns, GTM might be a useful asset. It permits for higher agility within the digital advertising and marketing realm; you possibly can take a look at and deploy tags with out having to depend on the IT division to write down and launch code, making your entire course of far more environment friendly.

Moreover, GTM helps quite a lot of tags for various advertising and marketing platforms, not simply from Google’s suite of instruments. This compatibility extends its utility as a centralized software for managing quite a lot of completely different advertising and marketing knowledge streams. With the flexibility so as to add, edit, and disable tags at a second’s discover, entrepreneurs acquire a major quantity of management over their knowledge assortment and reporting processes.

In a nutshell, for anybody trying to streamline their web site’s code and improve their advertising and marketing efforts with minimal technical necessities, Google Tag Supervisor is an indispensable software.

Now, let’s stroll by the best way to set up Google Tag Supervisor in your web site. It solely takes 4 steps and you might be achieved in about 10 minutes.

Step 1: Create A Google Tag Supervisor Account

Getting began with Google Tag Supervisor is easy, and step one is to arrange an account. If you have already got a Google account for companies like Gmail, Google Drive, or Google Analytics, you should use the identical account to check in to Google Tag Supervisor. If not, you’ll must create a brand new Google account.

  • Go to Google Tag Supervisor. Open your net browser and go to the Google Tag Supervisor web site ( Right here, you’ll be greeted with the choice to check in or create an account.
  • Register or join. Click on on the “Register” button when you have an present Google account, or select “Create account” if that you must make a brand new one. Observe the on-screen prompts to check in or to create your new Google account.
  • Create your GTM account. As soon as signed in, you can be prompted to create a brand new GTM account. Click on on the “Create Account” button situated within the prime proper nook.
  • Enter your account particulars. You will want to supply a reputation to your GTM account. Google recommends solely having one GTM account per firm, even when you have a number of web sites, so that is sometimes the title of your organization or group. Underneath the identical part, you can be requested to pick out your nation.

screenshot of the GTM "add an account" screen showing the Account Name and Country fields

The following step will probably be to arrange and set up a container and tags in your web site. There are just a few other ways you are able to do this, and we’ll stroll you thru two simple methods under.

Get Content material Delivered Straight to Your Inbox

Subscribe to our weblog and obtain nice content material identical to this delivered straight to your inbox.

Step 2: Set up Google Tag Supervisor Code On Your Web site (2 Strategies)

Earlier than you possibly can set up GTM in your web site, you’ll want to complete organising your account by making a container. The container is the piece of code you add to your web site to make Google Tag Supervisor work. You sometimes create a singular container for every web site you put in GTM on, so while you get to the subsequent part within the account setup stream, the place you enter your “Container Identify,” you’ll sometimes select your web site title or URL.

screenshot of the lower half of the account creation screen showing the "container name" field and the "target platform" types

Subsequent, you’ll choose your “Goal Platform.” For web sites, select “Net.”

Lastly, click on “Create.” It will finalize your account and create your first container. You’ll see two pop-ups:

  • The primary one is the Google phrases of service. Test the field on the backside of the web page and click on “Sure”  on the prime proper nook to just accept them.
  • The second is a how-to information, which incorporates the code snippets you’ll want to put in your container in your WordPress web site. It additionally explains the place to repeat and paste the container code, however extra on this under.

Google Tag Manager's how-to guide, which includes the code snippets you'll need to install your container on your WordPress site. It also explains where to copy and paste the container code.

#1: Manually Add GTM Code

So as to add the container to your WordPress web site manually, you’ll want to repeat these items of code from the pop-up and paste them into your web site’s supply code.

Right here’s what to do:

Log into your WordPress account. What you do subsequent will range relying on the model of WordPress you utilize, your internet hosting firm, and your theme, however that you must discover the supply code to your theme information.

The navigation bar on the correct is an effective place to begin. Search for “Theme File Editor” both beneath Appearances or Instruments. For those who can’t discover the supply code, skip to Choice #2, which is way simpler for learners.

DreamHost Glossary

Theme Editor

The WordPress theme editor is a textual content editor that allows you to edit a theme’s information straight from the admin dashboard. You should utilize the editor to add new information and take away any undesirable ones.

Learn Extra

screenshot of the "appearance" drop down menu in WP showing "theme file editor" on the bottom

Since WordPress themes range in design and performance, their theme code could range, too. You’re searching for the file for the header. A typical title for it’s header.php. For those who can’t discover it, contact your theme developer for assist.

screenshot of the "theme header" code on the right-hand side of the file content code

Contained in the header file, discover the and tags. Copy the primary code snippet to your container and paste it as excessive up within the part as potential.

Subsequent, discover the tag. Copy the second code snippet to your container and paste it proper after the opening tag.

Click on “Replace File” to save lots of your adjustments.

Return to GTM and click on “Preview”. It will open a brand new window to attach Google Tag Assistant to your web site. Enter your web site URL and click on “Join”.

A brand new window to your web site will open, and Google Tag Assistant will notify you if the connection is profitable. As soon as it’s linked, click on “End”, return to the earlier window, and click on “Proceed”. It is best to see “Google Container Discovered” on the prime of the display screen, which signifies that set up of GTM in your WordPress web site is full.

Click on the “Submit” button. Enter the model title and click on “Publish”.

#2: Use A Plugin To Set up GTM

The second methodology for putting in GTM on a WordPress web site is utilizing a plugin. This methodology doesn’t require you to edit your web site’s supply code, so it might be extra appropriate for learners.

A easy, free plugin to make use of for that is Insert Headers And Footers. After creating your GTM account and organising your container, right here’s what to do:

Go to your WordPress admin web page. Navigate to “Plugins”, then “Add new”, and seek for “Set up Headers and Footers.” As soon as you discover it, click on “Set up Now.”

screenshot of the "plugins" dropdown in the WP menu showing "add new plugin" as the second option

Go to “Settings”, then “Insert Headers and Footers”.

settings dropdown in the WP menu showing "WP headers and footers" towards the bottom

Copy the code snippets from the containers in your GTM account and paste them into the corresponding containers in “Insert Headers and Footers”.

screenshot of the "scripts in header" text field

Click on “Save”.

Step 3: Add A Tag

With Google Tag Supervisor code put in in your web site, you’re now prepared to begin including tags. Tags can be utilized for quite a lot of functions, from monitoring web site analytics to remarketing and conversion monitoring. Right here’s the best way to add your first tag:

Go to the Google Tag Supervisor dashboard (  and choose the Container Identify you simply created.

Click on on the “Add a brand new tag” button.

right-hand menu in the GTM menu that appears after adding "add a new tag" with different tag type options

For those who’re simply beginning, you would possibly wish to create a Google Analytics monitoring tag. This is among the commonest methods to make use of GTM, and GA4 supplies tons of the way to make use of tags to trace real-time web site knowledge and metrics. For a GA4 tag, title it one thing descriptive like, “GA4” or “GA4 Configuration.”

Within the Tag Configuration field, choose “Google Tag”. Within the Tag ID subject, enter your Google tag ID. Click on “Save”.

screenshot of the "choose a trigger" screen showing the options for all pages, consent initialization - all pages, and initialization - all pages

After configuring your tag, that you must outline when it’ll fireplace. Click on on the “Triggering” part and select a set off. For instance, to trace all web page views, you’ll choose the “All Pages” set off. Triggers might be as broad or as particular as you need – GTM provides you a number of management.

Step 4: Confirm GTM Is Put in & Sending Information

Earlier than you save and publish your tags, it’s essential to make sure the whole lot is working appropriately. Right here’s how one can confirm that GTM is put in correctly and the tags are sending knowledge:

GTM provides a built-in Preview mode that allows you to see which tags are firing in your web site. Click on “Preview” on the GTM dashboard to your web site, enter your web site’s URL, after which navigate to your web site. You will notice a debug window on the backside of your web site that exhibits which tags are firing and which aren’t.

screenshot of the tag manager "preview" option in the top right

Subsequent, you possibly can search for real-time knowledge in Google Analytics. For those who’ve arrange a Google Analytics tag in GTM, go to your Google Analytics account and navigate to the Realtime report. For those who see lively customers in your web site (it’s possible you’ll must navigate round your web site to generate knowledge), this means that GTM is appropriately sending knowledge to Google Analytics.

screenshot of the "Realtime" GA report right under "Reports snapshop" in the menu

For a extra technical verify, you should use your browser’s developer instruments to examine the community requests being made when a web page in your web site masses. Search for community calls to ‘’ or different related domains, which may affirm that tags are firing.

By taking these steps, you’ll be capable to confidently affirm that Google Tag Supervisor is put in appropriately and that your tags are amassing and sending knowledge as anticipated. If there are any points, the data supplied by these verification strategies may also show you how to troubleshoot any issues.

Often Requested Questions

Can I set up Google Tag Supervisor on completely different varieties of web sites?

Sure, Google Tag Supervisor might be put in on all forms of web sites, together with these constructed with HTML, PHP, WordPress, Shopify, and different content material administration techniques or e-commerce platforms.

Can I take advantage of a plugin for my CMS to put in Google Tag Supervisor?

Completely. Many content material administration techniques, like WordPress, have plugins out there that make integrating Google Tag Supervisor simpler. Simply seek for GTM plugins inside your CMS’s plugin repository.

The place does the Google Tag Supervisor code go on my web site?

The Google Tag Supervisor code snippet consists of two components. The primary half needs to be positioned as near the opening tag as potential on each web page, and the second half needs to be instantly after the opening tag.

What’s the distinction between Google Analytics and Google Tag Supervisor?

Google Analytics is a software that collects and studies knowledge about web site site visitors and person interactions. Google Tag Supervisor, then again, is a tag administration system that permits you to simply replace and handle advertising and marketing tags (together with Google Analytics monitoring code) with out altering the code in your web site. Primarily, Google Analytics measures your web site’s efficiency, whereas Google Tag Supervisor helps you streamline the method of deploying and managing the tags that gather the info.

Get Extra Guests, Develop Your Enterprise

Our advertising and marketing specialists will show you how to earn extra site visitors and convert extra web site guests so you possibly can give attention to working what you are promoting.

marketing tips

Supply hyperlink

You might also like