Google analytics 如何使用google analytics大查询表计算google广告点击量

Google analytics 如何使用google analytics大查询表计算google广告点击量,google-analytics,google-bigquery,Google Analytics,Google Bigquery,我试图在google analytics大查询表中计算正确的google广告点击数,但与google analytics web界面相比,数字有所不同 我尝试了两种不同的方法,只计算每次访问和分组的入口点击率: SELECT channelGrouping, count(*) as clicks, FROM `ga_sessions_table`, UNNEST(hits) as hits WHERE hits.isEntrance GROUP BY chann

我试图在google analytics大查询表中计算正确的google广告点击数,但与google analytics web界面相比,数字有所不同

我尝试了两种不同的方法,只计算每次访问和分组的入口点击率:

  SELECT 
    channelGrouping,
    count(*) as clicks,
  FROM `ga_sessions_table`, UNNEST(hits) as hits
  WHERE hits.isEntrance
  GROUP BY channelGrouping
或计算每个页面事件

  SELECT 
    channelGrouping,
    count(*) as clicks,
  FROM `ga_sessions_table`, UNNEST(hits) as hits
  WHERE hits.type = 'PAGE'
  GROUP BY channelGrouping
我比较了我们数据中的某一天

在第一次查询中,我得到的点击量比在web UI中少了大约10%

使用第二个查询,我得到的信息是web UI的3倍多


如何正确计算该表中的点击次数?

看看这个,Jimmy Pang也在做类似的事情:@narendra谢谢你的提示。但那一页并没有回答我的问题。