Installation
Place one deferred Gumanalytics script in the shared layout of your website to start collecting page views and active engagement.
Copy your domain snippet
Open Domains, choose your website, and then open Settings. In Setup, choose HTML / Embed and copy the generated script:
<script defer src="https://gumanalytics.com/js/analytics.js?v=be9add48f624" data-domain="example.com"></script>Add it site-wide
Place the snippet in a shared HTML head, root application layout, CMS custom-code area, or tag-manager custom HTML tag. The data-domain value must match the domain saved in Gumanalytics.
Confirm it works
Publish the change, visit a live page on the tracked domain, and refresh the website dashboard after a short wait.
Copy the installation safely
Use the Copy button beside the selected Setup code block instead of selecting the snippet manually. If you enable replay or heatmaps later, return to Setup and copy the refreshed installation so its feature and sample-rate attributes stay current.