Created
February 1, 2011 19:51
-
-
Save natebenes/806520 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Functions.js */ | |
Tracker = | |
{ | |
req: { | |
}, | |
track: function () | |
{ | |
var a = this.req; | |
delete a.trackingServer; | |
delete a.trackingServerSecure; | |
a.u = document.location.href; | |
a.bw = window.innerWidth; | |
a.bh = window.innerHeight; | |
if (document.referrer && document.referrer != "") | |
{ | |
a.ref = document.referrer | |
} | |
$("body").append('<img src="/tracking.gif?' + jQuery.param(a) + '"/>') | |
} | |
}; | |
/* end Functions.js */ | |
/* begin embed */ | |
$(document).ready(function() { | |
Tracker.req.object_id = 5281; | |
Tracker.req.object_type = 'blogPost'; | |
Tracker.track(); | |
}); | |
/* end embed */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe it would seem better if I named it "fluffyBunnies.gif"...