Tests DNI pool assignment, number swapping, format matching, and cross-pool navigation. Matches phone-config.json for test account 0c0d249e.
Matches: hostname = this site, any path NOT matching Locations or Sales patterns.
Target: (555) 123-4567
Matches: pathname starts with /locations/, /store-finder/, /find-a-location/
Targets: (555) 123-4567 AND (555) 999-8888 (two targets, same pool)
Matches: pathname starts with /pricing/, /demo/, /get-started/, /contact-sales/
Target: (555) 777-6666
Tests the URL-change handler (history.pushState/popstate/hashchange) and the MutationObserver on dynamically rendered phone numbers. Loads under the Corporate pool initially.
| Scenario | Expected |
|---|---|
| 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 Us | Same Corporate tracking number as before (sessionStorage cached) |
| Multiple formats on Contact page | ALL 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-4567 | Locations pool wins (priority 10 beats Corporate 30) |