Hi,
I’m trying to get PiwikPro playing nice with Hotwire Turbo ( https://turbo.hotwired.dev/ ) without success.
Basically, what Turbo does is provide your application with some SPA functionality. In its most basic form, it will only replace HTML content inside your page’s tags, so it won’t reload the full page. It does this by intercepting the click events and performing an xhr request to the server.
The issue I’m currently experiencing is that it seems that Piwik.Pro also intercepts click events, but instead of bubbling back up, it performs a regular get-request to the server.
Is there a way to make Piwik.Pro play nice with Turbo, keeping our former functionality? Or do I have to implement Piwik.Pro in a totally different way?