Jump to content

Google Analytics Tracking


horsthuis

Recommended Posts

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.

Link to comment
Share on other sites

its show on google.

https://www.google.com/analytics/web/?hl=nl&pli=1#management/Settings/xxxxxxxxxxxxxxxxxxxxxxxxxxx/%3Fm.page%3DTrackingCode/

 

 

Status: Tracking not installed
Last checked: 20-Feb-2014 7:42:06 PST
Google 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

Link to comment
Share on other sites

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>
Link to comment
Share on other sites

<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.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...