Plugin Directory

Changeset 553460


Ignore:
Timestamp:
06/05/2012 04:29:51 PM (14 years ago)
Author:
JonBishop
Message:

Fixed analytics code

Location:
hubspot
Files:
44 added
3 edited

Legend:

Unmodified
Added
Removed
  • hubspot/trunk/hubspot.php

    r547064 r553460  
    44Description: The HubSpot for WordPress plugin integrates the power of HubSpot with your WordPress site
    55Author: HubSpot
    6 Version: 1.5.7
     6Version: 1.5.8
    77Requires at least: 2.9
    88Author URI: http://www.hubspot.com
  • hubspot/trunk/inc/hs-analytics.php

    r547064 r553460  
    2222                        echo "\t".'if (d.getElementById(i)){return;}'."\n";
    2323                        echo "\t".'var n = d.createElement(s),e = document.getElementsByTagName(s)[0];'."\n";
    24                         echo "\t".'n.id=i;n.src = \'//js.hubspot.com/analytics/'.$hs_settings["hs_portal"].'.js\';'."\n";
     24                        echo "\t".'n.id=i;n.src = \'//js.hubspot.com/analytics/'.trim($hs_settings["hs_portal"]).'.js\';'."\n";
    2525                        echo "\t".'e.parentNode.insertBefore(n, e);'."\n";
    2626                        echo "\t".'})(document, "script", "hs-analytics");'."\n";
  • hubspot/trunk/readme.txt

    r547064 r553460  
    44Requires at least: 2.9
    55Tested up to: 3.3.1
    6 Stable tag: 1.5.7
     6Stable tag: 1.5.8
    77
    88Allows WordPress users to take advantage of HubSpot lead nurturing, website analytics, and assorted features of the HubSpot CMS.
     
    173173
    174174== Changelog ==
     175= 1.5.8 =
     176* Added trim to portal id in analytics
     177
    175178= 1.5.7 =
    176179* Switched to new async tracking code
Note: See TracChangeset for help on using the changeset viewer.