Go to System → Settings → General
Google Universal Analytics is deprecated in v1.3.4 Please enter your Google Analytics 4 tag ID.
You need a MEASUREMENT ID, follow the instructions in this article.
This also enables basic e-commerce activity tracking. You must enable e-commerce tracking in Google on the profile settings page for your website.
Universal Analytics property will be named "Example (UA-1234567)" and your Google Analytics 4 property will be named MEASUREMENT ID "Example - G-YN27JE55RE". |
If your theme does not support the new Google Analytics 4 simply create a HTML block with a new GA4 tracking code and add it to the header in all page layouts.
Your new GA4 on-page tag is located on the details page for the web data stream for your GA4 property. If you don't see a Data Streams link in the Property column, you are looking at the Admin page for a Universal Analytics property instead of your new GA4 property.
<!-- Global Site Tag (gtag.js) - Google Analytics -->
</script>