1
boumbo
Can't get google analytics to pick up my tracking code on Xoops
  • 2007/7/3 19:37

  • boumbo

  • Just popping in

  • Posts: 37

  • Since: 2006/9/25


Hi everyone,

I am trying to install the tracking code in the /theme directory but it doesn't seem to be picking up by google.


I followed the procedure at the following page:
https://xoops.org/modules/smartfaq/faq.php?faqid=593&com_id=36805&com_rootid=28749&com_mode=flat&com_order=0#comment36805
and I added the javascript just before the tag:




Of course, replacing the UA-XXXXXX-X with actual numbers.

Google analytics, gives me a Tracking Unknown stating that it can't find the tracking code.

I also checked to make sure that its on the live pages, and it is.

Should I wait for a day at least until it picks it up?

Does anyone know why its not picking up?

BTW, I'm using XOOPS ver 2.2.2

Thanks.

2
Tobias
Re: Can't get google analytics to pick up my tracking code on Xoops
  • 2007/7/3 21:51

  • Tobias

  • Not too shy to talk

  • Posts: 172

  • Since: 2005/9/13


You should wait for a day at least before you start complaining.

If you give us a link to your site, we can see whether we get your google tracking cookie (or whether we're correctly blocking it ). Plus, you get an incoming link.

You can also see it by yourself, if you list your cookies in your browser. You should have that ugly urchin uawhatnowi thing listed under the cookies for your site if google analytics is picking it up.

3
AndyM
Re: Can't get google analytics to pick up my tracking code on Xoops
  • 2007/7/3 23:07

  • AndyM

  • Quite a regular

  • Posts: 296

  • Since: 2003/8/31


You may have to go into the prefs and tell XOOPS to update changed templates, otherwise the new code won't be seen.

4
Alex_Grey
Re: Cant get google analytics to pick up my tracking code on Xoops
  • 2007/7/4 0:31

  • Alex_Grey

  • Just popping in

  • Posts: 43

  • Since: 2007/6/16


for me.. Google analytics took only like 15 minutes.
“There is nothing impossible to him who will try.” ~Alex The Great~
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

5
boumbo
Re: Cant get google analytics to pick up my tracking code on Xoops
  • 2007/7/5 13:08

  • boumbo

  • Just popping in

  • Posts: 37

  • Since: 2006/9/25


To answer your question Tobias.

I did wait for 1 day, and it still says Tracking Unknown
The site in question is:
http://www.minacom.com
You will see in the source code that its at the bottom before the tag and even in the tag.

And I looked in my cookie list and urchin is not there :(

As for update changed templates. If your talking about:
"Update module template .html files from themes/your theme/templates directory?"

Then it is set to YES.

I don't know what else I can do.

Regards,
Pat

6
terrion
Re: Cant get google analytics to pick up my tracking code on Xoops
  • 2007/7/5 13:15

  • terrion

  • Friend of XOOPS

  • Posts: 299

  • Since: 2004/9/19


Try adding the google tracking script to the bottom of footer.php.
Terrion
Purchase, renew, or transfer your domain name to Ultranet Domains and get a FREE 10GB hosting account. Virtual Dedicated Servers around $35/monthly, no contract. FREE 24/7 telephone ...

7
iHackCode
Re: Cant get google analytics to pick up my tracking code on Xoops

I put it in the main menu on my site. (not sure if my post is helpful at all,but the main menu is everywhere on my site and still there when i change themes)
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

8
boumbo
Re: Cant get google analytics to pick up my tracking code on Xoops
  • 2007/7/5 14:26

  • boumbo

  • Just popping in

  • Posts: 37

  • Since: 2006/9/25


Should I be using the php version google provides for putting in a php file for footer.php ?

BTW, I verified the report for minacom.com and its showing me statistics of users going on the website. I don't understand how that can be possible, since the tracking code is not recognized...???

9
studioC
Re: Cant get google analytics to pick up my tracking code on Xoops
  • 2007/7/5 16:41

  • studioC

  • Friend of XOOPS

  • Posts: 922

  • Since: 2003/12/7


boumbo, as far as I can judge, the code is placed correct at the bottom of the themefile just befor the closing body tag (
Perhaps(!) google analytics doesn't like to have the script more than once in the source, so you may delete the one from head tag?

michael

Login

Who's Online

311 user(s) are online (212 user(s) are browsing Support Forums)


Members: 0


Guests: 311


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits