Affiliate Links Tracking mit Google Analytics
1 2 3 4 5 6 7 8 |
$(window).load(function() { //Track Affiliates $('a').filter(function() { return this.href.match(/pattern/); }).click(function(event) { ga('send','event', 'affiliate', 'click', this.href); }); }); |
Event Tracking Snippet
1 |
_gaq.push(['_trackEvent', 'VarA', 'VarB', 'VarB']); |
Weiterlesen