AI modules for ecommerce and service sites: content, search, chatbot, support
Google Tag Manager
Google Tag Manager with automatic dataLayer event discovery and an editable event registry
Installation
pnpm add payload-plugin-gtm About
Google Tag Manager adds GTM and Google Analytics 4 tracking to a Payload site, and it builds a tracking plan from the events the site actually emits. Discovery runs in three ways: it records events as visitors trigger them in the browser, it reads the published GTM container for every custom event trigger and the tags each one fires, and it crawls same-origin pages for event pushes written into the code. Discovered events land in an editable registry in the admin, where your team marks each event as approved, deprecated or ignored, and adds descriptions and owners. Parameter values are not stored, only names, key paths and types, and consent defaults for Consent Mode v2 can be set from the admin.
Package info
- Package name
payload-plugin-gtm- Latest version
0.3.0- Unpacked size
- 538 kB
- License
- MIT
- Weekly downloads
- 59
- Last publish
- Nov 4, 2026
More from mahabub123
View profileBacks up and restores the whole site, with scheduled copies to S3 or R2
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