Odyssey Embed Test Harness

This is a sandbox for testing the Odyssey embed script and ingestion pipeline. No auth, no database, no polish — just fast feedback.

Test Pages

  • /basicSimplest embed test: load script, fire events, observe logs
  • /formHTML native form with validation and embed event tracking
  • /examplesIntegration examples and copy-paste snippets
  • /steps — Multi-step journey simulation (coming soon)
  • /race — Stress test: rapid event firing, flush batching (coming soon)
  • /multi — Multiple embeds on one page, isolation testing (coming soon)
  • /iframe — Cross-origin behavior, CSP, sendBeacon (coming soon)

How to Use

  1. Navigate to a test page
  2. Open your browser console
  3. Interact with the page
  4. Check the terminal running this app for ingest logs

Architecture

Test App (3100) → Loads Script → Core App (3000) → Events → Core App Ingest

Embed served from: http://localhost:3000/embed/embed-v1.global.js
Ingest endpoint: http://localhost:3000/api/ingest
Test app simulates a third-party site embedding Odyssey

⚠️ Prerequisites: The core app must be running on port 3000 for the embed script to load.