The Google Analytics provides a new kind of property named Google Analytics 4 (GA4) which need to change the javascript to use. This commit uses conditional logic to give consideration to the previous property (Universal Analytics) and new property (GA4).
The Google Analytics provides a new kind of property named Google Analytics 4 (GA4) which need to change the javascript to use. This commit uses conditional logic to give consideration to the previous property (Universal Analytics) and new property (GA4).