Created
March 10, 2017 19:15
-
-
Save micha/2ee8482119539386ebd05a776944d09e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script type="text/javascript"> | |
//have to load this one differently so that you get it on the load of the JS. | |
window.ados = {}; | |
window.ados.events = {} | |
</script> | |
<script type="text/javascript" src="ados.js"></script> | |
<script type="text/javascript"> | |
var ados = ados || {}; | |
ados.run = ados.run || []; | |
var timers = {}; | |
var start = function(info) { | |
var pix = JSON.parse(zerk_base64.decode(info.veriPixel.match(/\?e=([^&]+)&/)[1])); | |
console.time(timers[""+info.flightId] = info.div+"|"+info.flightId+"|"+pix.av); | |
}; | |
var end = function(flightId) { | |
console.timeEnd(""+timers[""+flightId]); | |
}; | |
ados.run.push(function() { | |
ados.on("passbackExec", function(args) { start(args.data) }); | |
ados.on("passbackNext", function(args) { end(args.data.flightId) }); | |
ados.on("passbackTimeout", function(args) { end(args.data.flightId) }); | |
ados.on("ImpressionCounted", function(args) { end(args.data.shim.fl) }); | |
}); | |
</script> | |
<script type="text/javascript"> | |
var ados = ados || {}; | |
ados.run = ados.run || []; | |
ados.run.push(function() { | |
ados_setDomain("engine-ap-southeast-1.adzerk.net"); | |
/* load placement for account: zerkserve, site: C-Keyword-Optimized-Site, size: 300x250 - Medium Rectangle*/ | |
ados_add_placement(441, 68577, "azk62426", [5,17]); | |
ados_load(); | |
}); | |
</script> | |
</head> | |
<body> | |
<div id="azk62426"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment