Required Settings
These settings must be provided for Rehearsals to function:Your project API key (starts with
dp_proj_)Get this from your Rehearsals DashboardYour organization ID (starts with
dp_org_)Get this from your Rehearsals DashboardOptional Settings
User Identification
In order for Rehearsals to automatically find preferential data, we need to identify customers and match them against our Rehearsals internal database. This enables our AI to provide personalized insights and identify user-specific patterns. You can identify customers in two ways:- Visual Events - Rehearsals can automatically extract user information from your UI (e.g., elements displaying user emails or names)
- Programmatic Identification - Send user data directly using the Identity API for more control
Identity API
Learn how to identify users and track behavior across sessions and devices
Quick Example
- Track user behavior across multiple sessions and devices
- See what users did before they logged in
- Build comprehensive user profiles with behavioral insights
Visit the Identity API documentation for complete details, best practices, and framework-specific examples.
Cross-Domain Tracking
Set to share session IDs across subdomains (e.g.,
.example.com)When set, sessions will persist as users navigate across all subdomains.Example: Cross-Subdomain Tracking
If you have multiple subdomains likeapp.yoursite.com, blog.yoursite.com, and shop.yoursite.com, you can track users across all of them:
The
cookieDomain must start with a dot (.) to work across subdomains.