CardinalPath / gas

Google Analytics on Steroids. A Google Analytics implementation with more power features.
Other
592 stars 78 forks source link

Question: How does GAS treat _addIgnoredRef in Multi-Domain context? #65

Open KarinaLibrary opened 10 years ago

KarinaLibrary commented 10 years ago

To cleanup self-referrals in cross tracking setting, can I do this?:

_gas.push(['_setAccount', 'UA-########-1']); // Account ID
_gas.push(['_setAllowLinker', true]);
_gas.push(['_setAllowAnchor', true]);
_gas.push(['_setDomainName', '.domain1.com']); // Cross Domain 1
_gas.push(['_setDomainName', '.domain2.org']); // Cross Domain 2
_gas.push(['_addIgnoredRef', 'domain1.com']);
_gas.push(['_addIgnoredRef', 'domain2.org']);
_gas.push(['_gasMultiDomain', 'click']);
tomfuertes commented 10 years ago

Looks good / should work

On Wed, Mar 5, 2014 at 1:07 PM, Michael Lommel notifications@github.comwrote:

To cleanup self-referrals in cross tracking setting, can I do this?:

_gas.push(['_setAccount', 'UA-########-1']); // Account ID _gas.push(['_setAllowLinker', true]); _gas.push(['_setAllowAnchor', true]); _gas.push(['_setDomainName', '.domain1.com']); // Cross Domain 1 _gas.push(['_setDomainName', '.domain2.org']); // Cross Domain 2 _gas.push(['_addIgnoredRef', 'domain1.com']); _gas.push(['_addIgnoredRef', 'domain2.org']); _gas.push(['_gasMultiDomain', 'click']);

Reply to this email directly or view it on GitHubhttps://github.com/CardinalPath/gas/issues/65 .