: Most common routes between subdomains that generate revenue in Google Analytics I need to be able to track revenue from the most frequent routes between multiple hostnames (let's call them foo.domain.tld
I need to be able to track revenue from the most frequent routes between multiple hostnames (let's call them foo.domain.tld and bar.domain.tld) in my google analytics account. For example, if someone is at foo.domain.tld/event and then travels to bar.domain.tld/purchase-ticket and buys a ticket, I'd like to be able to associate the revenue from that ticket back to foo.domain.tld/event.
Is there any good way for me to do this? I have a content grouping set up where pages from each domain are placed in separate groups, but this does not seem to help at all. It seems like the only way I could possibly do this is to remove foo.domain.tld from my Referral Exclusion List so that these become self-referrals and then use the "Referral Path" dimension to track ecommerce events. This approach is clearly not optimal.
More posts by @Yeniel560
1 Comments
Sorted by latest first Latest Oldest Best
There are two logical ways you can do this but, given the wording of your question, it appears as though you want to treat these subdomains as two different entities entirely. The most beneficial way to do this is to set up three different properties, one for foo.domain.tld, one for bar.domain.tld and one for both. In this scenario, you would modify the tracking script to utilize Google Analytics' Linker plugin (API), which will allow you to track across domains and subdomains. For example, set the following on the foo.domain.tld tracking script:
// foo.domain.tld property
ga('create', 'UA-XXXXX-X', 'auto');
// shared property
ga('create', 'UA-XXXXX-Z', 'auto', { 'allowLinker': true });
ga('require', 'linker');
ga('linker:autoLink', ['bar.domain.tld'] );
Now set the following on the bar.domain.tld tracking script:
// bar.domain.tld property
ga('create', 'UA-XXXXX-Y', 'auto');
// shared property
ga('create', 'UA-XXXXX-Z', 'auto', { 'allowLinker': true });
ga('require', 'linker');
ga('linker:autoLink', ['foo.domain.tld'] );
This setup allows for the passing of data between subdomains and provides specific views for each subdomain, as well as an aggregated view for both. This approach should help you better associate the revenue from bar.domain.tld/purchase-ticket with foo.domain.tld/event.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.