# SDR Page Iframe Embedding - Partner Instructions

**Last Updated:** 2025-01-05

## Overview

The Ordio SDR booking page (`https://www.ordio.com/sdr`) is configured to allow iframe embedding for partner CRM integration.

## Iframe Embed Code

Use the following HTML code to embed the SDR booking page in your CRM:

```html
<iframe
  src="https://www.ordio.com/sdr?sdr=PARTNER_NAME"
  width="100%"
  height="800"
  frameborder="0"
  title="Ordio Demo Booking"
  allowfullscreen
>
</iframe>
```

### Parameters

- **src**: The URL of the SDR page
  - Replace `PARTNER_NAME` with your specific partner identifier (if you have one)
  - Or remove the `?sdr=` parameter entirely if not needed
- **width**: Adjust to fit your CRM layout (e.g., `"100%"`, `"800px"`)
- **height**: Adjust based on your layout needs (recommended: `800px` minimum)
- **frameborder**: Set to `"0"` for seamless integration
- **title**: Accessibility attribute (recommended)

## Form Functionality

The embedded form automatically:

- **Tracks Lead Source**: Set to "Freelancesdr"
- **Tracks UTM Source**: Set to "Freelancesdr"
- **Tracks UTM Campaign**: Uses value from `?sdr=` URL parameter (if provided)
- **Submits to HubSpot**: All submissions go to Ordio's HubSpot CRM
- **Redirects on Success**: After successful submission, redirects to success page

## Testing

### Verify Iframe Works

1. **Test URL**: [https://iframetester.com/?url=https://www.ordio.com/sdr](https://iframetester.com/?url=https://www.ordio.com/sdr)
2. **Expected Result**: Page should load successfully in the iframe
3. **If Blocked**: Contact Ordio support - the page should allow iframe embedding

### Test Form Submission

1. Embed the page in your CRM
2. Fill out and submit the form
3. Verify submission is received by Ordio
4. Check that UTM parameters are tracked correctly

## Troubleshooting

### Iframe Won't Load

**Symptoms**: "refused to connect" or blank iframe

**Possible Causes:**

1. Page not configured for iframe embedding (contact Ordio)
2. Browser blocking mixed content (ensure HTTPS)
3. CSP violations (check browser console)

**Solutions:**

1. Verify URL is correct: `https://www.ordio.com/sdr`
2. Check browser console for errors
3. Test in different browser
4. Contact Ordio support if issue persists

### Form Not Submitting

**Check:**

1. Browser console for JavaScript errors
2. Network tab for failed requests
3. Form fields are filled correctly
4. Internet connection is stable

## Support

For technical issues or questions:

- **Email**: hady@ordio.com
- **Technical Documentation**: See `docs/development/IFRAME_EMBEDDING_SDR.md`

## Security Notes

- The page allows embedding from any domain (`frame-ancestors *`)
- All form submissions are secured via HTTPS
- Data is processed according to Ordio's privacy policy
- No sensitive data is exposed in the iframe
