New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

awcodes/gtm

Add Google Tag Manager to a Laravel application with two Blade components and a config file.
2,340 5
Install
composer require awcodes/gtm
Latest Version:v2.0.1
PHP:^8.2
Laravel:10 – 13
License:MIT
Last Updated:Nov 21, 2026
Links: GitHub  ·  Packagist
Maintainer: awcodes

Google Tag Manager for Laravel

Add Google Tag Manager to a Laravel application with two Blade components and a config file.

Latest Version on Packagist Total Downloads

Documentation

The full documentation lives at docs.aw.codes/gtm.

Requirements

  • PHP 8.2 or higher

Installation

composer require awcodes/gtm

Then set your container ID and, optionally, publish the config file. See Installation for those steps.

Changelog

Please see the releases for what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

awcodes/shout

Render an inline contextual notice inside a Filament form or infolist schema.

808,880 71
astrogoat/gtm

A Google Tag Manager app for Strata

14,041 0
awcodes/postal-codes

Install a queryable table of postal codes in a Laravel application, seeded from...

6,472 5
spatie/laravel-googletagmanager

Google Tag Manager integration for Laravel

4,246,953 445
awcodes/mason

A simple block based drag and drop page / document builder field for Filament.

33,590 249

Version History

Version Released PHP Laravel License
v2.0.1 ^8.2 MIT
v2.0.0 ^8.2 MIT
v1.1.0 ^8.1 ^11.0|^10.0 MIT
v1.0.0 ^8.1 ^10.0 MIT