Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Where should I past Google Analytics code ?  (Read 3624 times)

0 Members and 1 Guest are viewing this topic.

pawelfoto

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Where should I past Google Analytics code ?
« on: December 19, 2009, 06:51:32 pm »

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
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Where should I past Google Analytics code ?
« Reply #1 on: December 19, 2009, 07:13:45 pm »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Where should I past Google Analytics code ?
« Reply #2 on: December 20, 2009, 07:59:13 pm »

It needs to go into themes/yourtheme/template.html, at the end of the body section, right above the closing
Code: [Select]
</body>tag, exactly as suggested on the google analytics page.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.