sherlock-segment
Version:
Sherlock plugin for Segment integrations
21 lines (19 loc) • 915 B
HTML
<script>
!function(){var a,b,c,d=window,e=document,f=arguments,g="script",h=["config","track","trackForm","trackClick","identify","visit","push","call"],i=function(){var a,b=this,c=function(a){b[a]=function(){return b._e.push([a].concat(Array.prototype.slice.call(arguments,0))),b}};for(b._e=[],a=0;a<h.length;a++)c(h[a])};for(d.__woo=d.__woo||{},a=0;a<f.length;a++)d.__woo[f[a]]=d[f[a]]=d[f[a]]||new i;b=e.createElement(g),b.async=1,b.src="http://static.woopra.com/js/w.js",c=e.getElementsByTagName(g)[0],c.parentNode.insertBefore(b,c)}("woopra");
// configure tracker
woopra.config({
domain: 'test.com',
cookie_name: 'hello',
cookie_path: '/',
ping: true,
ping_interval: 12000,
idle_timeout: 300000,
download_tracking: true,
outgoing_tracking: false,
outgoing_ignore_subdomain: true,
download_pause: 200,
outgoing_pause: 400,
ignore_query_url: false,
hide_campaign: true
});
</script>