Phone Tracking Test Pages

Tests DNI pool assignment, number swapping, format matching, and cross-pool navigation. Matches phone-config.json for test account 0c0d249e.

How it works: Each section below links to pages that match a specific phone pool's conditions. The phone numbers on those pages should be swapped with tracking numbers from the pool's inventory. Navigate between sections to test cross-pool assignment and number switching.

Target numbers to watch: (555) 123-4567 — Corporate + Locations pools (same target, different pools by page) (555) 999-8888 — Locations pool only (second target) (555) 777-6666 — Sales Campaign pool only

Pool A — Corporate (priority 30, catch-all)

Matches: hostname = this site, any path NOT matching Locations or Sales patterns.

Target: (555) 123-4567

Pool B — Locations (priority 10, highest)

Matches: pathname starts with /locations/, /store-finder/, /find-a-location/

Targets: (555) 123-4567 AND (555) 999-8888 (two targets, same pool)

Pool C — Sales Campaign (priority 20)

Matches: pathname starts with /pricing/, /demo/, /get-started/, /contact-sales/

Target: (555) 777-6666

S5 Tests — SPA navigation + dynamic content

Tests the URL-change handler (history.pushState/popstate/hashchange) and the MutationObserver on dynamically rendered phone numbers. Loads under the Corporate pool initially.

Test scenarios:
ScenarioExpected
Visit About Us (Corporate pool)(555) 123-4567 swapped with Corporate tracking number
Then visit Chicago Location (Locations pool)(555) 123-4567 AND (555) 999-8888 swapped with Locations tracking numbers
Then visit Pricing (Sales pool)(555) 777-6666 swapped with Sales tracking number
Return to About UsSame Corporate tracking number as before (sessionStorage cached)
Multiple formats on Contact pageALL format variants of (555) 123-4567 swapped consistently
First visit (no cache)Brief delay (~200-500ms) before swap, then instant on subsequent pages
Pool overlap: /locations/ page has (555) 123-4567Locations pool wins (priority 10 beats Corporate 30)