MuchDev Posted January 31, 2015 Share Posted January 31, 2015 So I am looking all over and am just banging my head against the desk on this one. I launched the other day, and have followed the Google documentation to the letter and still have yet to have any analytics populate on my view. I really wanna track this weekend but so far it's a no go. I am reaching out to you wonderful folks for a bit of insight on how to track this down. I have followed both the synchronous(the basic method listed with their documentation) and asynchronous method (using their specific documentation) to no avail. So here is the code <head> .... .... .... <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setDomainName', 'www.davidsongalleries.com']); _gaq.push(['_setAccount', 'UA-xxxxxxx-x']); <--using my proper id _gaq.push(['_trackPageview']); </script> </head> <body> ......... <script type="text/javascript"> (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> So that seems all well and good, I see the request using ga debug, and it lists via Ghostery but still nothing. What does this mean to you? Link to comment Share on other sites More sharing options...
Rinaldi Posted January 31, 2015 Share Posted January 31, 2015 In your GA dashboard, does it say that it's receiving data? If so, then there is nothing wrong with the code implementation. GA has a built-in threshold. Not sure exactly how to lift that but basically, if your new website doesn't get sufficient data, GA will not show it. Link to comment Share on other sites More sharing options...
MuchDev Posted January 31, 2015 Author Share Posted January 31, 2015 It does say receiving but I I got piles of traffic today and I'm not seeing any data. I feel as if I've done something wrong. I guess I have to attempt patience. Link to comment Share on other sites More sharing options...
Peter Knight Posted January 31, 2015 Share Posted January 31, 2015 Google Analytics isn't real time AFAIK. However, there is a real time feature in there. Load up your site and check if your own session is showing on your RealTime dashboard. BTW, your site checks out fine on http://www.gachecker.com/ 1 Link to comment Share on other sites More sharing options...
MuchDev Posted January 31, 2015 Author Share Posted January 31, 2015 Interesting! Well no I am getting no analytics of any kind which is why its so strange. I know that the script is in place and firing. I have tried it now in place at the head of my document and am recaching the site to see if that makes a difference. So the website is http://www.davidsongalleries.com and has 301s on non www and that domain is plugged into analytics. So friggin weird. Link to comment Share on other sites More sharing options...
MuchDev Posted February 1, 2015 Author Share Posted February 1, 2015 Well I tinkered with that thing for hours and google would not register anything no matter what I did. I wasn't getting any errors and I was picking up the answer gif which is the strangest part. Well I pretty much say screw it. I've got piwik running now and it is working great, any do's and don'ts that anyone wants to share? Maybe even tips or pointers on what modules are good? Link to comment Share on other sites More sharing options...
Recommended Posts