Created
April 13, 2012 10:30
-
-
Save DinisCruz/2375660 to your computer and use it in GitHub Desktop.
Gaug.es customization to feed page events
This file contains 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
var my_Gauge = | |
{ | |
data_site_id : '....' | |
, title : null | |
, resource : null | |
, track : function(title, resource) | |
{ | |
my_Gauge.title = title; | |
my_Gauge.resource = resource; | |
_gauges.track(); | |
} | |
}; | |
.... | |
, url:function() | |
{ | |
var a,b | |
//TM changes - start | |
//d=this.$('gauges-tracker'); | |
// if(d) | |
{ | |
//b=d.getAttribute('data-site-id'); | |
b = my_Gauge.data_site_id; | |
//a=d.src.replace('/track.js','/track.gif'); | |
a = "https://secure.gaug.es/track.gif" | |
var title = my_Gauge.title ? my_Gauge.title : this.title(); | |
var resource = my_Gauge.resource ? my_Gauge.resource : this.resource(); | |
..... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment