WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. oscarhelm
    Member
    Posted 2 years ago #

    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?

  2. Ryan Yu
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags