[GA4] Set up Analytics for a CMS-hosted website

This article is for anyone who wants to set up Google Analytics 4 for a CMS-hosted (Content Management System) website. For example, a website created using Wix, WordPress, Drupal, Squarespace, GoDaddy, Woo, Shopify, Magento, Awesome Motive, HubSpot, etc.

 

  Get insights on your website or app, at no cost

Use Google Analytics to understand the full customer journey, from first visit to purchase.

 

Which platforms accept a Google tag ID?

The following table indicates which platforms currently provide native support for Google Analytics 4. If you are using one of these platforms for your website, you can simply provide your Google tag ID (which usually starts with a "G-" ) to set up Analytics. If your platform does not support a "G-" ID, you'll need to paste the Google tag (gtag.js) snippet manually into your platform's custom HTML field, as described below.

Platform name Supports "G-" ID
Awesome Motive Yes
Blogger Yes
Drupal Yes
Duda Yes
GoDaddy Yes
Google Sites Yes
HubSpot Yes
Magento Yes
One.com Yes
RebelMouse Yes
Shopify Yes
Site Kit (WordPress plugin) Yes
Squarespace Yes
TYPO3 Yes
Wix Yes
Woo Yes
WordPress.com Yes
Cart.com No
PrestaShop No
Salesforce (Demandware) No
VTEX No
Square Online No

What if my platform only accepts a "UA-" ID?

If your platform does not provide native support for Google Analytics 4, we recommend that you:

  1. Use your website builder's/CMS's custom HTML feature to tag your site. Follow the instructions for your platform, below. Do not simply paste your "G-" ID into the field that your CMS-Analytics integration provides.
  2. Contact your CMS’s technical support indicating that you would like the platform to support Google Analytics 4 properties through Google’s modern Google tag (you may wish to include a link to our developer documentation). Although you're able to set up your site by pasting the Google tag (gtag.js) snippet manually into your platform's custom HTML field, it's better if your platform provides native support and accepts a "G-" ID. Native support ensures that you get the benefits of any Analytics related improvements that your platform may provide in the future.

Instructions for each platform

 

Was this helpful?

How can we improve it?
395381345692478598
true
Search Help Center
true
true
true
true
true
69256
Search
Clear search
Close search
Main menu
true
false
false
false