By jochantrelle
Greetings All,
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! :)
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
IF you want to add Google analytics to your laravel app then folloe this article - Article
Hi there @jochantrelle,
I believe that it is enough to include the Google Tracking tag to your Laravel views as you’ve done already, there should be no changes that you need to do on the server-side.
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.