Where should I past Google Analytics code ? Where should I past Google Analytics code ?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Where should I past Google Analytics code ?

Started by pawelfoto, December 19, 2009, 06:51:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pawelfoto

HI,

I am a new register user in G. Analytics, and I am not sure, where to put a code, to get the correct statistics?

It seems to me, it must be in theme/template.html file in somewhere between <head></head>

Am I right?


www.pawelfoto.com

phill104

Why not try it and see? Google will very quickly tell you if you get it wrong.
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

It needs to go into themes/yourtheme/template.html, at the end of the body section, right above the closing</body>tag, exactly as suggested on the google analytics page.