Skip to content

Commit 610cf20

Browse files
author
shengyonggen
committed
增加register
1 parent 617a382 commit 610cf20

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

sensorsdata.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sensorsdata_conf.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
var conf = {
22
// 神策分析的全局变量名
33
name: 'sensors',
4-
// 神策分析数据接收地址,类似(https://xxx.cloud.sensorsdata.cn:8006/sa?project=gxq&token=312d2dfw21)
5-
// 注意请在微信里设置这个域名可以访问
6-
server_url: '',
4+
// 神策分析数据接收地址,类似(http://xxx.cloud.sensorsdata.cn:8006/sa?project=gxq&token=312d2dfw21)
5+
server_url: 'http://xxx.cloud.sensorsdata.cn:8006/sa',
76
// 传入的字符串最大长度限制
8-
max_string_length: 200,
7+
max_string_length: 100,
98
// 发送事件的时间使用客户端时间还是服务端时间
10-
use_client_time: false
9+
use_client_time: false,
10+
// 选择需要
11+
register: {}
1112

1213
};
1314

0 commit comments

Comments
 (0)