piwik 统计api 的关键,piwik统计api关键


在piwik的api中都会有这么一个参数:&expanded=1

如果不加这个参数就会丢失数据,曾经就遇到订单数据,api无法抓取过来的情况,费劲了很大的周折才找到原因,

关于参数解释:

http://developer.piwik.org/api-reference/reporting-api

  • expanded; some API functions have a parameter 'expanded'. If 'expanded' is set to 1, the returned data will contain the first level results, as well as all sub-tables. See, for example, thereturned dataset for the Actions.getDownloads API function.

这个参数在获取数据,一定要加上。

相关内容

    暂无相关文章