Preamble script

The source HTML-file must include our script preamble. It is used for configuring the ad, making sure you get access to all the JavaScript functionality needed to integrate with our system. Include the following <script>-tag in the <head> of the document:

<script type="text/javascript">
  try{ $$preamble$$ }catch(e){}
  if (typeof(window.HTML5) == 'undefined') {
    var p = 'https:' == document.location.protocol ? 'https:' : 'http:';
    document.write('<scr'+'ipt src="' + p + '//sting.de17a.com/html5.js"></scr'+'ipt>');
  } else { window.HTML5.boot(window, window.Sting); }
</script>

Note: if an html minifier is used, please make sure that the preamble still works.


Last modified: Fri May 12 2017 10:25:05 GMT+0200 (CEST)