Google Tag Manager Simplifies Code, Speeds Site

May 3, 2016

Yesterday I described The Many Elements of Web Site Speed. There are many variables that can be fine tuned to add more speed. Some have a small effect, others have a big effect. Today I want to talk about one change that can simplify maintaining a site while also adding speed. Is it a huge speed boost? Probably not, but every little bit helps.

Most Web sites have at least some way to track the traffic on the pages of their site. One of the most popular is Google Analytics. Each of these trackers requires a few lines of codes on a Web site. Often sites will have more than one. We currently use three on our sites, and each snippet of code is reaching out to different servers. Should we need to change the code, we have to change it on each of our eight sites.

That’s where Google Tag Manager comes into play. It allows you to add each of the tracking tags in a single location and it then provides a single piece of code to load all of the tags from Google’s server.

google-tag-manager

The screen shot above is from the screen where you add tags. Google Analytics is the first option listed and many of the other popular services have a built-in wizard. If your service isn’t listed, just use the Custom HTML Tag and put in the snippet of code. One of the benefits is that you can come back to Google Tag Manager (GTM) to change any of the tags and those changes will automatically be pushed to all sites using the GTM code. This is great for managing these tags on our eight sites.

Another benefit is more speed as each of the scripts within the GTM code load asynchronously so the rest of the elements on the page don’t have to wait for them to complete. As soon as I switched our tracking tags to GTM, I noticed the each of the sites loaded faster. Not all of our sites have been updated as I write this, but this will likely be updated by the time you read this post.

If you want more details on how to implement it, read the excellent tutorial on RazorSocial entitled Google Tag Manager: An Essential Tool for Website Activity Tracking.

Post Discussion

0 Comments

Submit a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

You May Also Like…

Graphics Unleashed Digital Design Digest 2020 03

Digital Design Digest for April 12, 2022

Email hosting, marketing mix, Alt text, WordPress database, Email Optin Forms, handwriting fonts, Elon & Twitter and beer clubs. Those are just the tip of the iceberg in this week's headlines. Check out all the news listed below and click on...

Read More

Graphics Unleashed Digital Design Digest 2020 03

Digital Design Digest for March 15, 2022

Business plan, backlinks, duplicate content, SEO checklist, NGINX, flag emoji, social media facts, Tweetdeck and spaghetti trees. This week brought a wide range of content that can help you build your business. Check out all the headlines we've...

Read More

Graphics Unleashed Digital Design Digest 2020 03

Digital Design Digest for March 29, 2022

Email services, Google Domains, local search, sitemap audit, Apache web server, Email optin forms, emojis, GIFs, SPAM and perfect pizza! Those are only a few of the many topics covered in the stories we've included this week. Check out the...

Read More

Foster D. Coburn III

Foster D. Coburn III is author of 13 best-selling books on CorelDRAW and has been a contributor to numerous technology and graphics-related magazines. Foster has taken many projects, including this Web site, from the early design stage through to a finished piece. He has been a featured speaker at many graphics conferences. His first Web site was built in 1995 and he has been working exclusively in WordPress since 2013.

Recent Posts

Pro WordPress Help

WordPress Web Design and Maintenance

Graphics Unleashed Donations

$
Personal Info

Donation Total: $5