awcodes/gtm

Add Google Tag Manager to a Laravel application with two Blade components and a config file.
1,816 5
Install
composer require awcodes/gtm
Latest Version:v2.0.1
PHP:^8.2
Laravel:10 – 13
License:MIT
Last Updated:Oct 5, 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

angallego/laravel-gtm

Google Tag Manager integration for Laravel

398 1
awcodes/filament-table-repeater

A modified version of the Filament Forms Repeater to display it as a table.

1,001,954 267
awcodes/filament-curator

A media picker and manager for Filament, with Glide-backed image transformations...

468,151 442
spatie/laravel-googletagmanager

Google Tag Manager integration for Laravel

4,043,289 444

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