URL contains more than one Google Analytics code
This means that the URL in question contains multiple Google Analytics snippets.
Why is this important?
Google Analytics is a popular, free tool for tracking website visitors and how they engage with content on your website.
This Hint highlights instances where more than one Google Analytics code was found, which might imply a configuration error - such as a plugin inserting an additional code.
However, it may also be deliberate and nothing to worry about. For instance, using multiple tracking codes might be useful if users with access to different properties need to see data from the same web site, or if you have multiple versions of a web site.
What does the Hint check?
This Hint will trigger for any internal URL that contains 2 or more Google Analytics tracking scripts within the rendered HTML.
Note: this Hint will not trigger if there is Google Analytics code siting within a Google Tag Manager container, as Sitebulb will not fire the GTM script in order to find the Google Analytics code.
Examples that trigger this Hint
The Hint would trigger for any URL which contains multiple Google Analytics tracking codes (e.g. UA-94756635-1), using any combination of the methods below.
Why is this Hint marked 'Advisory'?
The site may be deliberately tracking Google Analytics twice, which is entirely legitimate. However this Hint becomes useful if, as is often the case, the code has been accidentally duplicated.
This can cause both codes to send hits to the same property, resulting in inaccurate data collection. Google have a Chrome extension, Tag Assistant, which can help debugging these situations.
This Hint becomes useful when you audit a site that does actively use Google Analytics, as it will highlight the URLs for which the Google Analytics code is not present, allowing you to check and potentially fix this.