This post contains affiliate links which means if you click on a link and choose to make a purchase I may receive a commission at no additional cost to you. See our disclaimer for more information.

If you are new to Google Analytics you are probably thinking what the heck is a filter and why do I need one?

Google Analytics is a powerful free tool for your blog and I am on a mission to help you learn the ins and outs of Google Analytics so you can unleash its power and use it to your advantage with your blog.

Make sure you Pin it and SAVE this post for later if you don’t have time now.

Text image how to create filter in google analytics with computer

This post is a part of a series of posts on How to Start a Blog that I have created to help simplify the process of setting up your WordPress site.

Are you ready to start a blog? Be sure to grab my How to Start a Blog Checklist. This handy checklist has 100+ actionable steps you should take when setting up your blog. Start your blog today!

If you haven’t set up Google Analytics for your blog do so now. Check out my tutorial on how to add Google Analytics to your WordPress site.

Also, I recommend setting up your Google Search Console account. Find out how to set up your Google Search Console and connect it to your Google Analytics.

Once you have set up both Google Analytics and Google Search Console I will walk you through the next steps.

Let’s take inventory of what you should have already completed by following my tutorials.

  • Created a Google Analytics account
  • Connected your Google Analytics account to your WordPress blog (I recommend using Google Analytics for WordPress by MonsterInsights plugin)
  • Enabled your demographics and Interest reports
  • Enabled the advertising feature so you can access your demographics and interest reports
  • Set up Google Search Console by creating a property for all versions of your website
  • Specified the preferred domain for how Google indexes your website
  • Connected Google Search Console with Google Analytics

Next, I am going to walk you through how to create a new view in Google Analytics and then create filters within Google Analytics for your data.

What is a filter in Google Analytics?

Filters in Google Analytics are a way to segment data. Today specifically we are going to look at creating a filter to exclude unwanted data.

How to create a filter in Google Analytics

Step 1: Create a new view in Google Analytics

The default view for a property in Google Analytics is All Web Site Data. When creating filters for your website it is a good idea to create a new view first. That way the default view is left intact and you will be able to see the raw data compared to your filtered data.

Go to the admin screen which consists of 3 columns. The first column deals with your Account, the second column deals with your property and the third column deals with the view.

screenshot tutorial of how to create a filter in google analytics image 1

In the View column on the right, click on the drop down menu for All Web Site Data. You will have the option to Create a new view.

create filter google analytics 2screenshot tutorial of how to create a filter in google analytics image 2

Give your view a name. In this case I named it Filtered View. Set your timezone and then click Create View.

Note: Your new view will not have any data. The view will only have data from the time you created it and that’s why it is a good idea to set this up right away.

Related:

Step 2: Create your first (Must Have) Google Analytics filter to remove your IP address from the data.

You will be viewing your website a lot and you do not want you website views to skew your data. In this case we are going to set up a filter to remove your IP address from your Google Analytics data.

What is an IP address?

An IP address is a unique number associated with your computer, phone, or tablet as you interact with the internet.

When you access the internet from your network at home all devices will have the same IP address. When you go somewhere else and use a different wifi or internet connection you will have a different IP address.

How do I find out my IP address?

It is really easy to find your IP address all you have to do is go to Google search and type in “my IP address”. At the very top of the search result Google will give you your IP address.

screenshot tutorial of how to create a filter in google analytics image 3

How to create a filter

From the admin screen, in the right hand column make sure you have your new view selected. In this case my “Filtered View” is selected. Click on Filters from the menu below.

screenshot tutorial of how to create a filter in google analytics image 4

Click on Add Filter.

screenshot tutorial of how to create a filter in google analytics image 5

Under filter information give your filter a name.

Next, under filter type we will be using a predefined filter.

screenshot tutorial of how to create a filter in google analytics image 6

Click on Select Filter Type and choose Exclude.screenshot tutorial of how to create a filter in google analytics image 7

Under select source or destination choose traffic from the IP addresses.

screenshot tutorial of how to create a filter in google analytics image 8

Finally for the third drop down menu you will select your condition and in this case we want that are equal to.

screenshot tutorial of how to create a filter in google analytics image 9

Once all your options have been selected copy and paste your IP address in the provided field and then click to SAVE your filter. Your new filter will now show up in your list.

screenshot tutorial of how to create a filter in google analytics image 10

Note: Make sure you create a filter for the common places you will be accessing your website from like one from where you work and one from home.

Step 3: Remove referral spam from your Google Analytics

Next, we want to remove potential spam traffic data from our analytics.

From the admin menu, make sure you have your filtered view selected in the third column. Go to View Settings.

screenshot tutorial of how to create a filter in google analytics image 11

Under view settings scroll down and mark the box next to Bot Filtering to exclude all hits from known bots and spiders.

screenshot tutorial of how to create a filter in google analytics image 12

Now you can work on your website and know that your views will not be skewing your data.

Don’t forget to download the How to Start A Blog checklist with 100+ steps you should take to get your blog ready to launch.

Grab the How To Start A Blog Checklist with 100+ steps to start a blog.

Check out the other tutorials in my series on How to Start A Blog.

  1. Pick a topic for your blog
  2. Choose the best domain name for your blog
  3. Set up hosting and install WordPress
  4. Set up WordPress general settings: site title, tagline and permalink
  5. Choose and install a theme for your blog
  6. Install the 6 essential plugins for your blog

Recommended Blogging Tools for Setting Up Your Website:

Blog Hosting: Every blog needs a place to live and I highly recommend SiteGround for hosting. They have great customer service and tiered pricing to meet your hosting needs for any level.

WordPress Themes: There are 3 things every blogger should invest in and that is hosting, education and a good theme. If you don’t have a theme that you love then it can be a big stumbling block. I love my Bluchic theme which is nice and versatile, fully responsive and easy to work with.

Email List Provider: Make sure you start thinking about building your email list from the beginning. Mailerlite is a great option with automation capabilities and it is free for your first 1,000 subscribers. Check out my tutorial on how to deliver your

Blog Graphics: I am team Photoshop all the way! Photoshop is a powerful tool and with the creative cloud you can start working with it today with just $10 a month. If you need a free alternative check out Canva.

Check out my full list of recommended resources for blogging!

Sharing is caring! Pin and SAVE this post for later!

overhead shot of laptop and coffee mug with text overlay how to create a filter in google analytics