[英]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.我有一个 html5 文件,其中有多个链接需要点击标签进行跟踪。
I can't seem to find a way to get both clickTags to show up in Google Ad Manager.我似乎找不到让两个 clickTag 都显示在 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
.我需要命名第二个 clickTag
clickTag2
而不是clickTagOther
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.