• Resolved sunnycmui

    (@sunnycmui)


    So I’m trying to make my blog GDPR compliant.

    One of the things is allowing visitors to select what cookies are allowed in their privacy preferences.

    Different scripts create different cookies so my idea is to just not load a specific script creating certain cookies if the user selects it in their privacy preferences.

    Is there any way to trigger different concatenated script versions to be served based on some kind of cookie?

Viewing 1 replies (of 1 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    ow … that might be possible using the API (specifically autoptimize_filter_js_removables could be very helpful), but you’d have to forgo page caching in that case because every request would have to be treated by AO.

Viewing 1 replies (of 1 total)
  • The topic ‘Modifying Which Scripts Autoptimize Concats Dynamically for GDPR Compliance’ is closed to new replies.