Widg documentation

These guides show how to create a widget, install it on any website with one snippet or an iframe, restrict it to your domains, and use analytics, webhooks and the public API.

Basics

  • Getting started — Create an account, build your first widget and add it to your website.
  • Installing a widget — The standard embed code, how it loads, and why you only install it once.
  • Iframe installation — Embed widgets with an iframe, add automatic height, and decide when an iframe is the better choice.

Platform guides

  • WordPress — Add widgets with a Custom HTML block or load the script in your theme footer.
  • Wix — Embed widgets on Wix using the hosted iframe or an Embed HTML element.
  • Squarespace — Use a Code block or code injection, with an iframe fallback.
  • Shopify — Load the script in theme.liquid and place widgets with Custom Liquid sections.
  • Webflow — Place widgets with the Code Embed element and load the script in site custom code.
  • Laravel / Blade — Add the loader to your Blade layout and render widgets with a component.
  • Plain HTML — Add a widget to a static HTML page.
  • React, Vue & Next.js — Render a container, load the script once, and use dynamic containers in single-page apps.

Domains & troubleshooting

  • Domain verification — Restrict widgets to your websites and verify domains with DNS, a file or a meta tag.
  • Troubleshooting — Fix widgets that do not show, ad blockers, Content Security Policy and domain errors.
  • Analytics & privacy — What counts as a view, which events are collected and how Do Not Track and GPC are respected.

Developers

  • Webhooks — Receive form submissions and publish events, and verify webhook signatures in PHP or Node.js.
  • Public API reference — Widget payload, analytics events and form submission endpoints of the public widget API.

More

  • Agencies & white-label — Manage client accounts with delegated access, client roles and white-label branding.
  • FAQ — Answers to common questions about installing and managing widgets.