analytics icon indicating copy to clipboard operation
analytics copied to clipboard

Migrate plausible plugin from plausible-tracker to plausible-client

Open ian opened this issue 9 months ago • 2 comments

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.

  • Refactors
    • Replaced plausible-tracker with plausible-client and updated the plugin to use the new API.
    • Removed the trackLocalhost option, which is no longer supported.
    • Improved event delivery on static sites and fixed issues with outbound link tracking.

ian avatar Jul 11 '25 18:07 ian

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • [ ] Disable automatic comment and CI monitoring

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedplausible-client@​1.1.07110010078100

View full report

socket-security[bot] avatar Jul 11 '25 18:07 socket-security[bot]

Hey @ian what's status of this PR? I want to try the analytics package to send events to a multiple analytics systems, and we use plausible so we need in this plugin.

As i described in #7 the offician plausible-tracker have bugs and is deprecated now officially

This repository was archived by the owner on Aug 12, 2025. It is now read-only.

We currently use a plausible-client on production, it works fine, i still maintain that package. If you need some help with this PR, I'm ready to contribute.

vitonsky avatar Mar 01 '26 09:03 vitonsky