Why the Google Analytics integration does not work?
Based on the property type that you have created in your Google Analytics account, it's required to select the proper API for the integration in the component settings.
- If you have registered a property as a 'Universal Analytics Property' then you have to select the 'Google Analytics API (UA - Universal Analytics)' or the 'Google Analytics Reporting API (UA - Universal Analytics)'. Keep in mind that Google is going to sunset Universal Analytics on July 1, 2023, in favor of Google Analytics 4.
- If you have registered a property as a 'Google Analytics 4 Property' then you have to select the 'Google Analytics Data API (GA4 - Google Analytics 4).
If you register a 'Google Analytics 4 property', to use it through the API integration, it's required to select the new 'Google Analytics Data API' and enter the GA4 property ID rather than the domain link:
The GA4 property ID is available in your Google Analytics account visiting the admin area at top right corner: