Browsee
  • Getting Started
    • How to use Browsee on Shopify Store?
    • Shopify Stores
  • Integration
    • Snippet Integration
      • Direct JS Integration
      • GTM Integration
      • SDK Integration
      • Wordpress Integration
      • Shopify Integration
      • Troubleshooting Integration
    • Managing Recordings
    • API Calls
      • Log Event Call
      • Identify Call
      • Session Url
      • Generate Secret Key
      • Data Export API
      • Track HTTP API
      • Identify HTTP API
  • Understand Your Users
    • Session Search
      • Date Range
      • User Actions
      • User Attributes
      • Session Tags
        • Network Errors and Slowness
        • Javascript (JS) Errors
        • Frustration Clicks or Rage Clicks
        • Broken Links
        • U Turn
        • Searching For Something
        • Going in Circles
        • High Engagement
        • High Input Time
        • Repeat Pages
        • Repeat Events
      • Regular Expression Search
    • Segments
    • Segment Analytics and Alerts
    • Subscribe to a Segment
    • Configure Dashboard
    • Session Replays - Save, Share, and Delete
    • User Experience Issues
  • Heatmaps
    • Heatmaps
    • Create Heatmaps
    • Compare Heatmaps Across Date Ranges
    • Segmentation in Heatmaps
    • Heatmap Sessions
    • Dynamic Heatmaps
  • Funnels
    • Creating Funnels
    • Funnel Analytics and Alerts
  • FAQ
    • Frequently Asked Questions
    • FAQ - Browsee Installation
    • FAQ - Account and Project
    • FAQ - Session Recordings
    • FAQ - Heatmaps
    • FAQ - Payment & Plans
  • Project
    • Add User
    • Add Project
    • Setting Up SSO Login
    • Third Party Integrations
    • Content Security Policies
  • Plans and Billing
    • Recording and Sampling
  • Data Privacy
    • Privacy
    • Do Not Track Settings
    • Link Browsee with your Privacy Policy
    • GDPR Compliance
  • Feedback & Popups
    • Creating Notifications
    • When to Show
    • Where to Show
    • Advanced Targeting
    • Feedback Widget
    • Integrations
  • Request A Feature
    • Request a New Feature
Powered by GitBook
On this page

Was this helpful?

  1. Integration
  2. API Calls

Identify Call

Using the identify call you can assign

PreviousLog Event CallNextSession Url

Last updated 1 year ago

Was this helpful?

You can use the identify API call to identify your users.

_browsee('identify', '<user_id/email>')

The second parameter to this call can be any string. However, it's best to use database IDs or a hash which does not change when a user updates their information. If the identifying parameter is common along their journey, you can unify all the sessions of a user.

You can also send attributes to the identify call like

_browsee('identify', '<user_id/email>',
         {name: 'Jon Snow',
          email: 'knowsnothing@gmail.com',
          location: 'Castle Black'})

name and email are special attributes. When you send name or email in an identify call, you can see them in the session panel on the right while replaying a session

All the attributes you send via identify call can be searched for while creating circles.

You can also assign tags to a session. Like

_browsee('identify', '<user_id/email>', 
         {'$tags': ["Logged In", "Cohort 78435"]})

Like attributes, tags can be searched for while creating circles and are visible on the session replay screen. More about creating circles .

In case you do not want to add identify information like user id/email, you can use Browsee's anonymous id and send the rest of the identify information. However, in this case you need to wait for Browsee's snippet to load and call its initialization event like this

window.addEventListener('br_session_init', ()=>{
  // Browsee's initialization event
  if (_browsee && _browsee.user && _browsee.user.getId()) {
    _browsee('identify', _browsee.user.getId(),
             {experiment_id: 'A', '$tags': ['X', 'Y']});
  }
});

Important Information - Identify calls are exclusively accessible to users with paid accounts starting from the Plus plan and beyond. Check out our pricing page .

here
here