AmazingDreams / vue-matomo

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

Session recording is not working #35

Closed hitautodestruct closed 5 years ago

hitautodestruct commented 5 years ago

I am using vue-matomo to track page views and events on my vue SPA.

I have recently purchased the plugin for heatmaps and session recordings. But, even when I set the url to record all site entries I am still not seeing any recordings. I went through the checks and everything seems to be working fine, so I thought this might be an implementation detail on the client.

Is there anything special I need to do to enable this in vue-matomo?

AmazingDreams commented 5 years ago

Hi sorry for the late reply, I was away on holidays.

The cause is that matomo rewrites the matomo.js script when enabling/disabling the plugin, and I have used a hardcoded matomo.js script to work around race conditions.

I am going back to adding the server JS, instead of harcoding the script.

AmazingDreams commented 5 years ago

Please try with v3.12.0

hitautodestruct commented 5 years ago

Updating seems to have solved the issue thanks!