WordPress.org

Support

Support » Plugins and Hacks » WP Minify » Excluding Google website optimizer javascript code

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)
  • 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

    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.
Skip to toolbar