Skip to content

Commit

Permalink
Enhancement: Update Mixpanel Integration and Package Dependencies (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardodouradol authored Apr 5, 2024
1 parent 5e62181 commit 155d5f4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion .tool-versions

This file was deleted.

7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
{
"name": "@useblu/blu-lytics",
"version": "1.0.6",
"version": "1.0.7",
"private": false,
"license": "MIT",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"engines": {
"node": "^16.10.0"
},
"scripts": {
"build": "tsc --declaration",
"dev": "ts-node src/index.ts",
Expand All @@ -22,7 +19,7 @@
"@sentry/tracing": "^6.19.7",
"clarity-js": "^0.7.24",
"jest-environment-jsdom": "^29.7.0",
"mixpanel-browser": "^2.48.1",
"mixpanel-browser": "^2.49.0",
"react": "^18.2.0"
},
"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions src/providers/setups/mixpanel/mixpanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ const dispatchUserIdentification = (
userProperties: IUserProperties,
): void => {
mixpanel.identify(id);
mixpanel.people.set({ USER_ID: id });

const superProperties = ['name', 'email'];
const peopleProperties: Record<string, any> = {};

Expand Down

0 comments on commit 155d5f4

Please sign in to comment.