首页 > 解决方案 > Multiple clickTags for html5 file in Google AdManager

问题描述

I have an html5 file that has multiple links that need to have click tags for tracking.

I can't seem to find a way to get both clickTags to show up in Google Ad Manager. Just the first one.

<body>
<script>
    var clickTag = "https://www.example-1.com";
    var clickTagOther = "https://www.example-2.com";
</script>

<img src="example-image.png" alt="Web Logos" usemap="#logos" />

<map name="logos">
    <area shape="rect" coords="0,65,130,130" href="javascript:window.open(window.clickTag)" />
    <area shape="rect" coords="0,485,300,585" href="javascript:window.open(window.clickTagOther)" />
</map>

标签: htmlgoogle-ad-managerclicktag

解决方案


我已经解决了这个问题。

我需要命名第二个 clickTagclickTag2而不是clickTagOther.


推荐阅读