Skip to content

Commit 3874fa1

Browse files
committed
Update main.js
1 parent d4e2f17 commit 3874fa1

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

demo/main.js

Lines changed: 10 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("ogWhNhuiZcGWrva5nlDS8l7a78OfaLlV");
3+
//Gleap.setFrameUrl("http://0.0.0.0:3001");
4+
//Gleap.setApiUrl("http://0.0.0.0:9000");
5+
Gleap.initialize("KProDXhMS0V3UUku2iNnrZ4XsBnAYzxt");
66
//Gleap.setEnvironment("dev");
77

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

17+
Gleap.identify("123456789", {
18+
name: "John Doe",
19+
});
20+
21+
let userIdentified = Gleap.isUserIdentified();
22+
console.log("userIdentified", userIdentified);
23+
1724
Gleap.log("Test log");
1825
Gleap.log("Test log info", "INFO");
1926
Gleap.log("Test log warn", "WARNING");

0 commit comments

Comments
 (0)