Google Analytics problem Google Analytics problem
 

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

Google Analytics problem

Started by miealex, May 19, 2006, 05:00:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

miealex

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

Tranz

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.

Joachim Müller

cpg1.4.2 is outdated, upgrade to the most recent stable version asap!