Analytics SO — E2E Test Harness

@elliemae/pui-analytics-so

How to Use

  1. Wait for "E2E harness ready" in the Event Log.
  2. Adjust session values and click Initialize to create the Analytics instance.
  3. Use each section to exercise the API. Check Splunk/GTM/LR capture panels for output.
  4. Work through the Verification Checklist at the bottom.

Session & Initialization

BA Event Parameters

(click Get Params)

sendBAEvent

Expected: GTM receives full enriched payload. LR receives caller-supplied fields only.

Timing (startTiming / endTiming)

Raw performance.measure() (bypasses start/endTiming)

Expected: PerformanceObserver picks up the measure (deferred via queueMicrotask). Sampled entries appear in all three capture panels.

Sampling Configuration

(click Show All Ratios)

Burst Test (sampling + throttling)

Expected: Only ~25% of entries (default ratio) reach the capture panels. LR throttle limits identical payloads to 3/sec.

Splunk (logger.info) 0

(empty)

GTM (gtmDataLayer) 0

(empty)

LogRocket (track) 0

(empty)

Event Log

Verification Checklist