I tried:
Create Variable:
- Variable type: URL
- Component type: Query
- Query Key: "ignoreme", URL Source: Page URL/Default
Create Trigger:
- Trigger type: Page view
- This trigger fires on: Some page views
- Fire this trigger when an Event occurs and all of these conditions are true: ignoreme does not equal "1"
However, when I go to example.com?ignoreme=1
, the Google Analytics still counts it as a visit and shows me as a visitor. I have published the changes in GTM and deleted my browser cookies.