Hi there,
While reviewing our Google Analytics traffic, it appeared that it is tracking traffic to the user login form as well as internal dashboard usage in NationBuilder. There doesn't seem to be a way to filter that data out of GA, so is there any way to remove the GA code snippet from the dashboard and login form?
Thanks,
Barry
Official response from NationBuilder Support
Eric provided great instructions and an important caveat to creating filters in Google Analytics.
By default, Google Analytics should track your website activity including the login page, but not control panel activity. A robust website will involve people logging in to engage with your community beyond control panel changes so we recommend keeping that part of your analytics overview.
Share this post
Showing 2 reactions
Sign in with
There is a way to filter this data out of Google Analytics, but be careful when following these instructions as any data filtered out of your Google Analytics is lost forever. If you make a mistake, your analytics won’t be useful until you correct it. So I have added instructions on how to create a backup, unfiltered ‘view’ (aka Profile) of your data before you filter your main view.
1. Log in to your GA account and click on the Admin tab in the top right.
2. Go to the Account and Property you want to edit, under ‘View (Profile)’ drop down choose ‘Create a new view’
3. Name is ‘Unfiltered backup profile’ set the proper time, and save. You now have a backup set of all data, and can filter out admin section visits from your main ‘View (Profile)’
4. Still in the admin section, select the main ‘View (Profile)’ you want to filter, and click on ‘Filters’ and ‘+New Filter’
5. Give the filter a name (Admin section) and choose ‘Exclude’ > ‘traffic to the subdirectories’ > ‘that begin with’ and enter /admin/ in the text field.
6. Click save and you shouldn’t see logged in admins any more.
7. Exclude traffic to the directory that begins with ‘/forms/user_sessions’ (or your particular custom login page) to not see login page visits.
Strangely, my install seems to exclude the Google Analytics tracking code from the admin pages automatically, so not sure what’s going on with yours.
[email protected]