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

Traffic filter exclusion

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

 

I have a website with the following domains:

covema.pt - Main domain

test.covema.pt - Used to test and present new features to the client. Therefore I do not want to track this particular traffic.

The property configured in GA is covema.pt.

In order to make sure that the traffic from test.covema.pt is not recorded, do I need to have a filter for it?

Thank you.

 

2 Expert replyverified_user

Re: Traffic filter exclusion

Top Contributor
# 2
Top Contributor
Hi Catarina :-)
As long as you do not put the analytics tracking code onto any pages that reside on test.coverna.pt, then data will not be tracked/reported
for test.covema.pt
Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here

Re: Traffic filter exclusion

Top Contributor
# 3
Top Contributor

Hi Catarina,

 

Yes, you need to create a filter for your view. Please go to Admin -> View -> Filters and click "Add Filter".
Set it up like on the image below:

 

exclude.png

Click the verify link under the filter settings to see how does it change your data.

Let me know if you have questions.


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Re: Traffic filter exclusion

Top Contributor
# 4
Top Contributor
Hey there Arnold, :-))
Great suggestion re the filter -
Wondering if it might be more efficient and effective to just add a single Include Hostname filter for covema.pt
An Include Hostname filter is often part of a standard setup best practices, so rather than adding two filters - one for excluding the subdomain and then possibly also adding another to also include only the main domain,
one filter to just include the main domain hostname should take care of both scenarios
Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here

Re: Traffic filter exclusion

Top Contributor
# 5
Top Contributor

Hey Bronwyn Smiley Happy

 

You're absolutely right. That would exclude the subdomain(s) and it's also the first step in fighting spam.


So the filter to use would look like this:

 

exclude-new.png

 


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Re: Traffic filter exclusion

Top Contributor
# 6
Top Contributor
Awesome, thanks Arnold :-)))

Cheers
Bronwyn
Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here

Re: Traffic filter exclusion

Visitor ✭ ✭ ✭
# 7
Visitor ✭ ✭ ✭
Hi Arnold,

I applied a filter as your advice.
Thanks a lot for your help.

Cheers,
Catarina