Page 1 of 1

Google Analytics not working

Posted: Fri Nov 23, 2007 1:04 pm
by koltregaskes
Hello,

I installed Google Analytics plugin ages ago, but not checked in the the Google Analytics page until today. When I log in all the stats are zero.

Anyone know what is wrong? My blog is www.squashyfrog.com/blog

Kol

Re: Google Analytics not working

Posted: Fri Nov 23, 2007 1:34 pm
by garvinhicking
Hi!

You did claim your blog properly and entered the right analytics code there? Use the google analytics check and let it tell you if everything'S right on your end.

Regards,
Garvin

Posted: Fri Nov 23, 2007 1:52 pm
by koltregaskes
Hi Garvin,

Ga says: The Google Analytics tracking code has not been detected on your website's home page. For Analytics to function, you or your web administrator must add the code to each page of your website.

On the plugin page I have ticked Entry Body, Extended Body, Comment and HTML Nugget as Yes.

Do I need to do anything else?

Kol

Posted: Fri Nov 23, 2007 2:05 pm
by garvinhicking
Hi!

Check if the Urchin-Tracker code in your HTML page output matches the one that google analytics tells you, especially if the _uacct matches.

Regards,
Garvin

Posted: Sat Nov 24, 2007 11:43 am
by koltregaskes
Shouldn't the plugin do all this for me?

Kol

Posted: Sat Nov 24, 2007 1:15 pm
by kleinerChemiker
no

how could the plugin know your account number?

Posted: Sun Nov 25, 2007 7:41 pm
by koltregaskes
Hi there,

Because you enter your account number when you set it up.

Kol

Posted: Mon Nov 26, 2007 11:35 am
by garvinhicking
Hi!

So does the account number match?

There must be some information about why google analytics does not pick up your code.

Regards,
Garvin

Posted: Mon Nov 26, 2007 1:34 pm
by koltregaskes
I've had a look at the HTML, the account number is fine but the code has been placed above the </head>.

Any ideas why it's done this and how do I correct it with the plugin?

Kol

Posted: Mon Nov 26, 2007 1:35 pm
by garvinhicking
Hi!

To test if this is really the case, could you edit the index.tpl file of your template and place the required code there?

If that works, I can try to change the plugin so that it emits its code there. In the past, analytics parsed the code anywhere in the HTML just fine.

Regards,
Garvin

Posted: Mon Nov 26, 2007 2:08 pm
by koltregaskes
I'm using the Newspaper template and from looking the its template directory I cannot see a index.anything file there.

Kol

Posted: Mon Nov 26, 2007 2:23 pm
by garvinhicking
Hi!

Then you can put the templates/default/index.tpl template file in your directory and edit that one.

Regards,
Garvin

Posted: Mon Nov 26, 2007 2:33 pm
by koltregaskes
OK done and added the HTML code just before </body> but GA still cannot find it. :-(

Kol

Posted: Tue Dec 04, 2007 1:51 am
by koltregaskes
Hello,

Do you have any other suggestions for this?

Kol

Posted: Tue Dec 04, 2007 10:35 am
by garvinhicking
Hi!

Sadly I haven't. Please contact the Google support to ask them what the trouble is. You are really sure that you'Re using the right analytics ID inside the script?

Regards,
Garvin