Skip to content
NL Start a project

Clicktag.
How your banner knows where to go.

A clicktag is a variable in your HTML5 banner. Instead of a fixed link, there’s a slot where the ad server fills in the landing page. That way the ad server counts every click, and the trafficker can change the link without the banner being rebuilt.

A hard-coded URL in the banner can’t be measured or changed by the ad server. If the landing page changes halfway through the campaign, the whole set has to be redone. That’s why Campaign Manager 360 advises against it, and warns you after the upload if it finds one.

Setting it up in DV360 and Campaign Manager 360.

Put the variable in the head, and let the click open that variable:

<script type="text/javascript">
  var clickTag = "https://www.example.com";
</script>

<a href="javascript:window.open(window.clickTag)">
  <div id="banner">…</div>
</a>

Don’t minify the clickTag: the ad server has to be able to read it. The rest of your code can be minified. In Display & Video 360 the landing page opens in a new tab.

In Google Web Designer

Use the Tap Area: an event with Touch/Click and the action Google Ad > Exit ad. Then you don’t need any code of your own. Choose Exit ad, not Exit ad (overrides URL): that one is for dynamic ads.

Setting it up in Adform.

Adform works with its DHTML library in the head and a manifest.json next to the HTML. The banner gets the clickTAG with dhtml.getVar. The second value is a fixed link for when you test locally:

var clickTAGvalue = dhtml.getVar('clickTAG', 'https://www.example.com');
var landingpagetarget = dhtml.getVar('landingPageTarget', '_blank');

banner.addEventListener('click', function () {
  window.open(clickTAGvalue, landingpagetarget);
});

And in the manifest:

"clicktags": {
  "clickTAG": "https://www.example.com"
}

What else Adform wants from the zip is under specs per platform.

More than one clicktag.

Do two buttons need to go to two pages? That works in Campaign Manager 360 and in Adform. In Adform you put them all in the manifest: clickTAG, clickTAG2 and so on. Use exactly the same name in the code as in the manifest.

The mistakes we see most.

  1. A hard-coded URL instead of the clickTag.
  2. A clickTag the minifier has made unreadable.
  3. clickTag and clickTAG mixed up. The name has to match exactly.
  4. A landing page with a # in it. Campaign Manager 360 has a separate example for that.

Questions about the clicktag.

What is a clicktag?

A variable in an HTML5 banner where the ad server fills in the landing page. That way every click is counted and the link can change without a new banner.

Why doesn’t my clicktag work?

Usually there’s a hard-coded URL, the minifier has made the clickTag unreadable, or the name doesn’t match exactly.

How do I set up a clicktag for Adform?

Put it in the manifest.json and get it in the banner with dhtml.getVar, with a fixed link as a fallback for when you test locally.

Can a banner have more than one clicktag?

Yes, in Campaign Manager 360 and in Adform. In Adform they’re all in the manifest.

Checked on 19 November 2026, at the source: Display & Video 360 Help (opens in a new window), Campaign Manager 360 Help (opens in a new window) and Adform Help (opens in a new window).

Contact

Want something like this made?

Call, email or send your brief. Within one working day you’ll know what’s possible.

Start a project