-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjoperate_bridge.js
66 lines (65 loc) · 2.13 KB
/
joperate_bridge.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
window.joperate = {
init: function(obj){
window.JOperateInterface.init(obj)
},
eventRecord: function(obj){
window.JOperateInterface.onEvent(obj)
},
identify: function(obj){
window.JOperateInterface.identifyAccount(obj)
},
setUserChannel: function(obj){
window.JOperateInterface.setUserChannel(obj)
},
cuid: function(obj){
window.JOperateInterface.CUID(obj)
},
setUtmProperties: function(obj){
window.JOperateInterface.setUtmProperties(obj)
},
setCommonProperties:function (obj) {
window.JOperateInterface.setEventCommonAttr(obj)
},
setDynamicCommonProperties:function (obj) {
window.JOperateInterface.setEventDynamicAttr(obj)
},
clearCommonProperties: function(){
window.JOperateInterface.clearEventCommonAttr()
},
currentCommonProperties: function(){
return window.JOperateInterface.currentEventCommonAttr()
},
set: function(obj, completion){
window.JOperateInterface.set(obj, completion)
},
setOnce: function(obj, completion){
window.JOperateInterface.setOnce(obj, completion)
},
increment: function(obj, completion){
window.JOperateInterface.increment(obj, completion)
},
append: function(key, content, completion){
window.JOperateInterface.append(key, content, completion)
},
unset: function(obj, completion){
window.JOperateInterface.unset(obj, completion)
},
timeKeepingEventStart: function(obj){
return window.JOperateInterface.timeKeepingEventStart(obj)
},
timeKeepingEventEnd: function(eventId, obj){
window.JOperateInterface.timeKeepingEventEnd(eventId, obj)
},
timeKeepingEventPause: function(obj){
window.JOperateInterface.timeKeepingEventPause(obj)
},
timeKeepingEventResume: function(obj){
window.JOperateInterface.timeKeepingEventResume(obj)
},
removeTimeKeepingEvent: function(obj){
window.JOperateInterface.removeTimeKeepingEvent(obj)
},
clearTimeKeepingEvent: function(){
window.JOperateInterface.clearTimeKeepingEvent()
},
}