Google Analytics (GA) offers the ability to add filters to your GA views so that you can limit what type of data and traffic gets captured in your GA. These filters also limit the type of company leads that get pushed into your Leadfeeder. This article will show you how to set up a new GA view with filters and how to attach it to Leadfeeder. 

The simplest way to set up these filters in Google Analytics is to use a predefined Analytics view filter excluding a specific subdirectory, this works for a lot of cases! If you have a url structure that works with any of the predefined filters they may be the quickest way to get set up. 

If one of the predefined filters won't work you still have options. One of the most popular use cases for creating a new GA view is to filter out the people visiting specific pages, such as your customer login pages, jobs pages, or pages that target individual consumers (B2C). The first thing to do is to create the Custom Dimension that defines the pages you DON'T want. Follow the steps in this article to first create the dimension.

Once that dimension is created you will be able to create a new view excluding that dimension and attach it to Leadfeeder.

Here are the steps you need to take:

STEP 1: Log into the Google Analytics account that you want to connect to Leadfeeder. 

STEP 2: Click on Admin on the left menu bar:

STEP 3: Click on Create View.

STEP 4: Name this new view (e.g. "Leadfeeder - no jobseekers")

STEP 5: Then choose your preferred reporting timezone.

After you save the new view, you'll be brought back to the main menu. Click on Filters.

STEP 6: Click +Add Filter.

STEP 7: 

By default, the filter option will be on the Exclude option which is the one you want to choose to filter out visitors based on a specific page.

Under the Select field menu, scroll all the way to the bottom of the list and choose the Custom Dimension created for the pages you want to filter out visitor sessions for. 

NOTE: After you click Save, Google Analytics takes up to 24 hours for data to appear. To learn about other filter options, visit GA's support article.

LAST STEP: Detach the old GA view from your Leadfeeder and attach this newly created one. 

STEP 8: Go to your website settings by clicking your name on the right upper corner and selecting Settings for... from the menu.

STEP 10: Click on Google Analytics views on the left menu bar:

STEP 11: Click on the red Detach button for the GA view you want to remove. Old lead data that has already been collected in your Leadfeeder will not be removed. The filters will only work on new traffic going forward.

STEP 12: Then click on the blue Connect another Google Analytics view button.  From your list, find the GA view you created that filters out page traffic. It will take between 24-48 hours for the new data to reflect in Leadfeeder.


Did this answer your question?