Adwords转换OnClick

时间:2015-05-11 09:09:17

标签: onclick google-adwords

如何进行Adwords转换OnClick 而不会影响分析

我的意思是,当访问者访问我的目标网页时,没有任何反应,只有当访问者点击特定链接时,它才算作新的转化。

2 个答案:

答案 0 :(得分:0)

您可以在高级部分中从AdWords生成代码。然后代码应如下所示:

<!-- Google Code for XXXXXX Conversion Page
In your html page, add the snippet and call
goog_report_conversion when someone clicks on the
chosen link or button. -->
<script type="text/javascript">
  /* <![CDATA[ */
  goog_snippet_vars = function() {
    var w = window;
    w.google_conversion_id = XXXXXX;
    w.google_conversion_label = "XXXXXXXX";
    w.google_remarketing_only = false;
  }
  // DO NOT CHANGE THE CODE BELOW.
  goog_report_conversion = function(url) {
    goog_snippet_vars();
    window.google_conversion_format = "3";
    window.google_is_call = true;
    var opt = new Object();
    opt.onload_callback = function() {
    if (typeof(url) != 'undefined') {
      window.location = url;
    }
  }
  var conv_handler = window['google_trackConversion'];
  if (typeof(conv_handler) == 'function') {
    conv_handler(opt);
  }
}
/* ]]> */
</script>
<script type="text/javascript"
  src="//www.googleadservices.com/pagead/conversion_async.js">
</script>

您可以在Adwords和Google支持中找到所有提示。

答案 1 :(得分:0)