Icy Phoenix

     
 

Problem With Google Analytics

Problem With Google Analytics

Article
Reply with quote    Download Post  
Post 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



 
Freddone - View user's profile Send private message  
Freddone [ Wed 03 Mar, 2010 18:15 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


Problem With Google Analytics

Comments
Reply with quote    Download Post  
Post 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.



 
alexlehm - View user's profile Send private message  
alexlehm [ Wed 03 Mar, 2010 21:51 ]
Reply with quote    Download Post  
Post 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



 
TheSteffen - View user's profile Send private message  
TheSteffen [ Thu 04 Mar, 2010 01:16 ]
Reply with quote    Download Post  
Post 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.



 
keteflips - View user's profile Send private message  
keteflips [ Tue 13 Mar, 2012 18:14 ]
Reply with quote    Download Post  
Post Re: Problem With Google Analytics 
 
This should have been fixed in latest dev release.



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Tue 03 Apr, 2012 23:23 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 1