Skip to content

Conversation

harlan-zw
Copy link
Collaborator

@harlan-zw harlan-zw commented Sep 24, 2025

πŸ”— Linked issue

#448

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Adds watch mode which is enabled by default for Matomo Analytics. This will automatically track all pages visits so the user doesn't need to manually setup.

With this change we deprecate the trackPageView property as the end-user should either manually call this themselves via the proxy or use the watch mode.

Enable watch mode:

useScriptMatomoAnalytics({
-  trackPageView: true
})

Copy link

vercel bot commented Sep 24, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
scripts-docs Building Building Preview Comment Sep 24, 2025 3:54am
scripts-playground Building Building Preview Comment Sep 24, 2025 3:54am

@harlan-zw harlan-zw changed the title feat(matomoAnalytics)!: watch mode feat(matomoAnalytics)!: watch mode Sep 24, 2025
@harlan-zw harlan-zw merged commit 317982d into main Sep 24, 2025
5 of 8 checks passed
@harlan-zw harlan-zw deleted the feat/matomo-analytics-watch-mode branch September 24, 2025 03:55
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.

1 participant