Showing
1 changed file
with
9 additions
and
1 deletions
| 1 | // pages/reservr/index.js | 1 | // pages/reservr/index.js |
| 2 | +var mta = require('mta-wechat-analysis') | ||
| 2 | import util from '../../utils/util'; | 3 | import util from '../../utils/util'; |
| 3 | import App from '../../utils/api'; | 4 | import App from '../../utils/api'; |
| 4 | import DA from './data'; | 5 | import DA from './data'; |
| @@ -57,7 +58,14 @@ Page({ | @@ -57,7 +58,14 @@ Page({ | ||
| 57 | this.setData({ | 58 | this.setData({ |
| 58 | multiArray:[['不确定'].concat(renNum()), ['全部菜系'].concat(await DA.getCates())] | 59 | multiArray:[['不确定'].concat(renNum()), ['全部菜系'].concat(await DA.getCates())] |
| 59 | }) | 60 | }) |
| 60 | - | 61 | + mta.Page.init({ |
| 62 | + "appID": "500667280", | ||
| 63 | + "eventID": "500667287", | ||
| 64 | + "statPullDownFresh": true, | ||
| 65 | + "statShareApp": true, | ||
| 66 | + "statReachBottom": true, | ||
| 67 | + "lauchOpts": options, //渠道分析 | ||
| 68 | + }); | ||
| 61 | }, | 69 | }, |
| 62 | 70 | ||
| 63 | /** | 71 | /** |
-
Please register or login to post a comment