Excluding Staging Site Traffic: Refferal Lists vs Filters vs Both
I actually have two dev sites that I would like to exclude from my main site: www.aiv-inc.com
I've currently created a referral list for the following:
However, I've also set up filters to exclude the URLs above.
I was just wondering, is it overkill if I did both? Would I be messing up my traffic data by implementing both exclusions?
Any insights would be great.
Re: Excluding Staging Site Traffic: Refferal Lists vs Filters vs Both[ Edited ]
September 2016 - last edited September 2016
Hi Angeli :-)
by default the main site www.aiv-inc.com should already be on the Referral Exclusion List
by default, it will ignore referrals from any hostname that includes aiv-inc.com so the subdomain will also be ignored.
The problem with this though, is that it will not prevent the traffic from the subdomain from being
tracked, it will simply change the medium to being direct/none instead of referral/stg aiv-inc.com
Custom js can be used to change that behaviour and a filter can then be used to remove the referral traffic
alternatively if you are able to maybe add Campaign tracking parameters to the urls that lead to the main site
you would then be able to filter out the traffic via the specific campaign
Is there any tracking for the same GA Property setup on the staging sites too?
If so, a View with an include hostname filter for the main site only should be created and added
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here