Site Analytics Javascript into Penguinmail Template

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Mon Apr 30, 2012 6:56 pm
Hello all.

I'm using Go Daddy Site Analytics for my site, and need to insert the analytics javascript into my index.php

I've read documentation and seen videos on how to do this and seems the idea is to paste the javascript before the usual </body> tag.

However, index.php for Penguinmail template seems to have very little code and no tags.

Where should I insert my site analytics javascript ? What am I doing wrong ?

I tried opening body tag, insert javascript and closing body tag in index.php and it gave me error message.

Thanks for your time.
User avatar
Junior Boarder

teitbite
Fri May 04, 2012 12:45 pm
Hi

Please insert it to /layouts/default.php for default template and to other files in this folder if You are using mobile template.
User avatar
Moderator

GK User
Fri May 11, 2012 5:24 pm
Hi, thanks for reply. I inserted it into footer.php as was suggested by another moderator and worked great.
User avatar
Junior Boarder

teitbite
Mon May 14, 2012 2:07 am
Hi

Yes that's also good. But to cover mobile templates You need also add it to it's designed files, like for example /layouts/iphone.php
User avatar
Moderator

GK User
Thu May 24, 2012 12:32 am
Oh is that right? Otherwise it won't register visits from mobile devices?
User avatar
Junior Boarder

teitbite
Thu May 24, 2012 8:44 am
Hi

If You're gonna add this code to every template than it will count every visit. You can also use a build in template google analitics connection.
User avatar
Moderator

GK User
Mon May 28, 2012 11:26 pm
Ok, I'll add it to all the individual mobile .php files. Thanks.
User avatar
Junior Boarder

teitbite
Tue May 29, 2012 11:39 am
Hi

No problem. Glad I could help.
User avatar
Moderator


cron