WP Minify
Excluding Google website optimizer javascript code (2 posts)

  1. oscarhelm
    Posted 4 years ago #


    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?

  2. Ryan Yu
    Posted 4 years ago #


    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:

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Minify
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic