Support the ongoing development of Laravel.io →
Configuration Blade
Last updated 1 year ago.
0

You can add the Google Analytics code to you layout template file.

Last updated 1 year ago.
0

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

Last updated 1 year ago.
0

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

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Rwthwyn rwthwyn Joined 5 Oct 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.