# 📞 LeadStream Phone Tracking Test Page

Test Status: This page tests the enhanced phone tracking system with various phone number formats and elements.

## 🎯 Standard Tel: Links (Auto-Detected)

These should be automatically tracked if the phone numbers are configured in LeadStream settings:

📱 +1 (555) 123-4567 📞 555-123-4567 ☎️ 555.123.4567 📲 1-555-123-4567

## 🎨 Custom Phone Elements (CSS Selectors)

These require CSS selectors in the phone tracking settings:

📧 Contact Widget
Click to call: (555) 123-4567
📍 Office: 555.123.4567

## 🔧 Different Phone Formats

Testing various phone number formats that should all normalize to digits:

(555) 123-4567 555 123 4567 +1.555.123.4567 1 (555) 123-4567

## 📊 Test Instructions

1. Configure Phone Numbers: Add your test numbers in LeadStream → Phone Tracking
2. Add CSS Selectors: Optionally add these selectors:
   - `.custom-phone-button`
   - `.phone-widget`
   - `#contact-phone`
3. Test Clicks: Click the phone links/buttons above
4. Check Analytics: View stats in LeadStream admin and Google Analytics
5. Verify Tracking: Tracked elements should turn green, clicked elements flash yellow

## 🔍 Browser Console Test

Open browser dev tools (F12) and run these commands:

    // Check if tracking is loaded
    console.log(window.LeadStreamPhoneRescan);

    // Re-scan for phone elements
    LeadStreamPhoneRescan();

    // Check tracked elements
    console.log(document.querySelectorAll('.ls-phone-tracked'));