Skip to main content

Embedding on Your Website

Gallery OwnersUpdated Dec 3, 2026

Every Crafted Call embed is the same short piece of code: one line that says what to show, and one line that loads our script. Paste it once and it keeps itself up to date. When we improve an embed, your website gets the improvement without you touching the code.

<div
  data-cc-widget="gallery"
  data-org="your-org"
  data-exhibition="your-exhibition"
></div>
<script src="https://www.craftedcall.com/embed/v1.js" async></script>

You can put several embeds on one page. Each one needs its own first line; the script line can appear once or more than once, and either way works.

What you can embed

Settings → Embed Widgets lists every embed, whether it will show anything right now and, if not, what to change. Each embed's code lives with the feature it shows:

  • Exhibition gallery: open the exhibition, go to the Tools tab, and choose Embed Code.
  • Donate form: Donations → Settings.
  • Membership sign-up: Settings → Membership Tiers.
  • Newsletter signup form: Marketing → Signup Forms, then Embed on the form.
  • Rental application form: Rentals → Settings, under Public rentals, when the form is turned on.
  • Calls, events and exhibition lists: the widget builder at the bottom of Settings → Embed Widgets. These need a publishable key, which the builder creates for you.

Each card has a live preview. What you see there is the real embed with your current choices.

First: add your website to the allowed list

Browsers show an embed only on websites you have listed under Settings → Embed Widgets → Allowed Embed Domains. The list starts empty.

Add every address your site answers on. https://mygallery.com and https://www.mygallery.com are different addresses to a browser, so list both. If your site moves to a new address, add that one too. The newsletter signup form and the calls, events and exhibition lists do not need the list.

Squarespace

  1. Edit the page, choose Add Block, and pick Code.
  2. Paste the code, make sure the block is set to HTML, and save.
  3. Publish the page.

Squarespace runs code in a Code Block only on the Core plan or above, and never on checkout pages. On a lower plan, link to your page on Crafted Call instead.

Wix

  1. In the editor, choose Add → Embed Code → Embed HTML.
  2. Choose Code, paste the code, and select Update.
  3. Drag the box's bottom edge so it is tall enough for the embed.

Wix places pasted code inside its own box, served from an address ending in filesusr.com. Browsers check that address as well as yours, so add https://*.filesusr.com to the allowed list along with your site's addresses. The embed cannot change the size of the Wix box, which is why you set its height yourself.

WordPress

Add a Custom HTML block where the embed should go, paste the code, and update the page. A paragraph block shows the code as text instead of running it.

Our WordPress plugin adds Crafted Call blocks to the editor instead of pasted code. See WordPress setup.

Webflow

  1. Drag a Code Embed element onto the page.
  2. Paste the code and save.
  3. Publish the site. Webflow runs the code on the published site, not in the Designer.

Plain HTML

Paste the code into the page where the embed should appear. Nothing else is needed.

Customizing an embed

Every card offers the same choices, and each one becomes part of the code:

  • Color scheme (data-theme): light, dark, or matching the visitor's device setting.
  • Accent color (data-accent): buttons and links. Empty uses your Brand & Identity color.
  • Text color (data-text) and Background (data-background). An empty background lets your page show through.
  • Font (data-font): a plain sans-serif or serif, the visitor's device font, or one of our font choices. Your website's own fonts cannot reach inside an embed, so pick the closest match. The calls, events and exhibition lists are the exception: their plain sans-serif and serif use your site's fonts.
  • Corner rounding (data-radius): 0 to 24 pixels.

Some embeds have their own choices:

  • Exhibition gallery: layout (grid, carousel or list), the button on each piece (none, View piece, Inquire or Buy), what clicking a piece does (a large view or the artwork page), and the most pieces shown.
  • Newsletter signup form: every display (on the page, pop-up, slide-in or on exit) uses the same code. The form's own display and trigger settings decide how it appears, so you can change them in Crafted Call at any time without pasting the code again. Signup code you pasted earlier keeps working as it is.

You can also edit the attributes in pasted code by hand. A value we do not recognise is ignored, and the embed uses its default.

Payments

The donate form opens payment on a secure Stripe page in the same browser tab. In the membership sign-up, Join opens your join page on Crafted Call in a new tab.

Troubleshooting

A blank or "refused to connect" box. The page's address is not on the allowed list. Add it, including the www. form if your site uses it, and reload after a minute.

The code shows as text on the page. It went into a text block. Use the builder's HTML or code block instead.

Nothing appears where the embed should be. The embed may have nothing to show yet, for example a donate form while donations are off. Settings → Embed Widgets says why.

The embed is cut off on Wix. Make the Embed HTML box taller in the Wix editor.

Next steps

For more help, contact support@craftedcall.com.

Was this article helpful?