Download the PHP package alfasix/alfakit-analytics without Composer
On this page you can find all versions of the php package alfasix/alfakit-analytics. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alfasix/alfakit-analytics
More information about alfasix/alfakit-analytics
Files in alfasix/alfakit-analytics
Package alfakit-analytics
Short Description Privacy-first web analytics for the public site of a Laravel app, viewed in an AlfaKit panel: a cookieless tracking snippet, server-side tracking, daily rollups, goals and a dashboard with filters, comparisons and realtime visitors.
License MIT
Homepage https://alfakit.dev/docs/plugins/analytics
Informations about the package alfakit-analytics
AlfaKit Analytics
This is a read-only split of the AlfaKit monorepo. Please open issues and pull requests there.
Privacy-first web analytics for the public site of your Laravel app, viewed in an AlfaKit panel, in the spirit of Plausible and Fathom: no cookies, no storage, no persistent identifiers, and no IP addresses stored. It renders in React, Vue and Svelte.
Installation
Register
Add a site under Analytics → Sites, then put its snippet on your pages:
or, on Inertia pages, <AlfakitAnalytics siteKey="your-site-key" /> from @alfakit/react, @alfakit/vue or @alfakit/svelte. Track events from the browser (trackAnalyticsEvent('Signup', { plan: 'pro' }), window.alfakit.track(…)) or the server:
Make sure the Laravel scheduler runs: the plugin aggregates daily rollups hourly.
Features
- Snippet under 2 KB, React / Vue / Svelte components, server-side tracking and a page-view middleware
- Do Not Track and Global Privacy Control respected, bot filtering, rate-limited stateless endpoint
- Daily-rotating salted visitor hashes; old salts are deleted
- Sources, channels, referrers, UTM campaigns, countries (optional resolver), devices, browsers, OS
- Dashboard with visitors now, KPIs, a chart, comparison with the previous period and click-to-filter top lists
- Goals (page or event) with conversion rates, custom event property breakdowns
- Daily rollups with retention, on MySQL, PostgreSQL and SQLite
- Tenant-scoped sites,
authorize()and policies, CSV / XLSX exports, signed shared dashboards
See the documentation, including what is and isn't collected.
License
MIT. See LICENSE.md.