How to Install Google Tag Manager on your Wordpress

Google Tag Manager is a free way to manage all of the tracking code needed on your website.

Unless you are proficient with modifying WordPress Themes, is how to install Google Tag Manager in a WordPress site.

Step1: Create a Google Tag Manager Account

Step2: Now create a container, where you will store all the tags for your WordPress website. Use the name of your website as the name of this container (You may have other containers in the future for other websites). Choose “Web” for “Where to Use Container”.

Step3: Now go to the Admin section, and from the Container select “Create Container”.

Now your container is set up, open it and go to Admin.Now Click on the gear symbol next to “Install Google Tag Manager”.

This is the code snippet,now just copy the GTM Id and paste that in WordPress Plugin

To install Google Tag Manager,copy and paste that code snippet into WordPress.

If you are using a Purchased theme,then you might not want to edit your theme directly.Then you just modify your theme using a child theme. In both case, the process of pasting in the code snipped is similar.

Step4: Login to WordPress dashboard and navigate to Appearance > Editor.

Click on Theme Header file, this is the place where you need to add the code snippet

Testing Google Tag Manger is installed correctly or not using Tag Assistant

Now Test that Google Tag Manager is Correctly Installed in WordPress

Now use Tag Assistant (by Google) to make sure that Google Tag Manager is installed correctly.

Open the Chrome browser, and install Tag Assistant. Once Tag Assistant is installed, simply navigate to a page on your site, and click on the tag icon at the top of your browser. You should see a green tag labeled “Google Tag Manager”, indicating that GTM has been successfully installed.

That’s it now you can see that the Tag was Added Successfully.

If your not a developer and don’t want to edit the code and add those all stuff,Then there is way to make it simple by adding a plugin,visit this you can find how to setup google tag manager using plugin

Get a complimentary 30 minute marketing consultation and an audit report from our expert who has been awarded by LinkedIn Pro as ‘Best of 2017 & 2016’ in various categories including – ‘Marketing Consulting’, ‘Digital Marketing’ and ‘Lead Generation’.

Learn how other organizations are partnering with us for turnkey marketing services and solutions impacting real business outcomes.

Roy Lingam CEO,Delphi USMLE. Chicago

NectarSpot team successfully re-branded and revamped our old website to a fast loading and aesthetically pleasing within a short time frame of four weeks. NectarSpot designers and developers created a distinct UI/UX landing pages that communicates our brand as an established brand identity helping us to get more conversions. Our end users appreciate the site’s unique and polished presentation through an informative, well laid-out content and beautifully designed pages that helps a seamless interaction . The team is extremely organized and communicative and working with their team was seamless and highly collaborative. Their team is both technically and creatively talented. After creating relevant landing pages and revamping the entire site, NectarSpot is helping us to generate qualified leads through Google Ads campaign. We see a definitive increase in key web metrics such as higher conversion rate, lower bounce rate and higher engagement. We would highly recommend NectarSpot to anyone looking to up-brand their digital identity and get qualified leads.
Read More Testimonials....

Ryan Frederickson ArT Wine Preserver

NectarSpot team executed the Quick and solid build of AMP website. Not afraid of small tweaks here and there. The team has, from the beginning of project, focus on conversion and provided a seamless workflow for my prospects to visit, educate and finally purchase on my e-commerce portal. They provided design, development on AMP framework and helped to host e-commerce portal on scalable and secure google cloud. We are looking forward to working with them in future for other projects as well.
Read More Testimonials....

Read more to gain insights from our blogs.
Receive latest marketing insights, data and inspiration by subscribing .

Start Your Project Today (100% Satisfaction Guaranteed)

  • NectarSpot Inc. is an integrated digital marketing agency specializing in Design & Development of Web, Mobile & Voice Applications.
    We excel in providing Optimization, Automation, PPC & Analytics services to high performing brands across industries.

    Contact us today at +1 630 999 (7768) or email at to know more.

Need help?

We are right here!