Analytics
1.8K members online now
1.8K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

Google Tag Assistant says missing analytics.js script but I see it

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I just added Google Tags Assistant & when I ran it, I got the report "Missing analytics.js script"

 

 

I'm a bit confused as I see it here:

 

<script type="text/javascript">

(function(i,s,o,g,r,a,m){i["GoogleAnalyticsObject"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,"script","https://teales.co.uk/sites/default/files/googleanalytics/analytics.js?opqg6c","ga");ga("create", "UA-**********", {"cookieDomain":"auto"});ga("set", "anonymizeIp", true);ga("send", "pageview");
//--><!]]>
</script>

 
1 Expert replyverified_user

Google Tag Assistant says missing analytics.js script but I see it

Top Contributor
# 2
Top Contributor

Hi,

 

Tag assistant cannot detect the analytics.js script because you are not loading it from the default source.

Your tracking should still work fine if the analytics.js script is available at the specified location despite the error in tag assistant.

If you change https://teales.co.uk/sites/default/files/googleanalytics/analytics.js?opqg6c to https://www.google-a... the error will go away. Hope this helps.


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Google Tag Assistant says missing analytics.js script but I see it

A T
Participant ✭ ✭ ✭
# 3
A T
Participant ✭ ✭ ✭

you can use GA debugger chrome extension, It is much easier too. :-)

 

https://chrome.google.com/webstore/detail/google-analytics-debugger/jnkmfdileelhofjcijamephohjechhna...