PageviewStatVO
posttime Date 统计数据更新时间
userCount int 总访客人数
pageview int 总访问量
dayList List<DayVO> 每天统计的数据
pageList List<PageVO> 页面排行数据
sourceList List<SourceVO> 来源数据
<div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.875; font-size: 14px;">规则:</div><div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.875; font-size: 14px;">统计的目标页面只有 店铺首页和店铺商品的详情页</div><div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.875; font-size: 14px;">访客数(UV):一天内一个IP访问目标页面算一个</div><div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.875; font-size: 14px;">浏览量(PV): 目标页面的访问次数(及请求次数)</div>
<div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.875; font-size: 14px;">实现:</div><div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.875; font-size: 14px;">目标统计页面埋点:<br>当用户访问 店铺首页时,请求/access/add.do 往accessLog 写数据<br>当用户访问 商品详情页面时,请求/access/item.do 往accessItemLog 写数据<br>统计数据的展示则查询数据库</div>
StatPageviewController
店铺后台展示接口<br>/stat/pageview/list.do<br>
AccessController
添加页面访问日志<br>/access/add.do<br>
添加页面访问日志<br>/access/item.do<br>