Front end SPA single page application data statistics solution (ReactJS / VueJS)
I. Baidu statistics Code: UV PV statistics may have problems
In the front-end projects of SPA, data statistics is often a troublesome thing, as are React and Vue.
Before we find out the problem, we have to think about the statistical principle of Baidu statistics?
1-1: Baidu statistical code
var _hmt = _hmt || ;