Problem With Google Analytics


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) ? "h**ps://ssl." : "h**p://***.");
.....


and I like prints in the html code:

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


Can someone help me?

Tnx :)

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.

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: [Download] [Hide] [Select]
{GOOGLE_ANALYTICS}

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


Clean cache after it ;-)

Profile PM  
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.

Profile PM  
Subject: Re: Problem With Google Analytics
This should have been fixed in latest dev release.


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.2496s (PHP: 7% SQL: 93%)
SQL queries: 15 - Debug Off - GZIP Enabled