$(document).ready(function(){$(document).on("click",".j-link",datalayerlink)});function datalayerlink(a){a=$(this).data("layer");if("object"==typeof a){var b=$(this).prop("href");a.eventCallback=function(){document.location=b};dataLayer.push(a);return!1}}function datalayerpush(a,b){b=b||"";if("object"!=typeof a)if(0<b.length)document.location=b;else return;0<b.length&&(a.eventCallback=function(){document.location=b});dataLayer.push(a);return!1};