How to Use JavaScript Pixel?

If a JavaScript pixel is required and you have an iframe pixel, you can create a JavaScript pixel by placing it in JavaScript code. For example, you could use the following, replacing the bolded elements as needed:

<script type=”text/javascript”>//<![CDATA[ document.write(‘<iframe src=”http://NETWORKID.go.urtrackinglink/aff_l?offer_id=OFFERID” scrolling=”no” frameborder=”0″ width=”1″ height=”1″></iframe>’); //]]></script>

Additional Considerations

When placing partner conversion links in your platform, keep these points in mind:

  • Image pixels do not load dynamically (unlike iframe and JavaScript pixels), so only one image pixel can be connected to each conversion point.
  • DCMnetwork provides the default go.urtrackinglink tracking domain on a secure server, so you can use HTTPS pixel protocols to track offers on secure pages. To secure your custom tracking domain, reach out to your account manager. Because SSL certificates are required for secure conversion tracking, it is not sufficient to simply add the “s” to the “http://”.
  • Browsers can load secure content inside insecure iframe pixels, but not the other way around. Partner conversion links can be HTTPS if the tracking pixel is HTTP, but an HTTPS tracking pixel cannot use an HTTP partner conversion link.