Skip to main content

Posts

Showing posts from November, 2010

Cross Domain Linking

Cross Domain Linking To track traffic across domains, you can use the  _setAllowLinker()  function to track user clicks between two domains. For details on setting up cross-domain tracking, see  Cross-Domain Tracking . Async Snippet  (recommended) _gaq . push ([ '_setAccount' , 'UA-XXXXX-X' ]); _gaq . push ([ ' _setDomainName ' , 'none' ]); _gaq . push ([ ' _setAllowLinker ' , true ]); _gaq . push ([ ' _trackPageview ' ]); ... < a href = "http://example.com/test.html" onclick = "_gaq.push([' _link ', 'http://example.com/test.html']); return false;" > click me a >