Skip to content

Instantly share code, notes, and snippets.

@dabeeeenster
Last active November 27, 2019 10:06
Show Gist options
  • Select an option

  • Save dabeeeenster/9d8bab8c57cbeb2b920998a45c51cc5e to your computer and use it in GitHub Desktop.

Select an option

Save dabeeeenster/9d8bab8c57cbeb2b920998a45c51cc5e to your computer and use it in GitHub Desktop.
# Retrieve users from your database - code would depend on your DB etc
# users = db.getAllUsers()
for (i = 0; i < users.length; i++) {
bulletTrain.identify(users[i].id)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment