WordPress Google Analytics 1.2.2 Released!

I just uploaded version 1.2.2 of my WordPress Google Analytics plugin. It squashes one major bug that has been plaguing some users. Those that switch back and forth from visual to HTML editor, will not longer have problems with it getting stuck!

About Aaron D. Campbell

Owner and lead developer at BlueDog, Aaron has 10+ years of web development experience, it a regular core contributor to the WordPress project, and has released many WordPress plugins.
This entry was posted in WordPress Plugin Updates and tagged , . Bookmark the permalink.

7 thoughts on “WordPress Google Analytics 1.2.2 Released!

  1. great new pugin – gives good easy to read results

  2. Y920 says:

    Plugin that all wordpress theme should have.

    http://www.y920.com/

  3. Y920 says:

    Plugin that all wordpress theme should have.

    http://www.y920.com/

  4. Eg R says:

    Love the update Thanks for keeping wordpress fresh

  5. Nicolas says:

    use of $_SERVER['HTTPS'] unreliable in WordPress Google Analytics 1.2.3.
    in
    wp-google-analytics.php
    on line
    166
    in
    function get_url

    you use
    $_SERVER['HTTPS']

    To my empirical knowledge this is rather unreliable and additionally can give errors(notice).

  6. I should probably check to see if it's set before I use it to fix the notice. However, that's a pretty standard check for HTTPS. The alternative is to check the port, but that's less reliable in my experience. That line should probably be something like:
    <code>$site_url = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on')? 'https://&#039;:'http://&#039;).$_SERVER['HTTP_HOST'];</code>

  7. I should probably check to see if it's set before I use it to fix the notice. However, that's a pretty standard check for HTTPS. The alternative is to check the port, but that's less reliable in my experience. That line should probably be something like:
    $site_url = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on')? 'https://&#39;:'http://&#39;).$_SERVER['HTTP_HOST'];