GUIDES
How to set up web analytics tracking
2min
this feature allows for integration with many web analytics tools since they work by loading a js snippet if you decide to use google analytics, here is what you need to do google analytics 4 is the next generation measurement solution, replacing universal analytics on july 1, 2023, standard universal analytics properties stopped processing new hits if you still rely on universal analytics, we recommend you use google analytics 4 going forward to add the google analytics tracking code to your documentation portal, youβll need a piece of code known as the β global site tag β you can find this in your google analytics admin dashboard locate the tracking code under admin > data streams > web stream details copy the global site tag below into the custom javascript field under space settings > custom code make sure you replace the insert measurement id with your own id \<! global site tag (gtag js) google analytics > \<script async src="https //www googletagmanager com/gtag/js?id=g 80b7mqz06b">\</script> \<script> window\ datalayer = window\ datalayer || \[]; function gtag(){datalayer push(arguments);} gtag('js', new date()); gtag('config', '{insert measurment id}'); \</script> after the code is added, click save and publish to production for security reasons, custom code is only included on a custom domain
π€
Have a question?
Our super-smart AI,knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.