Hi Michael,
Thanks a lot for your cookie extension. I used it for almost a year now on a client site. Basically it works well. But the client noticed that it messes with Google Analytics. What happens is that the numbers for direct access and organic search are reversed. Normally most users arrive via organic search, but as soon as your plugin is switched on, numbers for organic search decrease as much as numbers for direct visitors increase. Total number remains the same.
Since this is a shop, all users must accept cookies to be able to use the site. Otherwise the shop cannot work.
Do you have an idea why this analytics number reversal happens and how it could be fixed?
Thank you!
Ralf
EDIT: Meanwhile I've done more research and have come across this post of yours, Michael:
stackoverflow.com/a/49963230/1341569
Looks like you know how to do it right ... would you be kind enough to share your wisdom?
Would you be available to implement it on a client site, for a fee?