Migrate plausible plugin from plausible-tracker to plausible-client#8
Migrate plausible plugin from plausible-tracker to plausible-client#8
Conversation
- Replace plausible-tracker dependency with plausible-client ^1.1.0 - Update plugin implementation to use new class-based API - Remove trackLocalhost option (not needed in new package) - Fix lost events on static sites and XHR API issues - Addresses GitHub issue #7 Breaking changes: - trackLocalhost configuration option removed - Internal API changes (users should see no difference) Benefits: - Fixes lost events on static sites using fetch API instead of XHR - Resolves broken outbound tracking with target='_blank' - Eliminates callback issues on localhost - Uses actively maintained package
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Hey @ian what's status of this PR? As i described in #7 the offician plausible-tracker have bugs and is deprecated now officially
We currently use a |
Fixes #7
PR description is being written. Please check back in a minute.
Devin Session: https://app.devin.ai/sessions/74650dc811cb4c239a5f7ec544e6ea7b
Summary by cubic
Migrated the Plausible plugin from plausible-tracker to plausible-client for better event tracking and reliability.