1/* 2Track clicks from special elements 3Arnan de Gans (http://www.arnan.me) 4Version: 1.0 5With help from: Fraser Munro 6Original code: Arnan de Gans 7*/ 8 9/* ------------------------------------------------------------------------------------ 10* COPYRIGHT AND TRADEMARK NOTICE 11* Copyright 2008-2018 Arnan de Gans. All Rights Reserved. 12* ADROTATE is a trademark of Arnan de Gans. 13 14* COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT. 15* By using this code you agree to indemnify Arnan de Gans from any 16* liability that might arise from it's use. 17------------------------------------------------------------------------------------ */ 18 19(function($) { 20 $(document).ready(function() { 21 $(document).on('click', 'a.gofollow', function(){ 22 var tracker = $(this).attr("data-track"); 23 var debug = $(this).attr("data-debug"); 24 25 $.post(click_object.ajax_url, {'action':'adrotate_click','track':tracker}); 26 if(debug == 1) alert('Tracker: ' + tracker + '\nclick_object.ajax_url: '+click_object.ajax_url); 27 }); 28 }); 29}(jQuery));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.