Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
dannam #1
Contribute corrupting Google analytics code
We have a google analytics script at the bottom of each html file of a site.
Every time my client edits a file with ContributeCS3, the script gets
corrupted. Specifically, the %3C and the %3E%3C/script%3E portions get
deleted, rendering the code useless. Can anyone explain why this happens and
if there's a fix?
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." :
"http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost +
"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-2715399-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
dannam Guest
-
Contribute mangles Google Analytics new js
The new Google Analytics ga.js code includes the following: type='text/javascript'%3E%3C/script%3E')); which, after editing a page, Contribute... -
Error message concerning the Google analytics code,after change a html file in Contribute
Please Help me!! After installation cms Contribute for my client to administer her site there are warnings concerning the code of Google Analytics.... -
Contribute Conflict with Google analytics
I have added Google Analytics codes to my client's site. When editing the site in Contribute, the code below appears at the bottom of each page... -
Contribute problems with Google analytics
I have added Google Analytics' codes to my client's site. When editing the site in Contribute, this ")); -
Google Analytics Code Gets Corrupted
Hi. I'm using Contribute 4.1 on Vista Business OS to update my website. For some reason when I update a page and then publish, the Google Tracking... -
ThinkInk #2
Re: Contribute corrupting Google analytics code
Search the forum on google AND analytics:
[url]http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=55&catid=29[/url]
0&threadid=1384445&highlight_key=y&keyword1=google %20AND%20analytics
[url]http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=55&catid=29[/url]
0&threadid=1381888&highlight_key=y&keyword1=google %20AND%20analytics
[url]http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=55&catid=29[/url]
0&threadid=1334782&highlight_key=y&keyword1=google %20AND%20analytics
ThinkInk Guest
-
101Phil #3
Re: Contribute corrupting Google analytics code
Quick and easy fix for me was to place the analytics code in an external file
and call it in using an include statement. If you are using static HTML then
you will need to parse SSI as HTML easily achieved in both IIS or Apache.
Apcahe is easiest as you can do it yourself using .HTACCESS file. IIS requires
admin access to the server.
101Phil Guest



Reply With Quote

