title: How to load tracking pixel after 10 seconds?
body: <p>My company wants to get some traffic from an Ads delivering agency, they gave us an Pixel tracking code and force us to load it on the website after 10 seconds.
  I'm trying to do this through JS, but still fail.</p>
  
  <p>Here is how the pixel looks:</p>
  
  <pre><code>`&lt;img src="https://ext.example.com/conversion/?c=122959&amp;a=30225" width="1" height="1" onerror="this.onerror=null;this.src='https://a248.e.example.net/9e0d7c940412d5badab847b855f8ac46.com/conv/'+this.src.substring(this.src.indexOf('?'));" /&gt;`
  </code></pre>
  
  <p>Here is what i tried to do:</p>
  
  <pre><code>var lines = "&lt;img src=";
  var lines2="https://ext.example.com/conversion/?c=122959&amp;a=30225";
  var lines3=";this.src='https://a248.e.example.net/9e0d7c940412d5badab847b855f8ac46.com/conv/'+this.src.substring(this.src.indexOf('?'));";                   
        setTimeout(function(){
             document.write(lines+'"'+lines2+'" width="1" height="1" onerror="this.onerror=null'+lines3+'" /&gt;');
        }, 10000);  
  </code></pre>
  
  <p>I use variables because of the --> ' &lt;-- symbols </p>
  
  <p>At the moment after 10 seconds all my contents disappear and the source code shows me only the Pixel code.</p>
  
  <p>Do you have any less resource consuming solutions? How can i fire the Pixel on the webpage after 10 seconds</p>