Announcement

Collapse
No announcement yet.

ERROR "_gat is undefined" after upgrade from V9.02 to V9.03

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ERROR "_gat is undefined" after upgrade from V9.02 to V9.03

    Hi,

    I've got a little problem, I've just upgraded to v9.03 and started receiving this error on my home page. Would someone be kind and look into it and tell me what actually is going wrong?

    Thanks in advance,
    Rytis.

    #2
    Searches on Google seem to point to it being a "Google Analytics" related issue
    Darren Guppy
    Golf Tee Warehouse
    Golf Tees and Golf Accessories.

    Comment


      #3
      It says line 109, but on the line 109 is Brocure Logo image... ? any more ideas?

      Comment


        #4
        Try disabling GA in Actinic and then Upload. This will be an quick way of checking whether it is the Analytics code that's the problem.

        Army Gore-tex
        Winter Climbing Mitts
        webD's Blog: Website design, SEO and other ramblings…
        Twitter LinkedIN

        If you think a post is good, rate it!

        Find the answers in the Knowledge Base | Have you read the User Guides

        Comment


          #5
          as darren says a www search indicates this is a GA issue - comment out your GA code and see it the error goes..

          Comment


            #6
            It was a google analytics, I replaced google tracking code from V9.02 and it works fine now.

            Thanks guys.

            Comment


              #7
              If anyone else is experiencing the same problem, replace existing GA code in main layout + receipt page in v9.03 with this:
              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' type='text/javascript'%3E%3C/script%3E"));
              </script>
              <script type="text/javascript">
              	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

              Working...
              X