Analytics for Astro
Pre-release documentation · This public snapshot describes the commit-pinned candidate
0.1.0-alpha.20at product commitae6a9884e3cada297f11c641a90082f296380bcbbefore any release tag. The package is not yet published to npm.
These documents describe the npm-unpublished 0.1.0-alpha.20 source of
@codeworkslabs/astro-analytics.
The package provides Fathom, Plausible, Google Analytics 4, Matomo, and Umami adapters for completed-page lifecycle tracking and bounded custom events. It supports simultaneous providers, per-provider outcomes, blocked-query privacy, and a Starlight wrapper. It does not provide event queueing or runtime consent activation.
Guides
Section titled “Guides”- Getting started
- Configuration
- API reference
- Event client
- Starlight
- Runtime behavior
- Development
- Versioning and releases
- Changelog
Package entry points
Section titled “Package entry points”| Entry point | Purpose |
|---|---|
@codeworkslabs/astro-analytics |
Astro integration and configuration types |
@codeworkslabs/astro-analytics/client |
Browser-safe event and status helpers |
@codeworkslabs/astro-analytics/starlight |
Starlight plugin wrapper |
The source repository is public. The npm package is unpublished and retains its publication safeguard.