Skip to content

Instantly share code, notes, and snippets.

Created October 3, 2012 04:46
Show Gist options
  • Save anonymous/3825052 to your computer and use it in GitHub Desktop.
Save anonymous/3825052 to your computer and use it in GitHub Desktop.
Pixel tracking attemptt
<script type="text/javascript">
var XHR = new XMLHttpRequest();
XHR.open("GET", "http://shop.bodytrim.com.au/TrackingPixelList.txt", true);
XHR.send();
XHR.onload = function (){
console.log( XHR.responseText.slice(0, XHR.responseText.indexOf("\n")) );
};
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment