How can add Google Analytics without package?

Hey guys, i found this guide but i need to know if this the right way to add Google Analytics in my dashboard SAAS ! please give me a comment about this, i use Filament 3.3.x Thanks https://laraveldaily.com/post/add-google-analytics-code-to-filament-render-hooks
4 Replies
awcodes
awcodes2mo ago
That’s how I would do it.
TranceCode
TranceCodeOP2mo ago
Thank bro!
awcodes
awcodes2mo ago
To be fair though, I would use this approach to include GTM and use that to load analytics, etc. but if you’re not loading anything else then it’s perfectly fine.
TranceCode
TranceCodeOP2mo ago
GTM = Google Tag Manager?

Did you find this page helpful?