@luison I don’t know the background to this but possibly google analytics might have had fewer parameters in the past.
There have been some requests for phplist to support Matomo for analytics as an alternative. Possibly any reworking of this code could separate the processing into a plugin, to allow either google analytics or matomo to be used.