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
I wound up just solving this by overriding the default analytics stuff in the theme. I did so by commenting out the google_analytics config in _config.yml and then making my own head file called includes/my-head.html (which Hydejack includes by default). The contents of that file is (be sure to replace <your GA ID> with your GA4 ID):
<!-- Google tag (gtag.js) --><scriptasyncsrc="https://www.googletagmanager.com/gtag/js?id=<your GA id>"></script><script>window.dataLayer=window.dataLayer||[];functiongtag(){dataLayer.push(arguments);}gtag('js',newDate());gtag('config','<your GA ID>');</script>
GA3, aka Universal Analytics is deprecated and will be shut down on July 1, 2023: https://support.google.com/analytics/answer/11583528
Any plans to update analytics.html to support the GA4 tag?
The text was updated successfully, but these errors were encountered: