Gdpr Compliance: Anonymize Google Analytics

How we can change the Google Analytics script in CS-Cart for 3 stores?

By default we do not have the possibility to enable anonymize ip for Google Analytics in CS-Cart. Today, this is a requirement in Europe. The script should look like this:

Clipboard013.jpg

We have the possibility to activate this feature in other cms packages.

You can add required line of code to the following file

design/themes/THEME/templates/addons/google_analytics/hooks/index/head_scripts.post.tpl