I aways felt this GA integration was a bad idea
Announcement
Collapse
No announcement yet.
Google Analytics
Collapse
X
-
GA error message
Hi.
I get the same message but the Google analytics works fine (or seems to). Strange but true.Steve Griggs.
"People in business often miss opportunities, mainly because they usually arrive dressed in overalls and looking like work."
www.kitchenwareonline.com
www.microwave-repair.co.uk
Comment
-
Go to design tab, on the design tree look for "Standard Header Javascript Functions" inside it has "Google Analytics Tracking Code Split SSL"click on it and replace the existing line of text with this code:
Code:<actinic:block if="%3cactinic%3avariable%20name%3d%22IsGoogleAnalyticsEnabled%22%20%2f%3e%20%3d%3d%20true%20AND%20%3cactinic%3avariable%20name%3d%22IsSplitSSLSubdomain%22%20%2f%3e%20%3d%3d%20true" > <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?2008-08-01' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> if (typeof(_gat) == "object") { var pageTracker = _gat._getTracker("<actinic:variable name="GoogleAnalyticsNumber" />"); pageTracker._setDomainName("<actinic:variable name="SplitSSLDomain" />"); pageTracker._initData(); pageTracker._trackPageview(<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Receipt%22">"/receipt.html"</actinic:block>); } </script> </actinic:block>
Code:<actinic:block if="%3cactinic%3avariable%20name%3d%22IsGoogleAnalyticsEnabled%22%20%2f%3e%20%3d%3d%20true%20AND%20%3cactinic%3avariable%20name%3d%22IsSplitSSLSubdomain%22%20%2f%3e%20%3d%3d%20false" > <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?2008-08-01' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> if (typeof(_gat) == "object") { var pageTracker = _gat._getTracker("<actinic:variable name="GoogleAnalyticsNumber" />"); pageTracker._initData(); pageTracker._trackPageview(<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Receipt%22">"/receipt.html"</actinic:block>); } </script> </actinic:block>
Comment
-
Another thing....
My site design has a number of files that arn't allocated directly under the sites1 dir.
Before what I used to do is add the files names into the additional files list prior to uploading. Bish Bash Upload and everything was fine ....
Now that ive gone to 9.03 this nolonger works.
e.g the directory outside actinic is called images
Now when I upload the file paths are now pointing to acatalog\images.
This has forced me to put all the additional images within the sites1 dir.... Which I dont want to do
Comment
-
Originally posted by orcharduk View PostWhat is the current concensus on using GA code I'm looking at adding it to our site but read a few posts saying it could adversely affect rankings. Is there any real evidence of this or was it just us lot 'erring' on the side of caution.
Comment
-
do a forum search on the error _gat' is undefined
there are plenty of other threads inc http://community.actinic.com/showthread.php?t=40048
Comment
Comment