Analytics
4.2K members online now
4.2K members online now
Ask questions about filter set-up and issues with using filters in Google Analytics reports
 
Guide Me
star_border
Reply

Filtering Out Traffic Going to the Login Domain?

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

 

I'm trying to figure out how to filter out traffic going to the login domain on a website. What's happening is people go to the website homepage (domain.com), then click the login link which takes them to a new domain (domainlogin.io) just meant for logging in. I want to exclude all traffic that goes to the domainlogin.io from the domain.com analytics data.

 

I've thought of creating a filter that excludes the login domain hostname and also creating a segment that excluding clicks on the login button as a goal, but I'm not entirely sure these will work. Especially since the domains are two different top level domains.

 

Thanks for your help in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Erika S
January 2016

Re: Filtering Out Traffic Going to the Login Domain?

[ Edited ]
Explorer ✭ ✭ ✭
# 4
Explorer ✭ ✭ ✭

Hi Erika,

This is possible using events. You will need to trigger an event on the outgoing log in button. https://support.google.com/analytics/answer/1136920?hl=en

Then simply create an exclusion for that event using advanced segments, here is the segment https://analytics.google.com/analytics/web/template?uid=hUrlR7C9QCuQ7rBrMWj_6A (replace "Outbound Traffic X" with your event category name)

Note: You can do the same with event labels and actions.

View solution in original post

Re: Filtering Out Traffic Going to the Login Domain?

Explorer ✭ ✭ ✭
# 2
Explorer ✭ ✭ ✭
Hi Erika,

If it is two different domains you should be using 2 different analytics properties:

Suggested setup:
Account : Company Name
Property 1: Primary Domain with UA code (will only trigger on primary domain)
Property 2 : Secondary Log in Domain with its own independent UA code (will only trigger on login domain)
(optional) Property 3: Control Property with UA code that will trigger on both primary domain AND login domain - only use this one with a cross domain filter to show full domain path in Google Analytics

Cross Domain Filter: http://pasteboard.co/nqeZAPR.png

Re: Filtering Out Traffic Going to the Login Domain?

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Hi Bryan,

Thanks for your reply, but I'm looking to create view that excludes sessions of people who go from the primary domain to the secondary login domain. The problem is people go to the primary domain's homepage just to click the link to the login domain, which inflates bounce rate and decreases time on site when looking at the data.
Marked as Best Answer.
Solution
Accepted by topic author Erika S
January 2016

Re: Filtering Out Traffic Going to the Login Domain?

[ Edited ]
Explorer ✭ ✭ ✭
# 4
Explorer ✭ ✭ ✭

Hi Erika,

This is possible using events. You will need to trigger an event on the outgoing log in button. https://support.google.com/analytics/answer/1136920?hl=en

Then simply create an exclusion for that event using advanced segments, here is the segment https://analytics.google.com/analytics/web/template?uid=hUrlR7C9QCuQ7rBrMWj_6A (replace "Outbound Traffic X" with your event category name)

Note: You can do the same with event labels and actions.