Skip to content

Add multi-provider analytics with Plausible#34

Merged
thebuilder merged 54 commits into
mainfrom
feat/multi-provider-analytics
Jul 21, 2026
Merged

Add multi-provider analytics with Plausible#34
thebuilder merged 54 commits into
mainfrom
feat/multi-provider-analytics

Conversation

@thebuilder

@thebuilder thebuilder commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • Refactor the package around provider-neutral analytics contracts while preserving existing Vercel connections.
  • Add Plausible Cloud reporting, shared and per-connection credentials, capabilities, events, configurable event-property discovery, and provider-aware filtering.
  • Redesign the settings and analytics UI for provider selection, conditional features, event drilldown, local provider branding, stable loading states, and a focused floating save action.
  • Update the README and Marketplace documentation, configuration reference, and screenshots for the provider-aware model.

Why

Web Analytics was coupled to Vercel even though connections and report shapes can support multiple vendors. This change introduces an explicit provider and capability boundary so the UI only requests features each adapter supports, and adds Plausible as the first additional provider.

Impact

  • Existing serialized connections without a provider remain Vercel connections.
  • Vercel behavior continues through the provider-neutral client contract.
  • Plausible Cloud users can configure a site ID and Stats API key, query common traffic reports, inspect goals, and configure custom event properties.
  • Provider credential readiness appears when creating connections; saved connections expose their credential source and connection-test status.
  • Credentials stay in server configuration and are never returned to the backoffice.

Validation

  • dotnet test TheBuilder.WebAnalytics.slnx --no-restore — 214 passed
  • corepack pnpm check
  • corepack pnpm test — 165 passed
  • corepack pnpm build

@thebuilder
thebuilder marked this pull request as ready for review July 21, 2026 12:31
@thebuilder
thebuilder merged commit 5703aa9 into main Jul 21, 2026
5 checks passed
@thebuilder
thebuilder deleted the feat/multi-provider-analytics branch July 21, 2026 12:36
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