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. 1

    Add the snippet

    Paste one script tag and a mount div on any page where you want the form to appear.

  2. 2

    Capture the lead

    Visitors enter name, email, and phone on our branded form inside a responsive iframe.

  3. 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.

Production HTML
<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

AttributeDefaultPurpose
data-targetuc-telmedElement id where the iframe mounts
data-partnerPartner slug sent with the lead
data-height640Initial iframe height in pixels
data-originscript originOverride 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

yoursite.com — embedded form

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.

Local HTML (third-party host)
<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.