Glossary · Platforms
Embed code
Embed code is a short piece of HTML you paste into a page to show something that is hosted elsewhere: a video, a map, a booking form or a blog. It is usually a script tag, which draws the content into your page, or an iframe, which shows another page in a box on yours.
An example
The two kinds side by side. The first is CMSKite’s blog embed; the second is the usual way a video is embedded.
<div id="cmskite-blog"></div>
<script src="https://cmskite.com/embed.js" data-blog="your-blog" async></script><iframe src="https://www.youtube.com/embed/VIDEO_ID" width="560" height="315" title="How we decorate a wedding cake"></iframe>Why it matters for a small-business blog
Embed code is how somebody on a website builder adds what the builder does not have, without a developer. For a video or a map, either kind works. For a blog, the kind decides what search engines see.
A script writes into your page, so the post’s words, title and tags can belong to your page, for search engines that run the script. An iframe is a separate page with its own address: its title, description and canonical link describe that page, not yours.
Common mistakes
- Pasting into a text block. Code pasted where the builder expects words shows up as words. Use the builder’s code or HTML element.
- Not checking the plan. Some builders only allow code on paid plans: Webflow’s Code Embed needs a paid site plan, and Squarespace’s Code block needs Core or above.
- Assuming the builder runs it on your page. Wix runs pasted code in a frame of its own, so a script behaves like an iframe there.
- An iframe with no title. Screen-reader users rely on the
titleattribute to know what the frame holds. - Pasting code you do not trust. A script runs with the same access to the page as your own code. Only embed from services you would let edit your site.
How CMSKite handles it
- Two lines, with your blog’s name already in them, on the Connect website page of your dashboard. They show the list of posts on that page, in your site’s own fonts and colours, and open each post on the same page.
- A script, not an iframe. With a post open, it sets your page’s title, description, canonical link and article data. Google runs the script and reads them; crawlers that do not run scripts see your page without the post.
- Optional attributes:
data-path="/blog"gives posts addresses like/blog/my-poston hosts that allow a rewrite, anddata-accentsets the colour of links. All of them are in the embed guide. - On Wix the two lines work, inside Wix’s frame, so posts rank on your free blog link rather than your Wix domain. Each platform’s steps are on its page, such as CMSKite for Wix.
Sources
- <script> element — MDN
- <iframe> element — MDN
- Understand JavaScript SEO basics — Google Search Central
Checked on 4 October 2026.
Questions
- Can Google read content added with embed code?
- Google runs JavaScript when it renders a page, so it reads content a script adds. Many other crawlers do not, and see the page without it.
- Where do I paste embed code?
- In your builder’s code element: Custom HTML on WordPress, Embed HTML on Wix, a Custom Liquid section on Shopify, Code Embed on Webflow, a Code block on Squarespace, or anywhere in the body of a plain HTML page.
Related
Checked