CDP Tracking Test Page

Instructions

  1. Open browser DevTools (F12) → Network tab
  2. Filter by "/api/batch" or "batch"
  3. Click "Check State" to see current analytics state
  4. Click "Test Track Event" to send a test event
  5. Fill form and click "Test Identify" to link anonymous session to email
  6. Check Network tab for POST requests with payload

Test User Identification

What to check in Network tab:

  • Track event: POST to /api/batch with type: "track"
  • Identify event: POST to /api/batch with type: "identify"
  • Payload should include: anonymousId, userId (after identify), context, timestamp
  • Response: Should be 200 OK

Cookie Information:

  • _rl_anon_id - Anonymous ID (should persist across page loads)
  • rl_authenticated - Authenticated user ID (after login)