• I know that cookie consent breaks with some javascript optimizers like autoptimize, fast velocity minify, wpsupercache and async javascript. Furthermore, it messes up the mobile menu. But I managed to get cookie consent to work with autoptimize and minify by excluding some scripts, as you suggested to a different poster.

    currently I have excluded:
    /wp-includes/js/jquery/jquery.js,
    /cookielawinfo.js,
    /wp-content/plugin/cookie-control/js/

    I’d like to add wpsupercache but it seems to break the cookie consent bar.
    I’m kind of in the dark here. Any suggestions?

    Since adding the bar, my site has become really slow on pagespeed. Currently 61 and 77 for mobile and desktop respectively.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter Maria Martinez

    (@orangespot)

    Edit: everything broke the cookie bar except for fast velocity minify.
    Any ideas on how to exempt the correct js?

Viewing 1 replies (of 1 total)
  • The topic ‘help with Java script’ is closed to new replies.