# Embedding on your website

> Embed your live CurrentView board on Duda, Squarespace, Wix, WordPress, Shopify or any site with two lines of code, or an iframe where scripts are blocked.

Canonical: https://currentview.app/resources/embedding

Your admin's **Embed & QR** page generates these snippets for each location and view, with
a live preview. The general form:

```html
<script src="https://currentview.app/embed/v1/currentview.js" async></script>
<currentview-board tenant="your-name" location="downtown" view="today"></currentview-board>
```

Attributes: `tenant` (required), `location` (defaults to your default location), `view`
(`today`, `all`, `featured`, or `category:slug`), `theme` (`auto`, `light`, `dark`),
`columns`, `show-descriptions`, `show-search`, `show-prices`, `show-filters` (`auto` — a category picker with item counts on every embed and on phones; never on a TV — `true`, or `false`).

The board keeps its own styles and takes your branding from your settings. If you need to
nudge it into a page, override the CSS variables on the element — `--cv-primary`,
`--cv-font-heading` and friends — rather than reaching inside.

## If your builder blocks scripts

Use the iframe version. It auto-sizes to its content.

```html
<iframe src="https://currentview.app/d/your-name/downtown?embed=1" style="width:100%;border:0" title="Live board"></iframe>
```

## Platform notes

- **Duda** — Add Widget → HTML → paste both lines → Save → Republish.
- **Squarespace** — add a **Code** block and paste the snippet (script tags require a Business plan or higher; otherwise use the iframe).
- **Wix** — add an **Embed HTML** element and paste the iframe version.
- **WordPress** — a **Custom HTML** block accepts the script snippet.
- **Shopify** — add the snippet to a section's custom liquid, or use the iframe in a rich-text block.

We never require you to re-paste: fixes ship in place. A change that would break your page
ships as `/embed/v2/` and your `v1` keeps working.

