﻿/*!
* http://www.shamasis.net/projects/ga/
* Refer jquery.ga.debug.js
* Revision: 13
*/
(function ($) { $.ga = {}; $.ga.load = function (uid, callback) { jQuery.ajax({ type: 'GET', url: (document.location.protocol == "https:" ? "https://ssl" : "http://www") + '.google-analytics.com/ga.js', cache: true, success: function () { if (typeof _gat == undefined) { throw "_gat has not been defined"; } t = _gat._getTracker(uid); bind(); if ($.isFunction(callback)) { callback(t) } t._trackPageview() }, dataType: 'script', data: null }) }; var t; var bind = function () { if (noT()) { throw "pageTracker has not been defined"; } for (var $1 in t) { if ($1.charAt(0) != '_') continue; $.ga[$1.substr(1)] = t[$1] } }; var noT = function () { return t == undefined } })(jQuery);
