You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After adding a google analytics measurement ID in Arches under Web Analytics in System Data Settings, there are no recorded analytics on google analytics page and it mentions 'No data received from your website yet'. I have noticed the code snippet in https://github.com/archesproject/arches/blob/master/arches/app/templates/base.htm#L96 is different to what I see in the latest tag manager from google. So updating this part in the base.htm with the following code starts recording analytics successfully
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{app_settings.GOOGLE_ANALYTICS_TRACKING_ID}}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{app_settings.GOOGLE_ANALYTICS_TRACKING_ID}}');
</script>
The text was updated successfully, but these errors were encountered:
After adding a google analytics measurement ID in Arches under Web Analytics in System Data Settings, there are no recorded analytics on google analytics page and it mentions 'No data received from your website yet'. I have noticed the code snippet in https://github.com/archesproject/arches/blob/master/arches/app/templates/base.htm#L96 is different to what I see in the latest tag manager from google. So updating this part in the base.htm with the following code starts recording analytics successfully
The text was updated successfully, but these errors were encountered: