【问题标题】:How to track Keywords on Google AdWords using UTM Tags如何使用 UTM 标签跟踪 Google AdWords 上的关键字
【发布时间】:2016-07-05 18:21:11
【问题描述】:

我正在从另一个开发人员那里接手一个尚未完全完成的项目,我想弄清楚为什么要记录源和媒体而不是关键字。媒体和来源显示在 url 中并作为表单中的隐藏字段显示,但关键字不是。这是我认为可以完成我打算做的代码的一部分。

//parse the cookies
var source = _uGC(z, 'utmcsr=', '|');
var medium = _uGC(z, 'utmcmd=', '|');
var term = _uGC(z, 'utmctr=', '|');

// Populate form fields
$( document ).ready(function() {
  $("#Field113").attr("value", source);
  $("#Field115").attr("value", medium);


  // If there's a "SearchKeyword" URL param, use it for the 'term'
  var SearchKeyword = (location.search.split('SearchKeyword=')[1]||'').split('&')[0];
  if ( (SearchKeyword && !term) || (SearchKeyword && term == "") ) {
    $("#Field126").attr("value", term);
  }
});

【问题讨论】:

    标签: php google-ads-api keyword-search


    【解决方案1】:

    也许他无法获取关键字? 你可以从valuetrack获取它

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-08-24
      • 1970-01-01
      • 2011-01-06
      • 1970-01-01
      • 2012-05-23
      • 2018-05-13
      • 1970-01-01
      • 2015-09-13
      相关资源
      最近更新 更多