You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- allow use of development key (for different environments)
- allow setting of user id before start
- allow simple tracking of sessions (without tracking event / user attributes
- allow setting of web push options
"help": "Never use a non-production key on live websites."
81
77
},
82
78
{
83
79
"type": "CHECKBOX",
84
80
"name": "enableRichInAppMessages",
85
81
"checkboxText": "Enable Rich In-App Messages",
86
82
"simpleValueType": true,
87
83
"help": "If enabled, rich in-app messages will be delivered to web users that match the trigger conditions of your campaigns."
84
+
},
85
+
{
86
+
"type": "GROUP",
87
+
"name": "webPush",
88
+
"displayName": "Web Push options",
89
+
"groupStyle": "NO_ZIPPY",
90
+
"subParams": [
91
+
{
92
+
"type": "TEXT",
93
+
"name": "webPushServiceWorkerUrl",
94
+
"displayName": "Service Worker URL",
95
+
"simpleValueType": true,
96
+
"help": "Specify the location of the service worker file on the web server. This allows you to send messages that use the \u0027Register for Push\u0027 app function."
97
+
}
98
+
]
88
99
}
89
100
]
90
101
},
@@ -104,6 +115,10 @@ ___TEMPLATE_PARAMETERS___
104
115
"value": "load",
105
116
"displayValue": "Only load SDK"
106
117
},
118
+
{
119
+
"value": "loadAndStart",
120
+
"displayValue": "Load and start session"
121
+
},
107
122
{
108
123
"value": "track",
109
124
"displayValue": "Track Event"
@@ -120,6 +135,20 @@ ___TEMPLATE_PARAMETERS___
120
135
"simpleValueType": true,
121
136
"subParams": []
122
137
},
138
+
{
139
+
"type": "TEXT",
140
+
"name": "userId",
141
+
"displayName": "User ID",
142
+
"simpleValueType": true,
143
+
"help": "Leave blank to use previously-stored ID.\nFor new users, a new ID is generated at the start of their first session.",
0 commit comments