Problem With Google Analytics »  Show posts from    to     

Icy Phoenix


Old Support Topics - Problem With Google Analytics



Freddone [ Wed 03 Mar, 2010 18:15 ]
Post subject: Problem With Google Analytics
Hello everyone,
I have a problem with google analytics.

From acp i placed the code copied from goolge in the textbox:

Quote:
....
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
.....


and I like prints in the html code:

Quote:
....
<script type=\"text/javascript\">
var gaJsHost = ((\ "https: \" == document.location.protocol)? \ "https: / / ssl. \": \ "http://www. \"); .....


Can someone help me?

Tnx


alexlehm [ Wed 03 Mar, 2010 21:51 ]
Post subject: Re: Problem With Google Analytics
this looks like an issue with php magic_quotes, there are quite a few php programs that do not work with magic quotes enabled.


TheSteffen [ Thu 04 Mar, 2010 01:16 ]
Post subject: Re: Problem With Google Analytics
I had the same problem... but I don't know how I fixed it.

A workaround is:

OPEN templates\default\overall_footer.tpl
FIND
Code: [Hide] [Select]
{GOOGLE_ANALYTICS}

REPLACE WITH
Code: [Hide] [Select]
Inser the code you get from Google Analytics


Clean cache after it


keteflips [ Tue 13 Mar, 2012 18:14 ]
Post subject: Re: Problem With Google Analytics
Same problem here.
I fixed it by adding the code to the overall_header.
But if IP have a section to add this code I think this might be a bug.

Thanks.


Mighty Gorgon [ Tue 03 Apr, 2012 23:23 ]
Post subject: Re: Problem With Google Analytics
This should have been fixed in latest dev release.




Powered by Icy Phoenix