# How to embed an Instagram feed on Squarespace

An Instagram feed in a Squarespace Code Block. The plan rule for scripts, the preview catch and fixes.

By Rohin Aggarwal · 2026-11-21

Customers post your candles on Instagram every week. Your Squarespace shop still shows the same three studio shots. You pasted a feed code into a block last month. It showed nothing in the editor, so you deleted it.

To embed an Instagram feed on Squarespace, add a Code Block. Paste the feed's code in HTML mode. Scripts in Code Blocks run only on the Core, Plus and Advanced plans. Code can also hide while you are logged in. Check the live page, or use Preview in Safe Mode.

**What you need to know**

- **Code Block:** add a block, choose Code, click the pencil, paste, set Mode to HTML.
- **Plan rule:** JavaScript and iframes in Code Blocks need Core, Plus or Advanced.
- **Logged-in catch:** Squarespace says code may not show while you are logged in.
- **No Squarespace extension for Idukki.** The embed code is the whole install.

## How to add the feed in Squarespace

1. Open the page in edit mode.
2. Hover over a section, click the add button and choose Code.
3. Click the pencil icon on the block.
4. Paste your code. Set the Mode menu to HTML. Leave Display Source off.
5. Save and publish. Open the live page in a private window to check it.

> **Blank in the editor?:** Squarespace notes that code sometimes does not appear while you are logged in. Use Preview in Safe Mode, or check the live page logged out. If a script stops you editing, turn off scripts in preview.

## How to do it in Idukki: a live feed for Squarespace

**From Instagram to Squarespace**
1. **New collection** — In Collections, click New collection and pick Instagram.
2. **Add sources** — Your username, Reels, a hashtag or posts that tag you.
3. **Tag products** — Tag your Squarespace products on each post.
4. **Copy code** — Open Publish and copy the embed code.
5. **Paste in a Code Block** — HTML mode, save, then check the live page.
_Menu names as they appear in the Idukki dashboard._

```html
<div data-ugc="idukki" data-bguid="YOUR_BGUID" data-guid="YOUR_COLLECTION_GUID"></div>
<script src="https://idukki-cdn.com/version/script_0" async></script>
```

Two galleries on one page? Paste the full code into each Code Block. The script loads once, whatever the number of galleries.

## Link posts to your Squarespace products

Products do not sync from Squarespace today. Import a CSV of your products as a file or a link. Or add them by hand. Then tag posts. A shopper taps a product and your product page opens in a new tab.

### Instagram's embed against a feed widget on Squarespace
_Squarespace facts from its Code Blocks help. Idukki facts from our dashboard._

**Free: Instagram embed code**
One post or Reel per Code Block.
- ✓ No account needed
- ✓ Copy it from the post's menu
- ✗ Nothing updates
- ✗ No product links

**Ours: Idukki feed**
A feed from handles, Reels, hashtags and tags.
- ✓ Updates as the collection syncs
- ✓ Posts link to your products
- ✗ Scripts need Core, Plus or Advanced

More on the setup, and what does not work yet: the [Idukki for Squarespace page](/platforms/squarespace).

**The practical choice:** One post? Paste Instagram's embed code into a Code Block. A feed that stays current and links to your products? Paste the Idukki code, on a plan that runs scripts.

### Related guides

- [Instagram on Wix](/blog/embed-instagram-feed-on-wix)
- [Instagram on WordPress](/blog/embed-instagram-feed-on-wordpress)
- [embed an Instagram feed on any site](/blog/embed-instagram-feed-on-website)
- [embed Google reviews](/blog/embed-google-reviews-on-website)

Automate it: [track new Instagram UGC in Airtable](/automations/instagram-ugc-to-airtable) and [feature your best posts](/automations/top-posts-to-homepage-gallery).

### Questions people ask

**Q: Which Squarespace plans allow a feed script?**

A: Core, Plus and Advanced. Scripts and iframes in Code Blocks need one of them.

**Q: Why does my feed not show in the editor?**

A: Code may not appear while you are logged in. Check the live page, or use Preview in Safe Mode.

**Q: Do I need a Squarespace extension?**

A: No. Paste the embed code into a Code Block.

**Q: Can shoppers add to cart inside the feed?**

A: No. The product button opens your product page in a new tab.

### Sources
- [Squarespace Help: Code blocks](https://support.squarespace.com/hc/en-us/articles/206543167-Code-blocks) — Steps, the Core, Plus or Advanced rule, Safe Mode. Read 21 November 2026.
- [Instagram Help: Embed an Instagram post or profile](https://help.instagram.com/620154495870484/) — Embed steps for posts and Reels.
- [Idukki pricing](/pricing) — Free plan up to 20,000 widget impressions a month.

---
Canonical: https://idukki.io/blog/embed-instagram-feed-on-squarespace
Tags: instagram, squarespace, embed, instagram-feed, ugc
