google analytics don´t work

GK User
Fri Dec 23, 2011 7:03 pm
Hi,
I have already added a rule in background template. Google don´t detect any rule code script in my website!....How can i do it manually (Where is the php file with the head tag?.....is not in the index.php file template) ?
User avatar
Fresh Boarder

GK User
Sat Dec 24, 2011 12:32 pm
Hi,

Try adding it to bottom of this file \layouts\blocks\head.php under your template folder.
User avatar
Platinum Boarder

GK User
Sun Dec 25, 2011 1:38 pm
Sorry,...still don´t work!
After do what you said and save ....i go to site and i see a white page with nothing there!
User avatar
Fresh Boarder

GK User
Sun Dec 25, 2011 1:39 pm
So....perhaps the google code works.....but the site crash!
Could you help me?
User avatar
Fresh Boarder

GK User
Sun Dec 25, 2011 2:35 pm
Oops! you have to close PHP first by adding this "?>" at end of the file before adding your GA code.
Code: Select all
//Current code here
?>
//Your GA code goes here
User avatar
Platinum Boarder

GK User
Mon Jan 30, 2012 12:06 pm
Hello

where I can manually put the google analytics code?

what is the file?
User avatar
Fresh Boarder

GK User
Mon Jan 30, 2012 2:19 pm
You can add it to bottom of this file as well: \gk_game_magazine\layouts\blocks\footer.php
User avatar
Platinum Boarder


cron