Google Analytics widget incompatible with Google Analytics 4 Properties

0
Hi,   The Google Analytics widget (https://github.com/mendix/GoogleAnalytics) requires a UA code. However, in Google Analytics 4, this code is replaced by a MeasurementID with a different format, breaking the widget.   Could the widget be updated to support GA4-properties? 
asked
1 answers
0

It probably can, that is up to the creators of the app, Mendix. Most recent code charge is three years ago, so it nicht taken a while three years, it helps to add a review in the marketplace.

In the mean time, the solution is to copy and paste the code from the googles GA4 javascript into an html- widget in your page templates. See https://support.google.com/analytics/answer/9304153#zippy=%2Cios-app-or-android-app%2Cadd-the-global-site-tag-directly-to-your-web-pages

answered