Title: Excluding Google website optimizer javascript code
Last modified: August 20, 2016

---

# Excluding Google website optimizer javascript code

 *  [oscarhelm](https://wordpress.org/support/users/oscarhelm/)
 * (@oscarhelm)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/excluding-google-website-optimizer-javascript-code/)
 * Hi,
 * I really like WP minify plugin, although there is a little problem.
 * When I want to splittest blogposts I use website optimizer but that doesn’t work
   in combination with this plugin.
 * The reason is that the tracking scipt (which is javascript) is loaded externally
   and Google website optimizer can’t validate the code in the pages then.
 * Knows anybody a solution? Maybe the author can add an option to always exclude/
   ignore google website optimizer codes.
 * Or can I exclude that already with the exclude box in wp minify?

Viewing 1 replies (of 1 total)

 *  [Ryan Yu](https://wordpress.org/support/users/geeksfolder/)
 * (@geeksfolder)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/excluding-google-website-optimizer-javascript-code/#post-2241839)
 * Hey,
 * Just found your question and not sure if you got a solution.
    If not, you can
   do the followings.
 * You can add URIs under “Local Files Minification” section.
 * So for example, if the page url is:
    [http://yourdomain.com/home](http://yourdomain.com/home)
 * your uri will be /home.
 * Also you can add the get value (wp-minify-off=1) to the url
    and the page will
   skip the wp-minify.

Viewing 1 replies (of 1 total)

The topic ‘Excluding Google website optimizer javascript code’ is closed to new 
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-minify.svg)
 * [WP Minify](https://wordpress.org/plugins/wp-minify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-minify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-minify/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-minify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-minify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-minify/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ryan Yu](https://wordpress.org/support/users/geeksfolder/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/excluding-google-website-optimizer-javascript-code/#post-2241839)
 * Status: not resolved