Announcement

Collapse
No announcement yet.

Google Analytics

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

    #31
    Thanks Jo, I did just that which is what led me to this thread. because of the age of this thread, I thought I'd ask those with more knowledge if the information was more relevant. However Lee, you're right to roll your eyes, I didn't check the KB on this occasion!
    Regards,

    Nick Churchill
    www.oliverslighting.co.uk
    Olivers Online Shop
    Working within SellerDeck V11

    Comment


      #32
      Problem fixed, although there is a mistake in the KB and I'll mention it here before sending a note to Actinic.

      The initial instructions state the following:

      * go to the 'Design' menu and select 'Library'
      * on the 'Layouts' tab, expand the 'Google Analytics Markup' group (click the '+')
      * double-click on the 'Google Analytics Order Transmission' layout to edit it
      * replace the contents of that layout with:

      Code:
      <script type="text/javascript">
             if (typeof(_gat) == 'object')
             {
             var pageTracker = _gat._getTracker("<actinic:variable name="GoogleAnalyticsNumber" />");
             pageTracker._initData();
             pageTracker._trackPageview();
      
             eval(act_order);
      
             eval(act_item);
      
             pageTracker._trackTrans();
             }
            </script>
            </actinic:block>
      But the first line is actually missing from the code. I just left the original in place, which on my PC is:

      Code:
      <actinic:block if="%28%3cactinic%3avariable%20name%3d%22IsGoogleAnalyticsEnabled%22%20%2f%3e%20%3d%3d%20true%29%20AND%20%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%20%3d%3d%20%22Receipt%22%29" >
      I presume this is the same on all installations, but may be worth checking.
      Regards,

      Nick Churchill
      www.oliverslighting.co.uk
      Olivers Online Shop
      Working within SellerDeck V11

      Comment


        #33
        The code has now been corrected in the KB.
        Regards,

        Nick Churchill
        www.oliverslighting.co.uk
        Olivers Online Shop
        Working within SellerDeck V11

        Comment

        Working...
        X