Jakob Halskov
Jakob Halskov

Reputation: 438

Tracking traffic sources across domain redirect

I have a domain AAAA.com which is used for marketing an App. It redirects to a page on another domain: BBBB.com/buy-app.php, where Google Analytics is set up.

How do I on BBBB.com/buy-app.php track where the traffic is coming from?


E.g:

An users clicks on a link to AAAA.com on Facebook, which redirects to BBBB.com/buy-app.php – how do I the know where the user came from?


Upvotes: 2

Views: 1231

Answers (1)

TomFuertes
TomFuertes

Reputation: 7270

You're talking about "Tracking Multiple Domains": Google Analytics for Developers: Tracking Multiple Domains

For this same use case, I prefer to use Google Analytics on Steroids: Google Analytics on Steroids: Cross Domain Tracking

_gas.push(['_setAccount', 'UA-XXXXX-1']);
_gas.push(['_setAllowLinker', true]);
_gas.push(['_setDomainName', 'AAAA.com']);
_gas.push(['_setDomainName', 'BBBB.com']);
_gas.push(['_gasMultiDomain', 'mousedown']);

* Note: calling _setDomainName multiple times is only supported in _gas and not supported by the default _gaq.

Upvotes: 3

Related Questions