Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
user identify
  • Loading branch information
Sujay-N authored Jul 8, 2024
1 parent 4794519 commit 7e40b01
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ import mixpanel from 'mixpanel-browser';
// Near entry of your product, init Mixpanel
mixpanel.init('4dc7b611a3b9f809a398afa860da3f50', {debug: true, track_pageview: true, persistence: 'localStorage'});


mixpanel.identify('12345')

mixpanel.people.set({ '$name': 'Jane Doe',
'$email': '[email protected]',
'plan' : 'Premium'
// Add anything else about the user here
});


ScrollReveal().reveal('.reveal1',{
origin:'top',
distance : "20px",
Expand Down

0 comments on commit 7e40b01

Please sign in to comment.