Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shrijan00003/mix-panel-client
This is simple java-script library that will work with the mix-panel-server
https://github.com/shrijan00003/mix-panel-client
Last synced: 4 days ago
JSON representation
This is simple java-script library that will work with the mix-panel-server
- Host: GitHub
- URL: https://github.com/shrijan00003/mix-panel-client
- Owner: shrijan00003
- Created: 2018-08-04T15:51:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T18:16:09.000Z (about 2 years ago)
- Last Synced: 2024-12-30T10:07:52.426Z (about 1 month ago)
- Language: JavaScript
- Size: 2.33 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
/\*\*
- MIXPANEL.configure() function to identifiy for the very first time
- \*/const configure = () => {
return MIXPANEL.configure({
apiKey: "e84ac190-a6a8-11e8-92de-eb79ccdc12e6",
email: "[email protected]"
})
.then(data => console.log(data))
.catch(err => console.log(err));
};const identify = () => {
return MIXPANEL.identify({
userId: "1111111",
userEmail: "[email protected]",
userName: "st",
userDetails: {
name: "shrijan triapthi",
addrss: "kapan"
}
})
.then(data => console.log(data))
.catch(err => console.error(err));
};/\*\* \*
\*/const track = () => {
MIXPANEL.track({
name: "deleting facebook Account",
eventName: "delete_account",
payload: {
user: "shrijan sharma",
change: "Account Delete",
reaseon: "feels insecure"
}
})
.then(data => console.log(data))
.catch(err => console.error(err));
};/\*\* \*
\*/
const page = () => {
MIXPANEL.page({
name: "Google Home",
title: "google",
keywords: ["home", "news", "top", "hello"]
})
.then(data => console.log(data))
.catch(err => console.log(err));
};configure().then(() => {
identify();
});
// track();
// page();// MIXPANEL.getallMetadata();