PDA

View Full Version : google analytics



mimik
29-04-2012, 03:21 AM
Can you please tell me where exactly should I place the google analytics code?

thank you

mimik
29-04-2012, 01:56 PM
way to go bro. Thanks for the help. It seems to be working fine now. Will it work on every single page on the of the script? just curious

paris
01-07-2012, 05:34 PM
hey, I'm also looking for this info.
Did you get a private answer?

wannashare
02-07-2012, 03:18 PM
Put it above the head tag, but put it inbetween tags so it will not be mistaken for PHP

paris
02-07-2012, 05:06 PM
ok I think I got this
Google specifies this has to be placed at the end of the head tag content.
Also I had to place the code between {literal} smarty tags otherwise the page wouldn't load up.

e.g
<head>
....
....
{literal}
"your google analytics code"
{/literal}
</head>

Above is in the header.tpl file