Sei sulla pagina 1di 1

_satellite.

pushAsyncScript(function(event, target, $variables){


(function e$$0(d,l,m){function b(e,a){if(!l[e]){if(!d[e]){var
c="function"==typeof require&&require;if(!a&&c)return c(e,!0);if(k)return k(e,!
0);throw Error("Cannot find module '"+e+"'");}c=l[e]={exports:{}};d[e]
[0].call(c.exports,function(a){var c=d[e][1][a];return b(c?c:a)},c,c.exports,e$
$0,d,l,m)}return l[e].exports}for(var k="function"==typeof
require&&require,a=0;a<m.length;a++)b(m[a]);return b})({1:[function(n,d,l){function
m(a,e,b){function c(a,c,h,b,d){var g=[h,e,a].join("."),g=g.replace(/ /g,
"");k.push(c);c=$(c);if($().live)c.die(g).live(g,function(){f.send(a,h,b,d)});else
c.off(g).on(g,function(){f.send(a,h,b,d)})}var f=this,d=[];this._settings=b||
{};this.send=function(c,b,h,d){h&&"function"===typeof h&&(h=h());a.send(e,c,b,h,d||
{});return f};this.track=function(a,e,b,d,k){b=b.split(" ");for(var
g=b.length;g--;)c(a,e,b[g],d,k);return
f};this.trackNonInterection=function(a,e,c,b){return f.track(a,e,c,b,
{nonInteraction:!0})};this.trackWhen=function(a,e,c,b){function d()
{a()&&(window.clearInterval(g),
f.send(e,c,b,{nonInteraction:!0}))}var g=window.setInterval(d,1E3);d();return
f};this.onWarn=function(a){"function"===typeof a&&d.push(a)}}function b(a)
{"function"===typeof this._initialize&&this._initialize(a)}var
k=[];window.markTracked=function(){for(var a={"border-color":"red","border-
width":"2px","border-style":"solid"},e=k.length;e--;)$
(k[e]).css(a)};b.prototype.forUnit=function(a){this.units=this.units||
{};this.units[a]||(this.units[a]=new m(this,a,this._settings));return
this.units[a]};b.prototype.send=
function(a,e,b,c,d){window.console&&console.log&&console.log(["Sending event.
Category: ",a,", Element name: ",e,", Event: ",b,", Value: ",c.toString(),",
Options: ",d.toString()].join(""))};b.prototype._initialize=function(a)
{this._settings=a||{};this._settings.autoDetect&&$("[data-track]").each(function()
{var a=$(this),b=a.attr("data-track")||"click",c=a.attr("data-track-
name"),d=a.attr("data-track-category");d||(d=a.parent("[data-track-
category]").attr("data-track-category"));c&&this.forUnit(d).track(c,
a,b)})};b.prototype.send=function(a,b,d,c,f)
{window.ga&&(f=$.extend({hitType:"event",eventCategory:a,eventAction:d,eventLabel:b
,eventValue:c,useBeacon:!0},f||{}),ga("send",f))};window.analytics=new
b({autoDetect:!0});window.Analytics=b;d.exports=b},{}]},{},[1]);
});

Potrebbero piacerti anche