In today’s video post, we’re going to tackle a simple way to get Google Analytics to recognize that traffic to your root and subdomains should be treated as a single session while maintaining the correct traffic source and most importantly, not reporting self referrals.
Steps for setting up subdomain tracking in Google Analytics:
- Install GA code. Default UA code, all subdomains.
- Create views, filters and exclusions.
- Celebrate your accomplishment!
Note from the video:
When setting up the ‘Show subdomain filter’, here’s what you need:
Filter Type: Custom, Advanced
Field A -> Extract A: (.*)
Field B -> Extract B: (.*)
Output To -> Constructor: $A1$B1
Check out our Google Analytics Course on LeanDigitalAdvertising.com.