Skip to content

Instantly share code, notes, and snippets.

@DevWael
Created July 12, 2021 14:24
Show Gist options
  • Save DevWael/466ea705770257f145315650c11aad55 to your computer and use it in GitHub Desktop.
Save DevWael/466ea705770257f145315650c11aad55 to your computer and use it in GitHub Desktop.
tracking code snippet
<script>
var imgTag = document.createElement('img');
imgTag.height = '1';
imgTag.width = '1';
imgTag.style = 'border-style:none;';
imgTag.alt = '';
imgTag.src = 'https://pubads.g.doubleclick.net/activity;dc_iu=/21835097498/DFPAudiencePixel;ord=1;dc_seg=6575133568?';
</script>
@DevWael
Copy link
Author

DevWael commented Aug 2, 2021

The Full Code

<script>
    var imgTag = document.createElement('img');
    imgTag.height = '1';
    imgTag.width = '1';
    imgTag.style = 'border-style:none;';
    imgTag.alt = '';
    imgTag.src = 'https://pubads.g.doubleclick.net/activity;dc_iu=/21835097498/DFPAudiencePixel;ord=1;dc_seg=6575133568?';
</script>
<noscript>
    <img src="https://pubads.g.doubleclick.net/activity;dc_iu=/21835097498/DFPAudiencePixel;ord=1;dc_seg=6575133568?" width=1 height=1 border=0/>
</noscript>

@DevWael
Copy link
Author

DevWael commented Aug 2, 2021

The code was

<img src="https://pubads.g.doubleclick.net/activity;dc_iu=/21835097498/DFPAudiencePixel;ord=1;dc_seg=6575133568?" width=1 height=1 border=0/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment