samuelmc/google-analytics-bundle
Symfony bundle for adding Google Analytics to your application. Configure your tracking ID and render the analytics tracking snippet through bundle services and Twig helpers, keeping setup centralized and easy to manage.
^2.0 with Composer. Laravel auto-discovery should register the service provider, but verify the provider namespace in composer.json / vendor because 2.0.0 refactored namespaces and classnames.php artisan vendor:publish --tag=<package-config-tag> (confirm the tag in the service provider). Do not blindly overwrite an existing config file; 2.0.0 explicitly requires config changes, so compare old and new keys and merge renamed values.register/boot), the published config file, any facade accessor, and the package’s upgrade notes/changelog for renamed namespaces, classnames, and config keys.handle() execution. This avoids stale config when config caching is enabled.composer dump-autoload, php artisan config:clear, php artisan cache:clear, and php artisan package:discover. In production, rebuild with php artisan config:cache only after verifying the new config.config/app.php, update them. Facades and aliases may have moved to new namespaces in 2.0.0.How can I help you explore Laravel packages today?