Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
integration:googleanalytics_universal [2014/11/07 13:12] – [Google Analytics (Universal Analytics) Ecommerce Tracking] adamintegration:googleanalytics_universal [2016/03/18 13:07] adam
Line 61: Line 61:
   - Under 'Tracking Info' click 'Referral Exclusion List'. By default, your own website's domain should be present here, but we will need to add your store domain.   - Under 'Tracking Info' click 'Referral Exclusion List'. By default, your own website's domain should be present here, but we will need to add your store domain.
   - Click 'Add Referral Exclusion' and enter your store domain, such as "mystore.foxycart.com", and click "Create".   - Click 'Add Referral Exclusion' and enter your store domain, such as "mystore.foxycart.com", and click "Create".
 +  - If your own website domain isn't present in that list - add it as well.
   - Proceed to the next section   - Proceed to the next section
  
Line 155: Line 156:
         }         }
       });       });
-      return (typeof ga === "function") ? "pause" : true;+      return (window.ga && ga.loaded) ? "pause" : true;
     }     }
     return true;     return true;
Line 165: Line 166:
       });       });
     });     });
-    return (typeof ga === "function") ? "pause" : true;+    return (window.ga && ga.loaded) ? "pause" : true;
   });   });
 </script></code> </script></code>
Line 198: Line 199:
     }     }
     $('a.fc_cart_checkout_paypal').click(function(e){     $('a.fc_cart_checkout_paypal').click(function(e){
-      if (typeof ga === "function")  {+      if (window.ga && ga.loaded)  {
         e.preventDefault();         e.preventDefault();
         var link_url = jQuery(this).attr("href");         var link_url = jQuery(this).attr("href");

Site Tools