Last active
October 13, 2015 08:47
-
-
Save bergantine/4170027 to your computer and use it in GitHub Desktop.
#Google #Analytics #Ignore User by User Defined Variable.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Setup a new filter in Google Analytics with the following configuration: | |
| Filter Type: Custom Filter | |
| Filter Field: User Defined | |
| Filter Pattern: no_report | |
| Case sensitive No |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // documentation: https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApiBasicConfiguration?hl=en | |
| // other thoughts: http://productforums.google.com/forum/#!topic/analytics/LTG8e7aYbDc | |
| // insert before a _trackEvent() method (such as _trackPageview) | |
| _gaq.push(['_setVar', 'no_report']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment