Skip to content
Banner production

ClickTag not working? Why the click does nothing — and how to fix it

The banner plays, the client clicks, and nothing happens — or the landing page opens but the ad server reports no clicks. Almost every broken click comes down to a handful of causes: the wrong ad-server convention, a layer sitting over the clickable area, a fixed URL, a typo in the variable, or a script error. Here is how to find which one, and fix it.

24 November 2026 8 min read Tested with our HTML5 ad validator

1. First: which ad server is it for?

“ClickTag” is a convention, not a standard, and the most common “broken clickTag” is a click written for one ad server and trafficked on another. Before debugging anything, check which convention the destination expects:

How the click is handed to each ad server. The exact syntax for each is in our HTML5 banner production guide.
Ad serverWhat the click needs
Campaign Manager 360A clickTag variable, opened on click. Detected at upload; more than one is allowed, each a separate exit.
Display & Video 360A clickTag variable, opened with window.open(window.clickTag). At least one exit or click tag is required.
Google Ads (uploaded HTML5)No clickTag. Google makes the whole ad clickable; no custom exits, no multiple exits — see section 4.
AdformclickTAG (capital TAG), read through Adform's DHTML library and declared in manifest.json.
FlashtalkingNo clickTag variable: exits are declared in manifest.js and wired with myFT.applyClickTag().
Studio (rich media)Exits through Enabler.exit(), not a click tag.

2. Test the click in 30 seconds

For a clickTag ad server, the working pattern is a variable declared in the HTML and a click handler that opens it:

<head>
  <script>var clickTag = "https://www.example.com";</script>   <!-- the ad server replaces it -->
</head>
<body>
  <div id="ad"> … </div>
  <script>
    document.getElementById('ad').addEventListener('click', function () {
      window.open(window.clickTag);
    });
  </script>
</body>

Open index.html in a browser and click anywhere on the ad. With a default URL in the variable, the landing page should open in a new tab. If it doesn't, open the browser's developer tools (Console) and click again: an error there is usually the whole answer. You can also type clickTag in the console to see what the variable holds.

3. Eight reasons a click breaks

  1. A layer sits on top of the clickable element. The click is wired to the background image, but an animated text block, a full-size <canvas> or a transparent overlay above it catches the click instead. Put the handler on the outermost container (or a full-size transparent layer placed on top), or give decorative layers pointer-events: none.
  2. The click opens a fixed URL. <a href="https://…"> or window.open("https://…") works for you and for the visitor — and the ad server never sees the click. This is the “it works but reports zero clicks” case. Campaign Manager 360 warns about hard-coded URLs after upload. Open the variable instead.
  3. The variable is declared and never opened. A template was copied, the var clickTag line came with it, and the handler did not. Nothing happens on click.
  4. The name doesn't match. JavaScript names are case-sensitive: var clickTag and window.open(clicktag) are different, and the second throws an error. Adform expects clickTAG; Campaign Manager 360 and Display & Video 360 expect clickTag.
  5. A script error stops the handler from being attached. If an earlier line in the same script throws — a library that didn't load, a typo, a name that doesn't exist — the line that adds the click listener never runs. The banner still animates; the click is dead. The console shows the error.
  6. The click navigates the ad's own frame. On the ad server the creative runs inside an iframe. location.href = clickTag or a link with no new window loads the landing page inside the banner slot, or the browser blocks it. Use window.open(window.clickTag), which opens a new window as Google's own samples do.
  7. The variable is hidden from the ad server. Campaign Manager 360 detects click tags when the ZIP is uploaded, and asks that the click tag be easy to read — no minification or obfuscation. A build step that renames or compresses the variable can make the ad server think there is none.
  8. Too many, or the wrong kind of, exits. Two click tags are fine on Campaign Manager 360 and rejected on Google Ads. A Studio Enabler.exit() is right for rich media and wrong for a standard clickTag upload. Match the exits to the ad server.

Many “clickTag is broken” reports are really Google Ads. For HTML5 ads uploaded to Google Ads, Google's help page on upload errors says nothing about a clickTag variable. Instead:

  • Google handles the click. When the custom exit code is removed, the whole ad becomes clickable and goes to the final URL set in the ad.
  • Custom click code is rejected. “Your HTML5 ad is modifying clickability, which is not supported” means the ad uses a Google Web Designer Tap Area or ExitApi.exit(). Remove the Tap Area, or the ExitApi script and the code that calls it.
  • One exit only. “HTML5 ad contains multiple exits” means more than one exit was found. Google Ads doesn't allow multiple exits.
  • The preview doesn't click. Creatives don't click through in Google Ads' own ad-creation preview. That on its own is not a fault.

So a banner built for Campaign Manager 360, with its clickTag and handler, is not automatically a Google Ads banner. Build to the ad server the ad is booked on.

5. How our validator tests the click

Our HTML5 ad validator checks the click the way the ad server and a visitor would. From the package, it reports clickTag present and clickTag correctly implemented — the second fails with “clickTag is defined but not used on a clickable element” when the variable is declared and never opened. It looks only at code the browser actually runs, so a commented-out handler or the word “clickTag” in a headline does not count as a pass.

Then it clicks. In a hidden copy of the creative it hovers and clicks up to eight clickable elements, largest first, and records what opened, without ever leaving the page. If nothing opens, the row fails: “nothing opened. The click-through never fires.” If the banner sets a clickTag value and the click opens some other URL, it warns that “The ad server's click tracking would be bypassed.” A script error on hover or click is a fail too. A separate live row, Clickable surface, checks that at least one clickable element is 32×24 or larger.

Adform, Flashtalking and Studio conventions are judged under their own profiles, so a correct Flashtalking build is not marked broken for lacking a clickTag. For a Campaign Manager 360 or Display & Video 360 banner, pick that profile. The Google Ads profile works the way Google Ads does: it expects no click code, fails a Google Web Designer Tap Area or ExitApi.exit(), fails more than one exit, and passes the live click test when nothing opens — because Google adds the click itself.

6. The click checklist

  1. Name the ad server and use its convention: clickTag, clickTAG, myFT.applyClickTag(), Enabler.exit() — or nothing at all for Google Ads.
  2. Declare the variable in the HTML, in plain readable code.
  3. Open the variable, not a URL, with window.open(window.clickTag).
  4. Put the click on top: the outermost container or a full-size layer, with decorative layers set to pointer-events: none.
  5. Open the console and click. No errors; a new tab opens.
  6. Count the exits against what the ad server allows.
  7. Run it through the validator on the ad server's profile before it leaves your desk.
Test the click before the ad server does

Drop the ZIP in. The click is tested for you.

Pick the ad server's profile and get the package checks, a live preview with the click tested, and a score. Free with no signup — 2 checks a day without an account, 5 with a free one. Your ZIP never leaves your browser.

Open the validator

Frequently asked questions

Why does my banner click work in my browser but not on the ad server?
Usually because the click opens a fixed address instead of the click variable, so it works for you and the ad server never sees it — or because the click navigates the ad's own frame instead of opening the landing page. On the ad server the creative runs inside an iframe, so location.href = clickTag loads the landing page inside a 300×250 slot, or is blocked. Open the variable with window.open(window.clickTag).
Is clickTag case-sensitive?
Yes. JavaScript names are case-sensitive, so var clickTag and window.open(clicktag) are two different things and the second one throws an error when clicked. Use the exact name your ad server expects: clickTag for Campaign Manager 360 and Display & Video 360, clickTAG for Adform.
Does Google Ads need a clickTag?
No. For HTML5 ads uploaded to Google Ads, Google makes the ad clickable itself and sends the click to the final URL you set in the ad. Its help page says it does not support ads that modify clickability — such as a Google Web Designer Tap Area or ExitApi.exit() — and that it does not allow multiple exits. Creatives also do not click through in Google Ads' own ad-creation preview, which is normal.
Can a banner have more than one clickTag?
It depends on the ad server. Campaign Manager 360 supports more than one: each click tag is a separate exit with its own landing page, which the trafficker can edit after upload. Google Ads does not allow multiple exits in an uploaded HTML5 ad. Check the ad server's spec before splitting clicks.
How can I check the click before I upload?
Run the ZIP through our HTML5 ad validator. It checks that a click variable is declared and actually opened, then clicks the ad in a hidden copy of the preview and reports what opened — nothing, a fixed address, or the variable. It runs in your browser and nothing is uploaded: 2 checks a day free without an account, 5 with a free one.

Clicks that count, on every size.

Check an HTML5 banner's click for free in your browser — or hand the build to the team that produces trafficking-ready banners for agencies every day.