Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #976517

    Hey Guys,

    i’m running a multisite installation with this structure: (Running Enfold, active Cookie Consent with Matomo Tracking ID1) (Shop-Subsite, running Storefront with WooCommerce, Matomo Tracking ID 1)

    I prefer your Cookie Consent Implementation – it works great!

    So my question: Is it possible to make the enfold cookie consent function globally available for subsites within the multisite network? So that the same Enfold cookie notice pops up if an user starts a session on the Subsite which is running storefront?
    Hope you know what im talking about ;)



    Hey eny4W,

    I didn’t test it but you could try to replace line 53 in wp-content\themes\enfold\js\avia-snippet-cookieconsent.js

    document.cookie = CookieName+"="+CookieValue+expires+"; path=/";


    document.cookie = CookieName+"="+CookieValue+expires+";;path=/";

    Of course you need to replace with you domain, however keep the dot before your domain (ie


    Best regards,


    Thank you Dude,

    It work’s for me.



    Hi barbarawsimon,

    Thanks for the feedback, glad you got it working.

    Best regards,

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.