AmazingDreams / vue-matomo

Vue plugin for Matomo Analytics
MIT License
282 stars 61 forks source link

Disable vue router page tracking dynamically #142

Open weexpectedTHIS opened 8 months ago

weexpectedTHIS commented 8 months ago

The situation is I have a route in my router which loads a component. That component "replaces" the URL as someone types in an input box, so that the URL always matches the input in the form. Each of these "replace" actions on the $route are getting recorded as separate page visits in Matomo. I'd like to be able to filter all of the "replaces" out. Is there a middleware function I can use for this?