-
Hi, Is there a way to exclude tracking on specific routes? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi, To achieve that, I think you will need to disable Umami auto-track (set See Nuxt route-middleware: https://nuxt.com/docs/api/utils/define-nuxt-route-middleware I have not used it this way, but it should work. Hopefully 😅. And if you need help implementing this, I'll be super happy to help. |
Beta Was this translation helpful? Give feedback.
Hey @tasiotas
If you're still interested in that idea, please take a look at https://github.com/ijkml/nuxt-umami-nuxt3/blob/7f27c8b2b11b06a99c8b6b3b6f5f2f2c0c0f7144/middleware/umami.global.ts