我似乎无法让 clickTAG 在 Google Swiffy 中工作。这是我的代码:
<script>
var stage = new swiffy.Stage(document.getElementById('swiffycontainer'),
swiffyobject, { });
stage.start();
stage.setFlashVars("clickTag=http://google.com");
我似乎无法让 clickTAG 在 Google Swiffy 中工作。这是我的代码:
<script>
var stage = new swiffy.Stage(document.getElementById('swiffycontainer'),
swiffyobject, { });
stage.start();
stage.setFlashVars("clickTag=http://google.com");
我真的想通了!“stage.start();” 行需要在“stage.setFlashVars("clickTag= http://google.com ");"之后
正确的代码如下所示:
<script>
var stage = new swiffy.Stage(document.getElementById('swiffycontainer'),
swiffyobject, {});
stage.setFlashVars("clickTAG=http://www.google.com");
stage.start();
</script>
是的,就像VaIM所说的那样。
如果您有更多疑问,请查看:
https://support.google.com/dfp_premium/answer/6263155?hl=en
<div id="swiffycontainer_%ecid!" style="width: %%WIDTH%%px; height: %%HEIGHT%%px"></div>
<script>
var stage = new swiffy.Stage(document.getElementById('swiffycontainer_%ecid!'),
swiffyobject, {});
stage.setFlashVars("clickTAG=%%CLICK_URL_ESC%%%%DEST_URL%%");
stage.start();
</script>
</body>