React

Integrate the Userlens SDK into your React application.

Installation

npm install userlens-analytics-sdk

Choose Your Setup

Client-Side Setup
Proxy Setup

Best for

Most applications

Apps needing ad blocker resistance

Backend changes

None

Required

Setup time

~5 minutes

~15 minutes

Client-Side Setup

Events go directly from the browser to Userlens. Quick to set up, no backend changes needed.

Proxy Setup

Events flow through your backend first. Use this if you need to avoid ad blockers.

Last updated