Skip to content

Instantly share code, notes, and snippets.

@zodman
Created August 20, 2012 23:10
Show Gist options
  • Save zodman/3409068 to your computer and use it in GitHub Desktop.
Save zodman/3409068 to your computer and use it in GitHub Desktop.
trigger google push event
function trackLink(category, action, opt_label) {
var id = GGANA_GLOBAL_ID;
console.log("track:::", id);
console.log("track:::", category, action, opt_label);
var ret = _gat._getTracker(id)._trackEvent(category, action, opt_label);
console.log("track:::", ret);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment