Add User IDs to Simpo

Updated 5 months ago by Wesley Faulkenberry


By default, Simpo creates anonymized user IDs for your end-users. If you would like to instead identify your users with a name, email, or ID number, you will need to pass that information to Simpo using a Trait.

Passing user ID to Simpo dashboard


To change the ID used to identify a user in the Simpo dashboard, you'll need to pass in a separate UUID trait with the call below:

simpo.identify('some-user-identifier')

This trait can be an email, a name, user id, or anything you'd like.

PRO TIP: By configuring User IDs, you can easily track your end-users behavior as well as automatically track which end-users send you feedback or Support Tickets.

Passing other user details


To pass in user details into Simpo, simply add them into the user object in the simpo configuration.

The user name and email traits are only used to identify a user when the user submits a ticket.

You'll need to do this before the call to simpo.load("YOUR_CLIENT_ID")

simpo.identify('some-user-identifier', { 
user: {
name: 'John Smith',
email: 'johnsmith@example.com'
}
})

Passing arbitrary traits


To pass in any trait to Simpo, simply add them into the identify object in the simpo configuration.

It's possible to add any trait that you want in order to use in the Triggers feature and other sections in Simpo:

simpo.identify('some-user-identifier', { 
anyTrait: true,
userType: "Free",
sectionType: 6
})

When passing Traits or User IDs into Simpo please do this BEFORE the call to simpo.load("YOUR_CLIENT_ID").

A combined call example


// Simpo Javascript installation goes here

simpo.configure({
"uuid"
Language: "es"
})

simpo.identify("uuid-1", { plan: 'silver' })})
simpo.identify("uuid-1", { plan: 'gold' })})
simpo.track("example_event");

// simpo.load call goes here


How Did We Do?