HTML5 Creatives - Click Tracking Issues

My HTML5 creatives are not tracking clicks, what do I do?

In order to track clicks within the DSP for HTML5 creatives, clickthrough URLs can not be hardcoded within the HTML5 code.  If the clickthrough URL is included in the HTML5, it must be updated with “window.clickTAG”.  You’ll also want to ensure the clickTAG parameter has been properly placed.


Insert the DSP click-tracking script after the first <head> tag before any <meta> data tags:

<script type="text/javascript">
function getParameterByName(name) {
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
results = regex.exec(;
return results === null ? "" :
decodeURIComponent(results[1].replace(/\+/g, " "));
var clickTAG = getParameterByName("clickTAG");

Replace any hard-coded clickthrough URLs with:
<a href="">