Tag auditing is the process of scanning tags on your website to ensure that you are collecting data accurately.
By conducting tag auditing, we are just making sure that all the data collecting tools, like Google Analytics, Google Tag Manager, Facebook and any third party tools, are tracking codes implemented on your website are working properly without any issues. Tag auditing is a first step to ensure that we are collecting the right data.
You can perform a tag audit manually or by using tag auditing tools. It is only easy to do manual audits if you have very few pages on your website. However, for medium or large size websites, it is not possible to do manual audits. In such cases, you need to consider using one of the tag auditing tools which are available on the market.
These systems should be able to crawl your website and look for those tags which are broken and also inform you of the tags which are working correctly. This process needs to be carried out in regular intervals to make sure that the data you collect from your website is accurate, which is key to making important business decisions.
Why Do We Need Tag Auditing?
The main goal of tag auditing is to identify points of failure (broken tags) on your website and make sure that they are fixed on time. This in turn ensures we are collecting accurate data in our analytics system.
Below are some of the key points that we should be covering as part of our tag auditing plan:
Does every page on the website have Google Analytics tracking code implemented?
Does every page have the correct analytics tracking code?
Do we have multiple property IDs implemented on our website?
Are there any tags that are firing multiple times on the website?
Are we using the right accounts to link Google Analytics to other tools?
Tag auditing is used to identify various tags (tag is a piece of JavaScript code) on a website for the purpose of:
Identifying and removing tags that no longer serve the purpose and should be removed in order to clean the website code.
Migrating non-Google tags (like Facebook tags, Omniture tags) to Google Tag Manager.
In tag auditing, we identify all the tags currently being deployed on a website. It doesn’t matter whether these tags fire or not. They need to be identified and then updated, migrated or removed.
There are three methods through which you can identify various tags on a website:
There are various free and paid tag auditing tools available in the market. The ones which I frequently use are:
Google Tag Assistant
Ghostery
Tag Inspector
Google Tag Assistant
Google Tag Assistant is a Chrome extension through which you can identify and validate the implementation of various Google Tags fired on a web page.
Once the extension is added, make sure that it is enabled. If the extension is in a disabled state, first enable it and reload the page. Once you have reloaded the URL after enabling the extension, you will see all the tags found on the page.
In the extension, you can see different colors next to the tag type. Every color in the tag assistant indicates a different meaning of the tag performance.
Red color means that there is an issue with that specific tag that needs to be addressed immediately.Click on the tag shown in red to find out what is the issue and how to fix it.
Yellow color means minor issues with the implementation and needs to be corrected immediately otherwise we might find tracking discrepancies.
Blue color means non-standard implementation has been found on your website. Though it is not an issue that should be fixed immediately, you can look into it and follow the standard way of implementation.
Green color means all the tags found on your website are working as expected.
Additionally, you can click on each tag to view what information is collected.
Just like Google Tag Assistant, it has its own shortcomings:
It can’t identify tags across a website.
It can’t identify tags that don’t fire (as they are either broken or waiting for an event to occur first)
Get my best selling books on Attribution Modelling
Learn to implement attribution modelling in your organisation
Understand the customer purchase journey across devices
Determine the most effective marketing channels for investment
Click book covers to find out more
Tag Inspector
You can also use a tag inspector to conduct a tag audit on your website. This tool basically helps us understand below by running an audit on our website:
What are the tags on your site?
On which pages are these tags present?
Which pages have missing tags?
It also provides how the tags are implemented (in source code, or through tag management system)
They have free plans and paid as well. Free is limited to 50 or fewer pages. You need to register with your business email and you can start your scan.It’s basically a three-step process.
Step-1: You need to register with your business email and click on the “Start a new scan” on the top right side.
Step-2: Now provide the URL of your website and click on the next step.
Step-3: In the second step, based on your scanning requirements, you can enable to include subdomains, select specific user agents like Chrome, Firefox or region. Click on ‘Next step’.
Step-4: Click on ‘Begin scan’ and Tag Inspector will begin scanning your pages.
Step-5: Now your report will be ready with a summary of how tags are loaded on your site. You can also export the report.
In the results, you can see the tags found on the website and how they are loaded.
Manual Tag Auditing
I manually search for a tag on a web page if it is not picked up by Google Tag Assistant or Ghostery. Generally, this happens when a tag is broken and thus can not be fired on page load.
For example, if your GTM container code is broken (maybe due to formatting issues) then it won’t be picked up by Google Tag Assistant. In that case, you look into the source code of the page, search for ‘gtm.js’ file to find the location of the GTM container code and determine what is wrong with the code.
I also do manual tag auditing while diagnosing ecommerce tracking issues.
Generally, the ecommerce tracking code is placed on the order confirmation page which can not be accessed directly through any third party tag auditing tool or website scraper.
In fact, any web page which is hidden behind a login or some sort of authentication system can not be scanned by any third-party tool and manual auditing is required.
Website Scraper Tools
Website scraper tools like Screaming Frog SEO spider can be used to identify tags across a website of any size.
I use Screaming Frog for tag auditing and for diagnosing tracking issues. Don’t be fooled by its name. It is much more than an SEO tool. This tool is capable of crawling your complete root domain to find out any issues with the tags implemented on the page. Although it is not a free tool, it is efficient in tag auditing for small and medium-sized websites.
It is a powerful website crawler through which you can identify any piece of code (and its occurrences) across a website of any size and it is not very expensive either. There are other better alternatives to Screaming Frog, when it comes to tag auditing but they will cost you thousands of dollars a year, a price not many are ready to pay.
Also, no paid tag auditing tool I know is able to audit Google Analytics tags the way I am going to show you in the next few minutes.
My tag auditing system will help you in identifying different types of Google Analytics trackings installed on a website like:
Event Tracking
Cross-domain tracking
Social Interactions tracking
User ID
Custom dimensions
Custom metrics
and many more
Through my tag auditing system, you can:
Identify the pages where GA/GTM tags are found.
Identify the pages where GA/GTM tags are not found.
Step-2: Uncheck following checkboxes to speed up your crawl:
Check images
Check CSS
Check JavaScript
Check SWF
Check External Links
By unchecking these checkboxes you will greatly reduce the crawling time especially if your website has got hundred or thousands of web pages.
Step-3: Go to the Configuration menu and click on ‘Custom’:
Step-4: Set up the following custom filters:
Note: The search strings (like analytis.js) that I have selected to find particular tags are based on the special characters which Screaming Frog SEO Spider can detect.
I am using the latest version of this crawler which is 3.3 and this version supports the following special characters:
= (equals to)
/ (slash)
. (dot)
– (dash)
: (colon)
‘ (single quotation mark)
Screaming Frog is not able to detect strings which contain any of the following special characters:
_ (underscore)
( (parentheses)
[ (bracket)
? (question mark)
Step-4: Now start the crawl and once the crawl is finished, click on the Custom tab on the right-hand side:
Under the ‘Filter’ drop-down menu, you can see all the filters you set up before starting the crawl.
Select one of the filters from the drop-down menu.
You can now filter out all those web pages which contain or do not contain your specified tags.
You can then download the list into Excel by clicking on the ‘Export’ button and then update/remove the tag code from a page.
Following is the list of tags along with their search string for easy reference:
"How to use Digital Analytics to generate floods of new Sales and Customers without spending years figuring everything out on your own."
Here’s what we’re going to cover in this training…
#1 Why digital analytics is the key to online business success.
#2 The number 1 reason why most marketers are not able to scale their advertising and maximize sales.
#3 Why Google and Facebook ads don’t work for most businesses & how to make them work.
#4 Why you won’t get any competitive advantage in the marketplace just by knowing Google Analytics.
#5 The number 1 reason why conversion optimization is not working for your business.
#6 How to advertise on any marketing platform for FREE with an unlimited budget.
#7 How to learn and master digital analytics and conversion optimization in record time.
My best selling books on Digital Analytics and Conversion Optimization
Maths and Stats for Web Analytics and Conversion Optimization
This expert guide will teach you how to leverage the knowledge of maths and statistics in order to accurately interpret data and take actions, which can quickly improve the bottom-line of your online business.
Master the Essentials of Email Marketing Analytics
This book focuses solely on the ‘analytics’ that power your email marketing optimization program and will help you dramatically reduce your cost per acquisition and increase marketing ROI by tracking the performance of the various KPIs and metrics used for email marketing.
Attribution Modelling in Google Analytics and BeyondSECOND EDITION OUT NOW!
Attribution modelling is the process of determining the most effective marketing channels for investment. This book has been written to help you implement attribution modelling. It will teach you how to leverage the knowledge of attribution modelling in order to allocate marketing budget and understand buying behaviour.
Attribution Modelling in Google Ads and Facebook
This book has been written to help you implement attribution modelling in Google Ads (Google AdWords) and Facebook. It will teach you, how to leverage the knowledge of attribution modelling in order to understand the customer purchasing journey and determine the most effective marketing channels for investment.
About the Author
Himanshu Sharma
Founder, OptimizeSmart.com
Over 15 years of experience in digital analytics and marketing
Author of four best-selling books on digital analytics and conversion optimization
Nominated for Digital Analytics Association Awards for Excellence
Runs one of the most popular blogs in the world on digital analytics
Consultant to countless small and big businesses over the decade
Learn and Master Google Analytics 4 (GA4) - 126 pages ebook
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Cookie
Duration
Description
cookielawinfo-checkbox-analytics
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional
11 months
The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy
11 months
The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.