html - 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>
解决方案
我已经解决了这个问题。
我需要命名第二个 clickTagclickTag2
而不是clickTagOther
.
推荐阅读
- html - 溢出 x:当外部 div 很小时,自动不会滚动
- r - RStoolbox 中的 readMeta 无法读取某些 Landsat 5 元数据
- python - Selenium webdriver 无法在下拉列表中找到元素
- php - 从插件替换 get_header 模板
- javascript - aria-live="polite" 不读取与其关联的元素的角色
- blazor - Blazor wasm cookie 身份验证
- excel - 无法删除包含旧数据的单元格以便为新数据让路
- list - 有没有办法在flutter firebase中查询文档中的整个列表?
- python - 制作 pyplot Slider 时出错:“元组”对象没有属性“名称”
- javascript - Vue:将更改事件绑定到动态插入的内容