Easy Google Optimizer Plugin for WordPress

This plugin will add the code needed to run Google Web Optimizer testing program on your WordPress blog

Download & Installation

1.)  Sign up for and start a new Google Web Optimizer test account.

Setup instructions for this step can be found here

2.) Download the Easy Google Optimizer plugin from our plugin page on WordPress.org

Version 1.0 – updated 9/21/08

Tested to work on WP 2.8.4

3.) Then activate this plugin

  1. Unzip and upload the file into your `/wp-content/plugins/` directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Follow the setup instructions to setup a Google Web Optimizer test at www.google.com/intl/en/websiteoptimizer/tutorials.html
  4. Add the tracking code from Google into your test pages from the Easy Google Optimizer admin menu.  This can me found in the Manage > Easy Google Optimizer menu item (as of WordPress 2.6 this is now under the Settings menu)

Version History

1.0 – Initial Release – Will automatically add the tracking code needed for your website to use the Google Web Optimizer testing system.

Feedback & Support

Please feel free to leave your comments and feedback. They are very much appreciated. 


Comments: 42

Leave a reply »

  • Neat little tool.

  • Hi There,

    I absolutely LOVE the ease of use of this plugin – but I’m getting an error when i try to validate the scripts in webmaster central.

    For some reason the control script on the test page is throwing an error – is there something I can do to patch this in? Could this be because of my indextools tracking script?

    Thanks for any insight you can offer.


  • Impression Engin..

    Please try making a new test in the Google system and that should fix your problem.

  • Impression Engin..


    Glad you got it working by starting a new test. Sounds like it was something within the Google system that was causing the problem. Thanks for the email.

  • Hi all,
    I figured out my issue and we’re using your plugin on most of our wordpress blogs now. Amazing technology and SO easy to use.

    Do you anticipate adding functionality to run multiple tests – as in testing 2 completely different sets of pages/posts at the same time?

    Thanks for your help!

  • Hi there,

    Seems like a great tool you have there. However I am having problems when I get to “preview the experiment now” option in Google Optimizer. For some reason this only shows the “original” page even though I have added the page ID’s seperated by commas (like: “443, 445, 461″).

    Does it matter that I am trying to do this on “pages” and not “posts” in wordpress?

    Looking forward to your reply.

  • Impression Engin..

    No, it should not matter. That option adds the tracking code to those pages for the Google system.

    Did your pages verify ok in the Google system? Sounds like not all the pages are defined as variations in your Google account.


  • Impression Engin..

    Hi Carrie,

    We are working on a newer system to do multiple tests but we are not ready to release it at this time.

    Thanks for your interest

  • Yes all pages verified. That is why I don’t get it.

  • Strange, it validated perfect yesterday. I think the problem might be that a page and post doesn’t have an extension like .html –

    They end with a ” / ”

    Do I need to put something instead of the ” / ” ?

  • Impression Engin..

    No, the file extension should not make a different as long as the same URL is being used in the Google system in the page variation section. If it verified on the Google system it should be working.

  • Arjen ter Hoeve

    Thank you for your wonderful Google Optimizer plugin! – YOU ROCK!!!

  • I am having trouble getting this plugin to work. I created a new a/b experiment.

    The first issue I notice is:
    What is the Google Optimizer account ID? (Item 1 in red)
    When I paste following your instructions after I save the code in this box changes to \’UA-bla-3\’ – Could you please give another example of how the code is supposed to look in this field? Do I need to include the “‘” at the beginning and end of account number?

    For the original, control, and confirmation pages I use post ids correct?

  • Impression Engin..


    The account ID is just the unique letters and numbers for your account. The quote marks are from the original javascript that comes from Google and is not needed.

    You are correct about using the Post ID’s

    Please let us know if this fixed your problem.

  • Hi, this looks great… just wondering, is your plugin working with wp2.7?

    • yes, we have tested the plugin to WP2.7 and it should be working correctly.

  • I installed the plugin and accualy it works pritty well.

    But I only get the control script on the top of the page and not the script for the footer.

    What am I doing wrong?

  • I’m gonna have to check this out tomorrow.

    I was all happy finding this plugin from ContentRobot today: http://websiteoptimizer.contentrobot.com/ (which does support multiple tests)

    BUT … that one breaks some bracket parsing (shortcode?) so it’s useless to me and doesn’t seem to have been updated since March 2007.

  • affiliate.soluti..

    I found your blog on google and read a few of your other posts. I just added you to my Google News Reader. Keep up the good work. Look forward to reading more from you in the future. Feel free to check out my blog on the 36 Best WordPress plugins for 2009.

  • Hello and thank you for a wonderful plugin!
    Google optimizer tool is such an important thing I am surprised more people do not use it.

  • Cool Plugin! I’m afraid however I’m having some troubles with it. When I put the lines of code in the fields (control and tracking script) and I choose ‘update post’ I get a database Error. This doesn’t happen without the code.

    Any Idea how I can resolve this problem?

  • To be excact, this is the error I’m receiving: Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Also, I have the checkbox Enable the Google Website Optimizer support for this page/post.

  • Impression Engin..

    Hi Edward,

    Our system just uses the bulitin system calls to store our plugin options. So if your WordPress install is working there shouldn’t be an issue using this plugin. Internal Server Errors are usually caused by some sort of misconfiguration on the server but without more details about it we can’t really offer you a better solution.

  • I’m happy to say the problem is solved, it was a problem on my server (so I’m told). So thanx for your plugin, it’s a really great tool!

  • Thanks a lot for this great plugin. Unfortunately I’m having some problems getting the pages validated by Google Optimizer. Google Optimizer gives me a “Tracking script not detected on … page” for all pages???

    I’m using your plugin on my WordPress blog, version 2.7 (http://www.ppc-maverick.com/free-ppc-tool/).

    Here is what I’m doing:

    * I create an A/B experiment on Google Optimizer.
    * I copy/paste the account ID and test ID into the Easy Google Optimizer Plugin form on my blog.
    * I provide the page id’s for the 3 pages that are involved in the test
    * I click the update button on easy google optimizer (this should automatically insert the scripts in the 3 pages).
    * Finally, I click “validate pages” on google optimizer and that’s when I get the error mentioned above.

    When I check the page source on the original page, the following scripts have been inserted:

    1: In the section at ~ line number 15:

    function utmx_section(){}function utmx(){}(function(){var k=’1356310311′,d=document,l=d.location,c=d.cookie;function f(n){if(c){var i=c.indexOf(n+’=’);if(i>-1){var j=c.indexOf(‘;’,i);return c.substring(i+n.length+1,j<0?c.length:j)}}}var x=f(‘__utmx’),xx=f(‘__utmxx’),h=l.hash;d.write(”)})();

    This script is equal to the one on the Google Optimizer page

    2: And the following script just before the tag:

    gaJsHost = ((“https:” == document.location.protocol) ? “https://ssl.” : “http://www.”);
    document.write(unescape(“%3Cscript src='” + gaJsHost + “google-analytics.com/ga.js’ type=’text/javascript’%3E%3C/script%3E”));

    try {
    var pageTracker = _gat._getTracker(“MY-ACCOUNT-ID-2″);
    } catch(err) {}

    This script differs slightly from the one proposed by Google (at the end of my account id, the number 2 is appended instead of 1 ???):


    try {
    var pageTracker=_gat._getTracker(“MY-ACCOUNT-ID-1″);

    Could it be, that Google Optimizer made any recent changes and the plugin no longer works with it (see the differences in the script above)?

    Thanks a lot for your help.


  • […] these guys and make sure their plugin still works for v.2.8 of WP – so much changed in v2.8 Easy Google Optimizer Plugin for WordPress | Impression Engineers Cheers, […]

  • […] plugin is called the Easy Google Optimizer plugin from Impression Engineers, and is free to download from their website. Load it as you would any […]

  • Thanks:) Looking forward to seeing this roll… You may have saved me spending hours with this guys convulated version…

  • Hello again – all looked good yesterday. I have a Pay Per Click campaign set up and clicking on the same advert produced the desired variant pages. However, its not happening today, I created a new ‘optimizer experiment’ to double check, but its a no go.

    It works like a dream in Optimizer and all variant pages in ‘preview’ are as they should be but is it going to work with my PPC campaign? Is there a test I can perform to check all is well?

  • Sorry for the drip drip drip of questions, but can you only run one A/B test at a time, is there a multi testing experiment option? I have about 4 different categories to test. Thanks for all this much appreciated.

  • Impression Engin..

    Hi Liverpool,

    1.) The system is independent of the PPC ads. The GO tests are preformed and tracked on your site alone. The PPC ads only drive traffic to the site and are tracked separately in your Adwords account.

    If the pages validated properly in the GO setup area then everything should be working correctly.

    If you have viewed your site the system setups a tracking cookie to make sure you are always served the same version of the site when you return. I can only recommend you try deleting your cookies and cache and retry it.

    2.) In the free version of the plugin we’ve made available it will only run one GO test per site at a time. It does have the option to choose between and A/B and Multi-variant test in the settings menu.

  • Thanks for the quick response. You mention one test available in the free version – can we buy a plugin for mutli versions? Can you give me a link.

    Thanks again

  • Impression Engin..

    @PPC mutli testing. Please contact us for a quote.

  • Hi, great and simply plugin. But is it possible to set somewhere time (as a conversion goal)? I do not want to track goal page, but my conversion will be 30 sec on page. Thank you for your help…

  • I have put in a split test on 2 pages and identified the conversion page and the google code does not get inserted into the conversion page

  • Just installed and Google is able to recognize all my pages. Thanks.

    Suggestion- You may need to check your download files and do some clean up. People using the downloadable zip may get an error if they try to upload directly this file from WP interface. Just a heads-up…

  • […] If you use WordPress, install the Easy Google Optimizer Plug-in for WordPress from ImpressionEngineeers.com. This makes setting up your campaign a […]

  • […] plugin is called the Easy Google Optimizer plugin from Impression Engineers, and is free to download from their website. Load it as you would any […]

  • I get an ‘unvalid header’ error when I try to activate the plugin. Any chance this plug in will be updated sometime soon?

  • Hi my family member! I want to say that this post is awesome, great written and come with approximately all significant infos.

    I would like to see more posts like this .

  • […] plugin is called the Easy Google Optimizer plugin from Impression Engineers, and is free to download from their website. Load it as you would any […]

  • Leave a Reply
    Your gravatar
    Your Name