You can add the Google Analytics code to you layout template file.
you can use package for Google Analytics :
Hi fraserk,
Thanks for responding so quickly.
Brilliant! Glad it's so simple! Incidentally, is it quite so straight forward to add the Google AdSense code?
With thanks in advance,
Mark
Hi fraserk,
I'm trying to add "Google Analytics" or "Google Tags" to an existing Laravel created site.
The "layout template" isn't used.
I believe I'd like to add the script to the header.blade.php file however the <body> & </body> tags don't exist.
Could it be as simple as adding those tags and then placing the code between?
Thank you for your consideration,
Greg
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community