Subject:*
Name/Email:*
Message Icon:*
Message:*
url email imgsrc image php hide code quote
English Nederlands 
VOORBEELD
alignleft aligncenter alignright bold italic underline linethrough   


 [meer...]
Options:*
 

 

 
     
Re: Moving on from Google Universal Analytics

by fiammybe on 10-7-2023 5:42:54

Small update on this : this patch is released in the 1.4.5 version which, essentially, applies the patch on top of 1.4.4

See the release announcement:


Re: Moving on from Google Universal Analytics

by skenow on 24-6-2023 15:30:17

Here's a patch, if anyone wants to implement this and already haven't found a way to do it. I've bundled the files for both v1.3.11 and v1.4.4 into a single file.

There are 2 files to be concerned with - /libraries/icms/view/theme/Object.php and /plugins/preloads/googleanalytics.php. Make a backup of the first and replace with the file from the package for your version. Add the 2nd to the preloads folder.

Without any other changes, you should still be gathering data with the Universal Analytics tag. To us the new GA4 tag, you'll need to create a new property in Google Analytics to get your new tag. When you have it, update the value in your admin control panel of your site - Admin / Preferences / Meta + Footer. When you put in the new tag, include G- with the value. This is how ImpressCMS will know whether to use the UA version or the GA4 version.


Re: Moving on from Google Universal Analytics

by skenow on 19-5-2023 18:43:01

I've reviewed the PR - could someone else have a look at it, too?


Re: Moving on from Google Universal Analytics

by fiammybe on 13-3-2023 2:18:49

Later than planned, but here is a first try : https://github.com/ImpressCMS/impresscms/pull/1429 


Re: Moving on from Google Universal Analytics

by fiammybe on 6-3-2023 2:52:02

That's certainly a viable solution. I'll take care of that this evening.