Рет қаралды 138
This video will show you how you can exclude internal traffic/your own visits to your website from Google Analytics report. This tutorial shows you how to create two types of filters i.e. IP address filter and Cookies filter.
0:27 Filter based on IP address, follow the steps below
1. Search your public IP address on Google
2. Create a new view on Google Analytics
3. Create a new filter on Google Analytics and enter your IP address
3:31 Filter based on cookies, follow the steps below
1. Create a new view on Google Analytics if you haven't done so
2. Create a new custom dimension
3. Create a new filter for the custom dimension
4. Create a special page and add the set cookie function
5. Add the codes that set the dimension when the cookie exist directly above ga('send', 'pageview');.
7:42 If you are using WordPress and want to exclude your visits when you are logged in
- Add the set cookie function in the functions.php file
Codes used in this tutorial
1. Set cookie on the special page
gist.github.co...
2. Set cookie in the functions.php
gist.github.co...
3. Set dimension when cookie exists (put this directly above ga('send', 'pageview');
gist.github.co...
For more digital marketing trends
thegreenbrain.c...
Follow us on
/ thegreenbrain
/ thegreenbrainau