Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

johann-crabnebula
Copy link
Contributor

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

Copy link

netlify bot commented Jul 30, 2024

Deploy Preview for cn-devtools-app ready!

Name Link
🔨 Latest commit e612bea
🔍 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.

@atila-crabnebula atila-crabnebula merged commit 7560d68 into main Jul 31, 2024
6 checks passed
@atila-crabnebula atila-crabnebula deleted the fix/fathom-data-spa-auto branch July 31, 2024 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants