Skip to content

Commit 7c1ddd2

Browse files
committed
Update main.js
1 parent c92eb3f commit 7c1ddd2

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

demo/main.js

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const Gleap = window.Gleap;
22

3-
// Gleap.setFrameUrl("http://0.0.0.0:3001");
4-
// Gleap.setApiUrl("http://0.0.0.0:9000");
5-
Gleap.initialize("9BCaEJAeWk437XdiKKYqxsNvl7WPBpAc");
3+
Gleap.setFrameUrl("http://0.0.0.0:3001");
4+
Gleap.setApiUrl("http://0.0.0.0:9000");
5+
Gleap.initialize("DUPaIr7s689BBblcFI4pc5aBgYJTm7Sc");
66
//Gleap.setEnvironment("dev");
77

88
Gleap.attachCustomData({
@@ -14,6 +14,16 @@ Gleap.attachCustomData({
1414
},
1515
});
1616

17+
Gleap.identify("123456789", {
18+
name: "John Doe",
19+
email: "lukas@gleap.io",
20+
value: 1234,
21+
phone: "+49123456789",
22+
"penis": "true",
23+
testing: { "fun": 1123 },
24+
luki: 19283
25+
});
26+
1727
Gleap.log("Test log");
1828
Gleap.log("Test log info", "INFO");
1929
Gleap.log("Test log warn", "WARNING");

0 commit comments

Comments
 (0)