Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function eventTracking(category, action, label, that) {
- if(!category) {
- category = 'undefined';
- }
- if(!action || action == '') {
- action = '';
- }
- if(!label || label == '') {
- label = location.href;
- }
- _gaq.push(['_trackEvent',category, action, label]);
- //_gat._getTrackerByName()._trackEvent(category, action);
- if(that) {
- setTimeout("window.location.href='" + that.href + "'",100);
- }
- }
Add Comment
Please, Sign In to add comment