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=)