moritzsternemann / vue-plausible

Plausible Analytics Vue.js Plugin and NuxtJS Module
MIT License
120 stars 8 forks source link

enableAutoOutboundTracking breaks some <router-link> and <a @click> behavior. #20

Open iplanwebsites opened 2 years ago

iplanwebsites commented 2 years ago

When using vue-plausible with enableAutoOutboundTracking, clicking router-links and tags sometimes triggers a page refresh. I'm not sure what causes the error, but disabling enableAutoOutboundTracking fixes tags that otherwise causes a hard-refresh. This seems to happen with and tags that have #click event attached to them.

maoosi commented 2 years ago

Same issue on my end.