Download the PHP package jeffersongoncalves/filament-gtm without Composer
On this page you can find all versions of the php package jeffersongoncalves/filament-gtm. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jeffersongoncalves/filament-gtm
More information about jeffersongoncalves/filament-gtm
Files in jeffersongoncalves/filament-gtm
Package filament-gtm
Short Description This Laravel package seamlessly integrates Gtm analytics into your Blade templates. Easily track website visits and user engagement directly within your Laravel application, providing valuable insights into your website's performance. This package simplifies the integration process, saving you time and effort. With minimal configuration, you can leverage Gtm's powerful analytics features to gain a clearer understanding of your audience and website usage.
License MIT
Homepage https://github.com/jeffersongoncalves/filament-gtm
Informations about the package filament-gtm
Filament Google Tag Manager
This Filament plugin provides seamless integration of Google Tag Manager into your Filament admin panels. It automatically injects GTM tracking code into your Filament application without requiring any manual template modifications. The plugin leverages Filament's render hooks to automatically add the necessary GTM scripts to the head and body sections of your admin panels, enabling you to track user interactions and gather valuable insights about your admin interface usage.
Installation
You can install the package via composer:
Usage
This package automatically integrates Google Tag Manager with your Filament admin panels. Once installed, it will automatically inject the necessary GTM scripts into all your Filament panels without any additional configuration.
The package depends on jeffersongoncalves/laravel-gtm
for GTM configuration. Please refer to that package's documentation for setting up your GTM container ID and other GTM-specific configurations.
Requirements
- PHP 8.2 or higher
- Laravel 11.0 or 12.0
- Filament 4.0 or higher
Automatic Integration
The package automatically registers render hooks with Filament to inject GTM code:
- GTM head script is automatically added to the
<head>
section - GTM body script is automatically added after the
<body>
tag
No manual template modifications are required.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Jèfferson Gonçalves
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-gtm with dependencies
filament/filament Version ^4.0
jeffersongoncalves/laravel-gtm Version ^1.0
laravel/framework Version ^11.0|^12.0
spatie/laravel-package-tools Version ^1.14.0