Analytics
2.2K members online now
2.2K 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

Missing analytics.js script

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

 

Tag Assistant reports I have a "Missing analytics.js script" even though I installed the code according to GA's guidelines. 

I'm using WordPress on my site - http://www.searchi.co.il/ 

Can someone help?

 

Many thanks,

Ofer.

Re: Missing analytics.js script

Participant ✭ ☆ ☆
# 2
Participant ✭ ☆ ☆

Hi,

 

It is because your Google Analytics snippet is wrapped with 'timeout' function that is set to trigger in 20 seconds:

Screenshot_24.png

 

In this case, Tag Assistant finds the snippet but since the snippet is not executed, analytics.js is not being loaded and there is no GA pageview request. This is why you are receiving this error. If you are using a wordpress plugin for GA, please check that plugin's settings. Alternatively, you can try to use another wordpress plugin or you can put your GA snippet into your header template.

 

I hope this helps.

Regards