About this project

@vskstudio/takt-astro provides an Astro integration and a Takt component for the Takt privacy-friendly analytics core. It starts the browser runtime, records an initial pageview, and tracks client-side navigations including Astro View Transitions. Options cover the site domain, ingestion endpoint, first-party script origin, outbound links, file downloads, 404 events, Do Not Track, localhost exclusion, sampling, query-string handling, path exclusion, tagged events, and URL scrubbing through the integration. It also exposes wrappers for server-rendered badge and embed widgets, together with core tracking, pageview, opt-in and opt-out, and public statistics APIs. Astro 4 or newer and Takt core 0.8.1 or newer are listed as peer dependencies. The project is released under the MIT license.