Excluding Internal WordPress Traffic in Google Analytics
If you’re using Elementor, you should exclude its preview mode by using the value \?(p=.|elementor-preview=|.preview=true) in your exclusion rule.
Here are the steps to create a simple ‘Custom Filter’.
- To create a filter, navigate to your Analytics Admin page.
- Select the relevant Account, Property, and View
- Under the View column, click on ‘Filters’
- Click ‘Add Filter’
- Give the filter a descriptive name, e.g. ‘Exclude My Internal Traffic’
- Select the Filter Type ‘Custom’
- Set the type to ‘Exclude’
- Set the Filter Field to ‘Request URI’
- Paste in the value \?(p=.*|preview=true)
- Save the filter
Here are some more filter examples:
\?(p=.|elementor-preview=|.preview=true)
\?(p=.|.*elementor-preview=|.*preview=true|.*elementor-block=)
ABOUT THE AUTHOR
Binkod | A technical blog that helps you with problem-solving solutions. Encourage you to be in touch with the latest technologies. We at BinKod do carry a philosophy that: I'm Impossible.
0 comments
If you have any questions or concerns, please let me know.