【问题标题】:How Set Up ClickTAG in Google Swiffy?如何在 Google Swiffy 中设置 ClickTAG?
【发布时间】:2015-11-19 18:02:35
【问题描述】:

我似乎无法让 clickTAG 在 Google Swiffy 中工作。这是我的代码:

<script>
  var stage = new swiffy.Stage(document.getElementById('swiffycontainer'),
      swiffyobject, {  });
  stage.start();
   stage.setFlashVars("clickTag=http://google.com");

【问题讨论】:

    标签: clicktag


    【解决方案1】:

    我真的想通了! “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>
    

    【讨论】:

      【解决方案2】:

      是的,就像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>

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2013-12-29
        • 1970-01-01
        • 2016-09-10
        • 2013-05-17
        • 2015-06-22
        • 2015-12-20
        • 1970-01-01
        相关资源
        最近更新 更多