Tracking Statistics for Double Click for Publishers

From some head scratching, I’m realizing that I recognize this interface from Double Click for Publishers. You can find a guide I wrote for this platform here: Loading a Tumult Hype document into Double Click for Publishers (DFP)

For you, add this above your code snippet on this page:

<script type="text/javascript">
 var clickTag = "%%CLICK_URL_UNESC%%"; </script>
</script>

Next, create a new JS function that runs ‘on mouse click’ for your button which is clicked in the banner. That JS function should run this: window.open(window.clickTag)

You’ll need to re-upload your Hype document to the server after making this change. This assumes that the variable %%CLICK_URL_UNESC%% is inserted into the window when clicking ‘Escaped Click Macro’.