Best Practices for Getting Started with Inspectlet

Getting started with Inspectlet is as easy as dropping a few lines of code into your site, but we’ve got a few recommendations to get the most out of Inspectlet.

Handling Sensitive Data

Once you get Inspectlet up and running, you’ll immediately see everything your users see and type. Inspectlet will automatically hide any passwords entered by the user, but you can take it further and mark any field on your site as sensitive by adding inspectletIgnore to the HTML class of that element.

Check out more information on how to handle sensitive data in our docs.

Identify Users via Email Address

By identifying users, you can associate a session recording with a meaningful nickname (name, email address, database ID, etc). Although optional, we highly recommend identifying users to have more context around your data throughout the dashboard.

Identifying users in Inspectlet is done with a single call to our javascript API:

__insp.push([‘identify’, ““]); // replace “” with variable from your application containing the user’s name,email address, or id.

Identifying a user takes your data to a whole new level by making the session recordings far more personal! When you’re viewing your recordings list, the Display Name column in Inspectlet will show you the user’s name:

To get started taking advantage of user identification, check out our doc on Identifying Users.

Tagging Users:

Tags lets you send in any metadata you have about the user or session to be paired with the session recording. This ability lets you implement powerful custom behavior for your site:

  • Track Arbitrary Session Events – Did the visitor just encounter an error or do something unexpected? Tag the session with “ran into problem”, “used checkout tool”, “clicked buy button”, or an object with an updatable value, like {converted: true}.
  • Search for Sessions by User Traits – Send in any information you have about the visitor, common tags including age, gender, user_id, customer_id, date_created, pointsEarned
  • Integrate Inspectlet with Other Services – Tags can be used to store information from other services, like the name of the A/B test variation that the user is currently viewing. Common tags include abTestName, campaign_name, referrer_info.

To get started using tagging in Inspectlet, check out our tagging docs.

Target a Specific Audience With Targeting:

Once you’ve got data coming into Inspectlet, you’ll want to further refine your data collection to only sessions that are important to you. Targeting lets you set up conditions on which recording is triggered, for example if your team just launched a brand new design and you’re interested in seeing how users are responding to it, try targeting it!

To get started with Targeting, head to the Dashboard and click the “Targeting” icon from the Dashboard.

The example above illustrates how we’d set up our new landing page example. The targeting tool lets you use a wide variety of conditions to control when Inspectlet records visitors to your site.

Exclude Your Team from Inspectlet Tracking

Inspectlet makes it easy to exclude your team from being recorded, so your data doesn’t get affected by your team’s activity. To exclude team members from Inspectlet, head to the Dashboard and click “Settings”.


Best Practices for Getting Started with Inspectlet