Untitled

mail@pastecode.io avatar
unknown
javascript
2 years ago
1.2 kB
3
Indexable
Never
<script type='text/javascript'> 
  piAId = '971773'; 
  piCId = ''; 
  piHostname = 'content.lighthouse-canton.com'; 
  (function() { function async_load(){ 
    var s = document.createElement('script'); 
    s.type = 'text/javascript'; 
    s.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + piHostname + '/pd.js'; 
    var c = document.getElementsByTagName('script')[0]; 
    c.parentNode.insertBefore(s, c); } 
               if(window.attachEvent) { window.attachEvent('onload', async_load); } 
               else { window.addEventListener('load', async_load, false); } })();
  //Snippet 2
 
  (function() { // The src value will now load pdt.js instead of pd.js 
    var s=document.createElement('script');
    s.type='text/javascript';
    s.async=true;s.src='//'+piHostname+'/pdt.js?aid='+piAId; 
    var c=document.getElementsByTagName('script')[0];
    c.parentNode.insertBefore(s,c); // Initialize the queue 
    window['pdt'] = window['pdt'] || function(){(window['pdt'].cq = window['pdt'].cq || []).push(arguments);}; })();
  
  
  pdt('create', piAId, piCId, piHostname);
  pdt("hideConsentBanner", true);
</script>