Integration Verification
This guide helps you verify that Ad Sentinelle is properly integrated on your site.
Verification Checklist
✅ 1. Script is Loaded
Open the developer tools (F12) and check in the Network tab:
- The
SITE_ID.jsscript is loaded with status 200 - The script comes from
adwall-backend-xxxxx.run.app
✅ 2. SDK is Initialized
In the Console, you should see:
✅ Ad Sentinelle SDK initialized
✅ Session ID: abc123-def456-789...
✅ Config loaded for site: SITE_ID
✅ 3. Detection Works
With an ad blocker enabled, you should see:
✅ Adblock detected: true
✅ Detection method: bait
✅ Wall displayed
✅ 4. Wall Appears
- Wall appears as overlay on the page
- Title and message are visible
- CTA button is clickable
- Style matches your configuration
✅ 5. Conversion Works
- Disable your ad blocker
- Click the CTA button
- Verify in console:
✅ Verification started
✅ Adblock disabled confirmed
✅ Conversion tracked
✅ Wall removed
Test with Different Ad Blockers
Test with multiple ad blockers to validate detection:
| Ad Blocker | How to Test |
|---|---|
| uBlock Origin | Chrome/Firefox extension |
| AdBlock Plus | Chrome/Firefox extension |
| AdBlock | Chrome extension |
| Brave | Brave browser with shields enabled |
Verification in Dashboard
After your tests, verify in the Ad Sentinelle dashboard:
- Go to Analytics → Real-time
- Verify your test sessions appear
- Verify events:
adblock_detectedadwall_displayedconversion_allowlist(if conversion completed)
Debug Mode
Enable debug mode for detailed logs:
<script>
window.ADWALL_CONFIG = { debug: true };
</script>
<script src="https://adwall-backend-xxxxx.run.app/v1/loader/SITE_ID.js" async></script>
Debug Logs
[Ad Sentinelle Debug] Init started
[Ad Sentinelle Debug] Session ID: abc123...
[Ad Sentinelle Debug] Variant assigned: control
[Ad Sentinelle Debug] Starting adblock detection...
[Ad Sentinelle Debug] Bait element created
[Ad Sentinelle Debug] Bait element blocked: true
[Ad Sentinelle Debug] Network test started
[Ad Sentinelle Debug] Network test blocked: true
[Ad Sentinelle Debug] Detection result: BLOCKED
[Ad Sentinelle Debug] Checking conversion status...
[Ad Sentinelle Debug] User not converted, showing wall
[Ad Sentinelle Debug] Wall template loaded
[Ad Sentinelle Debug] Wall displayed
[Ad Sentinelle Debug] Event tracked: adwall_displayed
Common Issues
Script Doesn't Load
Possible Causes:
- Incorrect script URL
- Invalid Site ID
- Network issue
Solutions:
- Check URL in dashboard
- Check for typos in Site ID
- Check console for CORS errors
Wall Doesn't Appear
Possible Causes:
- Ad blocker not active
- User already converted (cookie present)
- Site not configured
Solutions:
- Verify your ad blocker is enabled
- Delete
adwall_*cookies and retry - Check site configuration in dashboard
CORS Error
Access to script at 'https://...' from origin 'http://localhost:3000'
has been blocked by CORS policy
Solution: Add your domain (including localhost for testing) to authorized domains in the dashboard.
Wall Appears Without Ad Blocker
Possible Causes:
- False positive detection
- Extension blocking certain resources
Solutions:
- Disable all extensions and retry
- Contact support with details
Testing Tools
Development Extension
Use the Ad Sentinelle development extension (available on request) to:
- Force wall display
- Simulate an ad blocker
- Reset cookies
- View events in real-time
Ad Sentinelle Console
In the browser console:
// Force a new detection
window.AdSentinelle?.check()
// Get session ID
window.AdSentinelle?.getSessionId()
// Reset (delete cookies)
document.cookie = 'adwall_converted=; max-age=0; path=/'
document.cookie = 'adwall_seen=; max-age=0; path=/'
Validate in Production
Before deploying to production:
- Test on a staging environment
- Verify mobile behavior
- Test different browsers
- Validate analytics in dashboard
- Disable debug mode
Don't forget to disable debug: true in production to avoid cluttering your users' console.