In this article, we’ll show you how to set up a new Google Analytics (GA) view with filters and attach it to Leadfeeder. But first, let’s answer a couple of quick questions.
What is a Google Analytics view?
A Google Analytics view is a subsection of your Google Analytics property. You can create multiple views in your GA property and apply different configuration settings to each view.
What are Google Analytics filters?
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.
How to set up Google Analytics filters
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.
How to create a new Google Analytics view
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.
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.
How to add a new Google Analytics view to Leadfeeder
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.
Views and filters summary
Google Analytics views and filters are a powerful way to control what traffic you see in GA and, subsequently, Leadfeeder.
The free version of Google Analytics allows 25 views per property, so keep this in mind before creating too many views.