Title: Does not work with autooptimize plugin
Last modified: August 30, 2016

---

# Does not work with autooptimize plugin

 *  Resolved [Ingo311](https://wordpress.org/support/users/ingo311/)
 * (@ingo311)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/does-not-work-with-autooptimize-plugin/)
 * I cannot make EU Cookie law work on my site as long as the plugin ‘autooptimize’
   is enabled. The ‘more information’ and the ‘Accept’ buttons do not work.
    I have
   to disable ‘Optimize JavaScript Code’ in the settings of autooptimize to make
   it work. Unfortunately my site is not autooptimized then and gets lower marks
   in the Google pagespeed insights tests.
 * What is strange is that I have an option to ‘Exclude scripts from Autoptimize’
   in the plugin. I entered the two scripts I found in the EU Cookie Law folder 
   there (eucookiesettings.js and scipts.js), but this did not do the trick yet.
   Is there any other script I should exclude?
 * or any other solution except disabling the autooptimization for scripts?
 * [https://wordpress.org/plugins/eu-cookie-law/](https://wordpress.org/plugins/eu-cookie-law/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [Ingo311](https://wordpress.org/support/users/ingo311/)
 * (@ingo311)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/does-not-work-with-autooptimize-plugin/#post-6532324)
 * Correction: the name of the plugin is autoptimize, only one o
 *  Thread Starter [Ingo311](https://wordpress.org/support/users/ingo311/)
 * (@ingo311)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/does-not-work-with-autooptimize-plugin/#post-6532345)
 * The author of the autoptimize plugin helped me to solve it: I had to exclude 
   jquery.js from autoptimize!
 *  Plugin Author [Marco Milesi](https://wordpress.org/support/users/milmor/)
 * (@milmor)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/does-not-work-with-autooptimize-plugin/#post-6532470)
 * Hi [@ingo311](https://wordpress.org/support/users/ingo311/),
    thank you for reporting.
   Glad to hear that you’ve solved the problem!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Does not work with autooptimize plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/eu-cookie-law_39293e.svg)
 * [EU Cookie Law for GDPR/CCPA](https://wordpress.org/plugins/eu-cookie-law/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/eu-cookie-law/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/eu-cookie-law/)
 * [Active Topics](https://wordpress.org/support/plugin/eu-cookie-law/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/eu-cookie-law/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/eu-cookie-law/reviews/)

## Tags

 * [autooptimize](https://wordpress.org/support/topic-tag/autooptimize/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 3 replies
 * 2 participants
 * Last reply from: [Marco Milesi](https://wordpress.org/support/users/milmor/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/does-not-work-with-autooptimize-plugin/#post-6532470)
 * Status: resolved