Add an Embedin course to a Squarespace page while keeping your existing site and brand. The embed runs inside the page; include useful, descriptive page content around it so visitors and search engines understand what the course covers.
Before you start
- Create and publish your course in Embedin, then copy its course ID from the course settings.
- Add every Squarespace domain you will use to the course's allowed domains in Embedin. Include both the
wwwand non-wwwversions if visitors can reach your site on both. - Confirm your Squarespace plan and page editor allow custom HTML and external scripts. Platform plan features can change, so check Squarespace's current documentation if the Code block is unavailable.
Add the course to a Squarespace page
- Open the page where the course should appear in the Squarespace editor.
- Add a Code block at the desired position and choose HTML if the block offers a language option.
- Paste the embed snippet below, replacing
YOUR_COURSE_IDin all three places with the course ID from Embedin. - Save the page, publish it, and test the public page on its live domain.
<div id="YOUR_COURSE_ID" data-courseid="YOUR_COURSE_ID"></div>
<script type="module" data-courseid="YOUR_COURSE_ID" src="https://embed.embedin.com/course.js"></script>
The id and data-courseid values must match. The script mounts the course into the container, so keep both the container and script in the page.
Help visitors find the course
Write a unique page title, meta description, heading, and short introduction that explain who the course is for and what learners will get. Keep that information as regular page text around the embed rather than relying on course content alone. Link to the page from relevant parts of your site, and make sure it is not blocked from search indexing in Squarespace's page settings.
Troubleshooting
- The course does not load: Check that the live domain is in the Embedin allowed domains list and that the course ID is correct in all three places.
- It works on one URL but not another: Add each hostname you use, including
wwwand preview or staging domains, to the allowed list. - The editor preview is blank: Test the published page as well; the editor or preview environment may use a different domain or restrict scripts.
- The Code block is missing or scripts are removed: Check your current Squarespace plan and editor restrictions for custom code and external scripts.
For other publishing options, see our guides for Wix and Webflow.




