简体   繁体   中英

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>

I have solved the issue.

I needed to name the second clickTag clickTag2 rather than clickTagOther .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM