horsthuis Posted February 20, 2014 Share Posted February 20, 2014 Hi all, I have searched for information about this in this forum and on the internet but still cannot et this to work. I am using CubeCart 5.2.8. In the settings i have added my google analytics code. its almost 48hours ago now. It is still not tracking anything. Status: tracking not installed I assume if i just add the code it should work? What is wrong and what do I need to do. Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 20, 2014 Share Posted February 20, 2014 Welcome horsthuis! Glad to see you made it to the forums. Please tell us where the Status indicator you quoted above is being shown. Somewhere on Google? A setting in CubeCart? Quote Link to comment Share on other sites More sharing options...
horsthuis Posted February 20, 2014 Author Share Posted February 20, 2014 its show on google. https://www.google.com/analytics/web/?hl=nl&pli=1#management/Settings/xxxxxxxxxxxxxxxxxxxxxxxxxxx/%3Fm.page%3DTrackingCode/ Status: Tracking not installedLast checked: 20-Feb-2014 7:42:06 PSTGoogle Analytics tracking code has not been detected on the homepage of your website. Analytics works only if you or your web administrator add the code to each page of your website. I added my code UA-xxxxxxx My site: http://www.horsthuis-computers.nl/winkel Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 20, 2014 Share Posted February 20, 2014 With the latest few versions of CC5, the European Union has made it mandatory for visitors to your site to be made aware of, and agree to, the use of cookies - the acknowledgement. So, if you have admin, Store Settings, Features tab, Enable EU Cookie Compliance enabled, and the visitor has not yet accepted or rejected the acknowledgement, then the Google Analytics code will not appear in the HTML sent to the browser. Therefore, please ask your browser to show you the HTML source and, just above the </head><body> tags, look for a <script> with _gaq variables. Check to see if your GA ID code is in or near that <script> block: <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'YOUR_GA_ID_CODE']); _gaq.push(['_trackPageview']); (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> Quote Link to comment Share on other sites More sharing options...
horsthuis Posted February 20, 2014 Author Share Posted February 20, 2014 <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-xxxxxxxx-1']); _gaq.push(['_trackPageview']); (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> </head> <body> Its there! But somehow its found the tracking ID now. maybe takes 48h+ now.Status: Received data Thx for the help. Got 2 more issues and will make a new post. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.