Read on to learn some of the ways we stay up to date with SEO updates and trends. Find the best sites and platforms that keep you informed.
Google Tag Manager (GTM) is an awesome tool that lets you to easily add tags to your website. With Tag Manager, you can deploy Google Analytics, add pixels, track events, and more. We’ll show you why you should use Tag Manager and how to set it up on a WordPress website.
Why you should use Google Tag Manager
If you’re using WordPress to power your website, Google Tag Manager can help you in a variety of ways. We think it’s a time-saving tool that lets us do a better job of managing digital marketing tasks. GTM can help you reduce the number of plugins you’re using, minimize code changes, and help you scale up digital marketing activities. We use it for many different tasks, including verifying Google Search Console, tracking link clicks, tracking paid campaign conversions, and event tracking. We could list others, but you get the gist.
How to set up Google Tag Manager on a WordPress website
There are a number of components that come together to make Google Tag Manager work. We’ll walk you through creating a Google Tag Manager account, installing GTM on your WordPress website, creating a tag, and publishing the container. You’ll want to make sure you have Google’s Tag Assistant extension, too. Let’s get started.
Create your Google Tag Manager account
- Open a new browser tab and go to https://tagmanager.google.com.
- Log in using your Gmail address. You’ll want to make sure you’re using the same Gmail address used to set up Google Analytics and Google Search Console.
- Fill out the Account Name. We recommend using the business name.
- Select your country of origin.
- Fill in the Container name. This is your domain name.
- Select Web.
- Select Create.
Install Google Tag Manager in WordPress
Once you create a Google Tag Manager account, you’ll be prompted to Install Google Tag Manager:
There are multiple approaches to getting the snippets on your WordPress website.
- Use your WordPress theme’s settings to add the code snippets to the <head> and <body> of your website, or
- Implement snippets using the popular and respected Insert Headers and Footers plugin, or
- Edit header.php directly to add the code snippets.
We’ll show how to add the Google Tag Manager code snippets to header.php:
- Log in to WordPress.
- In your theme files, access header.php.
- Add the code snippets to the <head> and <body> sections, respectively.
- Update the file.
- Go to your website URL.
- Enable Tag Assistant.
- Refresh your browser window and confirm Tag Manager has been installed on your website.
At this point, you’re all set. Google Tag Manager is on WordPress and you can start adding, testing, and deploying tags. If you’re looking to add Google Analytics to your website using the help of Google Tag Manager, check out How to add Google Analytics to your WordPress website.
Google Tag Manager can save you time, money, and can help you be more efficient with your digital marketing efforts. Setting up this tool on your WordPress site takes some work, but it also comes with a huge payoff. As you expand your digital marketing activities, think about how Google Tag Manager can help you measure your efforts. If you liked this post, check our blog for more tips. Happy tagging!