profiles

profiles allow you to attach additional information to your visitors, making it easier to identify and track them in your dashboard. when you set a profile with a name and avatar, it will be displayed in the ui, giving you a more personal view of who's using your site.

setting a profile

you can set a visitor's profile using the setProfile function:

peasy.setProfile("profile-id",{
  $name: "sarah",
  $avatar: "https://example.com/avatar.jpg",
  role: "developer",
  team: "frontend"
})

set your visitor's profile as early as possible in their session to all their events to be associated with their profile.

the $name and $avatar properties are special - they'll show up in the dashboard ui automatically. any other properties you add will be stored with the profile but won't be displayed.

updating profiles

profiles can be updated at any time by calling setProfile again. new properties will be merged with existing ones.

try web analytics
you'll actually love.

sign up for peasy today. free to start and while below 3000 events per month, then $9 monthly.