I've set up plenty of Google Analytics cross-domain setups before but for some reason this isn't working in the current scenario:
Domains:
domain.com.au
withUA-XXXXXX-1
domain.co.uk
withUA-XXXXXX-2
The two domains point to the same Wordpress Multi-Site using the WPML plugin setup with separate domains as opposed to sub-domains or sub-folders.
Google Analytics (deployed via the same GTM container on both domains) has the following in the general GA Pageview Tag:
On domain.com.au
:
- Type: Pageview, Code:
UA-XXXXXX-1
- cookieDomain:
auto
- allowLinker:
true
- autolinkDomains:
domain.co.uk
- decorateForms:
true
On domain.co.uk
:
- Type: Pageview, Code:
UA-XXXXXX-2
- cookieDomain:
auto
- allowLinker:
true
- autolinkDomains:
domain.com.au
- decorateForms:
true
Both Analytics Properties have both themselves and the other domain in their referral exclusion lists.
Navigating from one domain to the other has the expected behaviour of appending the _ga=1....
query string but the source/medium information is lost.
I tested by naviating to one domain via a google search result (and was shown google/organic
as the source medium) but when I switched to the other domain real-time shows me as direct/none
. When navigating back to the first domain I again show up as google/organic
there.