Hi all, I am configuring my Dataverse installation to integrate with Google Analytics. I have set up Google Analytics and everything is going well. I have a question, do I need to configure anything else on the Dataverse side?
We suggest putting your Google Analytics code here in a file: https://guides.dataverse.org/en/6.3/installation/config.html#web-analytics-code
We are getting and error: google analytics blocked strict-origin-when-cross-origin
Is there a way to display or check settings?
Could you show us your Google Analytics configuration?
<!-- Global Site Tag (gtag.js) - Google Analytics -->
<script async="async" src="https://www.googletagmanager.com/gtag/js?id=GTM-xxxxxx"></script>
<script>
//<![CDATA[
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'GTM-xxxxxx');
//]]>
</script>
Last updated: Nov 01 2025 at 14:11 UTC