Dear Sir,

I have now configured my Drupal site version 4.7.x with google analytics as per the info in drupla.org site.

But unfortunately there is no user report in google analytics.

Kindly advise.

Regards,
Sree Kumar
skumar24@gmail.com

Comments

budda’s picture

Priority: Critical » Normal

Does the tracking code appear in the footer of your sites html? How long have you left Google Analytics before posting this issue?

enboig’s picture

Version: 4.7.x-1.x-dev » 5.x-1.2

I also don't recive correctly my google analytics. It says just 61 visits in one week and a half. The javascript code appears at the bottom of the web (just before ):

the code which should appear according to google is:

_uacct = "UA-1837700-1"; urchinTracker();
enboig’s picture

I forget to post the "code" tags:
code that the module generates:

  <script type="text/javascript" src="http://www.google-analytics.com/urchin.js"></script>
<script type="text/javascript"><!--
_uacct = "UA-1837700-1";urchinTracker();
// --></script><noscript></noscript>

code google recommends:

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1837700-1";
urchinTracker();
</script>
brmassa’s picture

Status: Active » Fixed

sree and enboig,

1* google analytics on updates your report once a day. so it can take some time to see your report.
2* if you are tracking all registered users, it includes you. if you access your own site many times, google counts
3* if you are tracking anonimous users, all search bots (including google) will be considered as a visitor every time it scans your site.
4* both codes works. the module only uses the <!-- blablabla //--> in order to avoid old browsers (that doesnt work with javascript) go crazy. putting _uacct = "UA-1837700-1";urchinTracker(); on the same line has the same effect as different lines

regards,

massa

Anonymous’s picture

Status: Fixed » Closed (fixed)