Plugin Directory

Changeset 228575


Ignore:
Timestamp:
04/13/2010 09:57:31 PM (16 years ago)
Author:
cavemonkey50
Message:

Updates the async tracking snippet to the latest version provided by Google.

Location:
google-analyticator/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • google-analyticator/trunk/google-analyticator.php

    r182133 r228575  
    800800        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    801801        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    802         (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
     802        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    803803    })();
    804804</script>
  • google-analyticator/trunk/readme.txt

    r228570 r228575  
    5252= 6.0.3 =
    5353* Prepares Google Analyticator for WordPress 3.0 compatibility.
     54* Updates the async tracking snippet to the latest version provided by Google. This new update solves issues with IE7 and IE6, and fixes all problems related to the snippet being placed in the <head> section of a page. You can rest easy knowing that async tracking in the <head> is completely compatible with IE now.
    5455
    5556= 6.0.2 =
Note: See TracChangeset for help on using the changeset viewer.