How to add Google Analytics

steve miller Posted in General Discussion 2 years ago

how do I add Google Analytics to the website?

Replies
us Steve miller Replied 2 years ago

Thanks for the info. I was able to get it setup with no issues.

us Tom Raycove Replied 2 years ago

I just went through this very thing myself and it was a bit tricky, but actually very easy.

Google gives you a script of roughly 10 lines of code (estimating from my failing memory). All you need is the 2nd line:

<script async src="https://www.googletagmanager.com/gtag/js?id=G-##########"></script>

note: I've hidden my G-Code with # symbols for this reply only, do not hide yours when inputting to OSSN

Configure>google_analytics
Enter that line of code (of course from your analytics, not mine). Save.

Your Google Analytics panel should give a connection response pretty quick if not instantly. Worked for my site.

I hope this helps and I wish you a GREAT night