Skip to content

Instantly share code, notes, and snippets.

@ak--47
Created June 1, 2023 20:03
Show Gist options
  • Save ak--47/ccc9fe05d7da1eed0fdb71c2fe260b67 to your computer and use it in GitHub Desktop.
Save ak--47/ccc9fe05d7da1eed0fdb71c2fe260b67 to your computer and use it in GitHub Desktop.
populate a mixpanel project
# fill a mixpanel project with fake data
# set env vars (customize these)
export MP_SECRET=your-project-secret
# generate 100k events and send them
npx --yes carvis --mixpanel --rows 100000 | xargs npx --yes mixpanel-import --secret $MP_SECRET
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment