simonridley/tracking-code-manager
A Laravel package for centrally managing tracking codes such as Google Analytics and other analytics snippets. Configure and inject tracking scripts without hardcoding them into your views, keeping analytics setup consistent and easy to update.
cp.php routes indicates the package's control panel surface is being aligned with Statamic's expected middleware stack — relevant if the team has opinions about who in the org can edit tracking codes and how that's gated.Consider it when:
Look elsewhere when:
To executives: This is a small, focused add-on that lets marketing and analytics tags be managed from the CMS control panel instead of through code changes and releases. The practical value is faster tag changes without engineering cycles and fewer deploy risks for marketing instrumentation. The v1.0.2 release is a compatibility fix that keeps the tool working through a Statamic 4 upgrade — low risk, no data-model or breaking changes. Caveat for decision-makers: it is an early-stage, single-maintainer package, so treat it as a convenience layer rather than infrastructure, and keep an exit path (the tags remain plain configuration you can migrate).
To engineering: v1.0.2 corrects middleware on the control panel routes so they match Statamic 4's expected stack — this resolves CP access issues introduced by the version bump. No API or schema changes, so upgrade should be a drop-in patch from v1.0.1. Because the fix touches route middleware, sanity-check CP permissions after upgrading: confirm that only intended roles can create or edit tracking codes, since that surface governs what scripts execute on production pages. Worth noting the package has just gained its first outside contributor — a positive signal for sustainability, but still a small maintainer base; pin the version and review changelogs on each bump.
How can I help you explore Laravel packages today?