Embed in GoHighLevel
Paste this in Settings → Business Profile → Custom Code (footer), a funnel custom HTML block, or any page header/footer injection:
Loading…
Form URL and location are not in the embed tag — set
GHL_LOCATION_ID and GHL_FORM_EMBED_URL in Coolify env.
Security (location lock)
- Widget only loads on allowed GHL / leadconnectorhq referrers
- Form URL served only via
/api/widget/bootstrap - Optional
WIDGET_EMBED_KEYon script URL - Optional
GHL_ALLOWED_FORM_IDSto pin one form ID
Script attributes (optional UI overrides)
| Attribute | Required | Description |
|---|---|---|
data-button-label |
No | Floating button text (default: Submit Disposition) |
data-modal-title |
No | Modal header (default: Contact Disposition) |
data-button-position |
No | top-right (default), top-left, bottom-right, bottom-left |
data-offset-top |
No | Distance from top (default 4.5rem — clears GHL header) |
data-offset-side |
No | Distance from side edge (default 1rem) |
data-primary-color |
No | CSS color for button theme |
Coolify deployment
- Create a new application from this repo (Dockerfile).
- Set
PUBLIC_BASE_URLto your public HTTPS domain. - Set
GHL_LOCATION_IDandGHL_FORM_EMBED_URL. - Optional:
WIDGET_EMBED_KEY,GHL_ALLOWED_ORIGINSfor whitelabel. - Expose container port
3000; health check/health. PORT/NODE_ENVare set by Dockerfile — no need to add in Coolify unless you override.