coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: miealex on May 19, 2006, 05:00:59 PM

Title: Google Analytics problem
Post by: miealex on May 19, 2006, 05:00:59 PM
Hello. I want to implement Google Analytics on my Coppermine powered portfolio but there is one thing not ok.
I have to paste the Google code just before the </body> tag. I pasted it into the template.html of my theme.
It shows ok within the site but there's also this code appearing just before the </body> tag
<!--Coppermine Photo Gallery 1.4.2 (stable)-->

So the problem is Google code can't be recognized by Google Analytics bot because of this.
Where and what should I modify so this code <!--Coppermine Photo Gallery 1.4.2 (stable)--> doesn't appear anymore into my site's code?

My site is here so u can take a look at it: http://george.mielus.ro/

Thanks,
Alex
Title: Re: Google Analytics problem
Post by: Tranz on May 19, 2006, 05:03:56 PM
Why not post it in between the head tags where script tags tend to go?
<!--Coppermine Photo Gallery 1.4.2 (stable)--> is just a commented line that is not going to affect other code.
Title: Re: Google Analytics problem
Post by: Joachim Müller on May 19, 2006, 05:04:53 PM
cpg1.4.2 is outdated, upgrade to the most recent stable version asap!