How to add Google Analytics tracking ID on Laravel Livewire (TALL stack) -> Git -> Forge -> Digital Ocean
I have successfully deployed a working App for our Organization, built on Laravel TALL Stack (Tailwind, AlpineJS, Laravel & Livewire) deployed via a GitHub repository thru Laravel Forge, Hosted on Digital Ocean Servers.
I am in the process of adding Google Analytics to the site.
I’ve done the recommended add a analytics.blade.php file containing my site specific “Google Site Tag” (gtag.js) script, and added that to the appropriate file via @include() function.
Just not seeing where on Forge or Digital Ocean I can add the accompanying Tracking ID provided by the Google Ads campaigns page.
Any help would be greatly appreciated.
Thanks in advance! :)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×