五月天激情丁香,国产精品2019,国产成人精品亚洲2020,国产精品免费视频一区二区三区,开心久久婷婷综合中文字幕,天堂视频在线观看免费完整版

數(shù)據(jù)統(tǒng)計(jì)與分析

通過數(shù)據(jù)接口,開發(fā)者可以獲取與公眾平臺(tái)官網(wǎng)統(tǒng)計(jì)模塊類似但更靈活的數(shù)據(jù),還可根據(jù)需要進(jìn)行高級(jí)處理。

  • 接口側(cè)的公眾號(hào)數(shù)據(jù)的數(shù)據(jù)庫中僅存儲(chǔ)了 2014 年 12 月 1 日 之后的數(shù)據(jù),將查詢不到在此之前的日期,即使有查到,也是不可信的臟數(shù)據(jù);
  • 請(qǐng)開發(fā)者在調(diào)用接口獲取數(shù)據(jù)后,將數(shù)據(jù)保存在自身數(shù)據(jù)庫中,即加快下次用戶的訪問速度,也降低了微信側(cè)接口調(diào)用的不必要損耗。
  • 額外注意,獲取圖文群發(fā)每日數(shù)據(jù)接口的結(jié)果中,只有 中間頁閱讀人數(shù) + 原文頁閱讀人數(shù) + 分享轉(zhuǎn)發(fā)人數(shù) + 分享轉(zhuǎn)發(fā)次數(shù) + 收藏次數(shù) >=3 的結(jié)果才會(huì)得到統(tǒng)計(jì),過小的閱讀量的圖文消息無法統(tǒng)計(jì)。

示例

<?php

$userSummary = $officialAccount->dateCube->userSummary('2014-12-07', '2014-12-08');

var_dump($userSummary);

/* 運(yùn)行結(jié)果:
[
    {
        "ref_date": "2014-12-07",
        "user_source": 0,
        "new_user": 0,
        "cancel_user": 0
    }
    // 后續(xù)還有 ref_date 在 begin_date 和 end_date 之間的數(shù)據(jù)
]
*/

API

$from  示例: `2014-02-13` 獲取數(shù)據(jù)的起始日期
$to    示例: `2014-02-18` 獲取數(shù)據(jù)的結(jié)束日期,`$to`允許設(shè)置的最大值為昨日

`$from` 和 `$to` 的差值需小于 “最大時(shí)間跨度”(比如最大時(shí)間跨度為 1 時(shí),`$from` 和 `$to` 的差值只能為 0,才能小于 1 ),否則會(huì)報(bào)錯(cuò)
  • array userSummary(string $from, string $to)。獲取用戶增減數(shù)據(jù), 最大時(shí)間跨度:7;
  • array userCumulate(string $from, string $to)。獲取累計(jì)用戶數(shù)據(jù), 最大時(shí)間跨度:7;
  • array articleSummary(string $from, string $to)。獲取圖文群發(fā)每日數(shù)據(jù), 最大時(shí)間跨度:1;
  • array articleTotal(string $from, string $to)。獲取圖文群發(fā)總數(shù)據(jù), 最大時(shí)間跨度:1;
  • array userReadSummary(string $from, string $to)。獲取圖文統(tǒng)計(jì)數(shù)據(jù), 最大時(shí)間跨度:3;
  • array userReadHourly(string $from, string $to)。獲取圖文統(tǒng)計(jì)分時(shí)數(shù)據(jù), 最大時(shí)間跨度:1;
  • array userShareSummary(string $from, string $to)。獲取圖文分享轉(zhuǎn)發(fā)數(shù)據(jù), 最大時(shí)間跨度:7;
  • array userShareHourly(string $from, string $to)。獲取圖文分享轉(zhuǎn)發(fā)分時(shí)數(shù)據(jù), 最大時(shí)間跨度:1;
  • array upstreamMessageSummary(string $from, string $to)。獲取消息發(fā)送概況數(shù)據(jù), 最大時(shí)間跨度:7;
  • array upstreamMessageHourly(string $from, string $to)。獲取消息發(fā)送分時(shí)數(shù)據(jù), 最大時(shí)間跨度:1;
  • array upstreamMessageWeekly(string $from, string $to)。獲取消息發(fā)送周數(shù)據(jù), 最大時(shí)間跨度:30;
  • array upstreamMessageMonthly(string $from, string $to)。獲取消息發(fā)送月數(shù)據(jù), 最大時(shí)間跨度:30;
  • array upstreamMessageDistSummary(string $from, string $to)。獲取消息發(fā)送分布數(shù)據(jù), 最大時(shí)間跨度:15;
  • array upstreamMessageDistWeekly(string $from, string $to)。獲取消息發(fā)送分布周數(shù)據(jù), 最大時(shí)間跨度:30;
  • array upstreamMessageDistMonthly(string $from, string $to)。獲取消息發(fā)送分布月數(shù)據(jù), 最大時(shí)間跨度:30;
  • array interfaceSummary(string $from, string $to)。獲取接口分析數(shù)據(jù), 最大時(shí)間跨度:30;
  • array interfaceSummaryHourly(string $from, string $to)。獲取接口分析分時(shí)數(shù)據(jù), 最大時(shí)間跨度:1;
  • array cardSummary(string $from, string $to, int $condSource = 0)。獲取普通卡券分析分時(shí)數(shù)據(jù), 最大時(shí)間跨度:1;
  • array freeCardSummary(string $from, string $to, int $condSource = 0, string $cardId = '')。獲取免費(fèi)券分析分時(shí)數(shù)據(jù), 最大時(shí)間跨度:1;
  • array memberCardSummary(string $from, string $to, int $condSource = 0)。獲取會(huì)員卡分析分時(shí)數(shù)據(jù), 最大時(shí)間跨度:1;
主站蜘蛛池模板: 久久国产精品明星换脸 | 天天干天天干天天干天天干天天干 | 男女aa视频 | 中国久久| 成人自拍视频网 | 久久九九免费 | 日本免费不卡 | 2021avtt天堂网手机版 | 欧美精品99 | 免费看成人播放毛片 | 午夜欧美成人 | 毛片在线网站 | 久久精品国产一区二区三区不卡 | 亚洲热热久久九九精品 | 亚洲人成77777在线观看网 | 婷婷丁香亚洲 | 五月天亚洲视频 | 欧美日韩在线播放 | 国产成人在线网站 | 啪啪网站免费看 | 天堂一区二区三区精品 | 久久国产高清 | 狠狠色做五月深爱婷婷 | 四虎影永久在线观看网址 | 婷婷激情五月网 | 97视频免费| 精品一区二区三区四区乱码90 | 欧洲性开放老妇人 | 四虎影永久在线高清免费 | 色网站视频 | 国产高清免费 | 五月婷婷之婷婷 | gogogo高清在线观看视频 | 97国产精品最新 | 国产伦精一区二区三区视频 | 欧美一级成人一区二区三区 | 免费黄色小视频在线观看 | 天天做天天爱天天影视综合 | 欧美老人性视频 | 免费播放aa在线视频成人 | 欧美国产成人精品一区二区三区 |