crabnebula-dev / devtools

Inspect and Debug your Tauri applications in style 💃
https://devtools.crabnebula.dev
Other
287 stars 8 forks source link

fix: add the `data-spa` attribute to the fathom script #339

Closed johann-crabnebula closed 3 months ago

johann-crabnebula commented 3 months ago

TLDR: Tracking of SPA navigations might have been not working. Tracking of initial page load was not affected.

When working on integrating Fathom for cloud @beanow-at-crabnebula mentioned that the tracking might be off when using the SPA navigation. After looking at the Fathom docs. It seems like it is best to add the data-spa attribute for good measure:

https://usefathom.com/docs/script/script-advanced#spa

netlify[bot] commented 3 months ago

Deploy Preview for cn-devtools-app ready!

Name Link
Latest commit e612bea72617f485b41a0952fd74348fcd0d00c2
Latest deploy log https://app.netlify.com/sites/cn-devtools-app/deploys/66a864acd6b3e50008d60f2b
Deploy Preview https://deploy-preview-339--cn-devtools-app.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.