We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Google analytics, How to add the script to a group?

  • #7044
    Avatar photo[anonymous]

    So basically I was making a website but was confused about how to link the cookies and google analytics, there is a guide for Disqus like to go to the partials folder and open Disqus.hbs and add the type attribute, but for the same in google analytics, I can’t find any .hbs files.

    Avatar photo[anonymous]


    In Publii v.0.39 planned for this week there will be a plugin for Google Analytics which allows very easy integration with our cookie banner 🙂

    If you want to do it manually you must use gdprScriptBlocker helper:

    Avatar photo[anonymous]

    Aaah, Looking forward to it. 👀😃