# 3LA Quick Audit Widget - Embedding Instructions
## ๐ฏ Widget Overview
The 3LA Quick Audit Widget is a lightweight, embeddable lead generation tool that provides instant Three-Layer Approach scores for any website.

### Features:
- โ
Quick 3-layer analysis (10-20 seconds)
- โ
Visual, color-coded scores
- โ
Email capture for beta invites
- โ
Rate limited (3 audits per IP per hour)
- โ
Responsive design
- โ
Zero dependencies (vanilla JavaScript)
---
## ๐ฆ Embedding Options
### Option 1: Iframe Embed (RECOMMENDED)
**Basic Embed:**
```html
```

**With Source Tracking:**
```html
```

## ๐ง WordPress Integration
### Using HTML Block:
1. Add new "Custom HTML" block
2. Paste iframe code:
```html
```
### Using Sidebar Widget:
1. Go to **Appearance โ Widgets**
2. Add "Custom HTML" widget
3. Paste iframe code
4. Save
## ๐จ Customization
### Responsive Embed (Mobile-Friendly):
```html
```

### Centered with Padding:
```html
Test Your Website's 3LA Score
Get instant feedback on your site's optimization
```

## ๐ Rate Limiting
- **Limit:** 3 audits per IP address per hour
- **Error Response:** `429 - Rate limit exceeded`
- **Message:** "Rate limit exceeded. Please try again in an hour."
---
## ๐ CORS Configuration
The widget API supports cross-origin requests:
- `Access-Control-Allow-Origin: *`
- Works from any domain
- No authentication required
---
## ๐ Troubleshooting
### Widget Not Loading?
- Check iframe src URL is correct
- Verify HTTPS (widget requires secure context)
- Check browser console for errors
### Scores Showing 0?
- Target URL may be unreachable
- Target URL may be blocking our audit bot
- Try a different URL
- Log in on the platform to get the details
---
## ๐ Future Enhancements
**Phase 2 (Later):**
- WordPress Plugin (installable .zip)
- JavaScript snippet (non-iframe)
- White-label options
- Custom branding
- Email template customization
---
## ๐ Support
For issues or questions:
- **Email:** master@nettpilot.com
---
## Example Usage on nettpilot.no
```html
```
**Last Updated:** December 13, 2025
**Version:** 1.0.0
**Status:** โ
Production Ready