Partner embed
Add weight loss signup to your site
One short script embeds our lead form. Visitors start on your page, then continue into the GLP-1 get-started flow — without building the form yourself.
How it works
- 1
Add the snippet
Paste one script tag and a mount div on any page where you want the form to appear.
- 2
Capture the lead
Visitors enter name, email, and phone on our branded form inside a responsive iframe.
- 3
Continue to GLP-1
After submit, they continue into the same weight-loss get-started flow used on UrgentCare.com. UTMs from your page are forwarded automatically.
Install on your site
Replace YOUR-PARTNER-SLUG with the partner id we assign you. Place the mount div where the form should appear.
<div id="uc-telmed"></div>
<script
src="https://www.urgentcare.com/embed/telemedicine.js"
data-target="uc-telmed"
data-partner="YOUR-PARTNER-SLUG"
async
></script>Script options
| Attribute | Default | Purpose |
|---|---|---|
| data-target | uc-telmed | Element id where the iframe mounts |
| data-partner | — | Partner slug sent with the lead |
| data-height | 640 | Initial iframe height in pixels |
| data-origin | script origin | Override embed host (local / staging) |
Host-page query params (UTMs and similar) are forwarded into the iframe automatically. Review the loader at /embed/telemedicine.js.
Live preview
Same public script partners use, pointed at this environment. Submit a test lead to confirm the handoff.
partner=demo-partner
Test on a third-party page
To simulate a partner site, save a local HTML file (or use CodePen) with the snippet below while npm run dev is running on port 44000.
<div id="uc-telmed"></div>
<script
src="http://localhost:44000/embed/telemedicine.js"
data-target="uc-telmed"
data-partner="demo-partner"
data-origin="http://localhost:44000"
async
></script>data-origin points the iframe at your local Next server when the host page is not urgentcare.com.