0
Welcome Guest! Login
0 items Join Now

SOLVED Anonym Statistics Google Analytics

    • RustyR's Avatar
    • RustyR
    • Hero Rocketeer
    • Posts: 436
    • Thanks: 1

    SOLVED Anonym Statistics Google Analytics

    Posted 6 years 12 hours ago
    • Hi there!

      Is it possible to anonymize ip of google analytics via Gantry 4 templates, the same as Gantry 5? Or shouldn't I use the templates option to activate the UA code and place the code in the index.php? I have to change this due to the new European GDPR law.

      Cheers,
      Remco
    • Last Edit: 6 years 10 hours ago by RustyR. Reason: solved
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: Anonym Statistics Google Analytics

    Posted 6 years 10 hours ago
    • stop using the templates UA field and instead use your own analytics code. It would have to go in index.php - but a better way of adding it would be to use headscript or headtag extensions to add the code to the head tag dynamically (so you don't have to worry about template updates).

      Regards, Mark.
    • The following users have thanked you: RustyR

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.047 seconds