AmazingDreams / vue-matomo

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

Have an option to track queries #38

Closed jordan-boyer closed 5 years ago

jordan-boyer commented 5 years ago

For now vue matomo doesn't track query send to the url.

Example: with this url foo/bar?k1=0&k2=0 vue-matomo will only send foo/bar to the tracker.

It will be appropriate to have on option like trackQueries if we want to track queries or not.

Just be careful, as of now I don't think matomo support queries like this ?k1=0&k1=2. It is recommanded to replace & with ;

AmazingDreams commented 5 years ago

Simple fix: I should have used to.fullPath instead of simply to.path