Type-safe seed data for Payload with typed document references and inline uploads
Tracking
Adds PostHog, Google Tag Manager and Vercel Analytics to a site from one global
Installation
pnpm add @pro-laico/tracking About
Tracking lets editors switch analytics on or off from inside the Payload admin instead of editing code. A Tracking global holds a tab for PostHog, Google Tag Manager and Vercel Analytics, each with its own on or off toggle and settings. The front end reads those settings and loads only the providers that are enabled.
Developers wrap the app root in React providers for each service, or in one composite provider that handles all three. Marketing and product teams can turn a tool off during a consent change or a migration without a deploy. The PostHog side can capture clicks and page views automatically.
Package info
- Package name
@pro-laico/tracking- Latest version
0.5.0- Unpacked size
- 43 kB
- License
- MIT
- Weekly downloads
- 3
- Last publish
- Jun 27, 2026
More from pro-laico
View profileNext.js cache revalidation that clears only the tags a Payload change touches
Uploads videos from Payload straight to Mux with signed or public playback
On-demand image resizing, focal crops and placeholders for Payload uploads
Icon library for Payload: SVG upload collection with cleanup and an inline icon component
Manages custom font files in Payload and serves them as subsetted WOFF2
Similar plugins
More in AnalyticsCreates and syncs Dub shortlinks for Payload documents as they are published
Sends Payload server errors and selected HTTP errors to Sentry with user context
Splits page traffic between variants you create in the Payload admin
Sales totals by period, product and customer for Payload ecommerce stores
Logs AI crawler visits, serves llms.txt and shows an AI visibility dashboard
Tracks AI API token spend and stops jobs when daily, monthly or per-job budgets run out