You can embed a Substack newsletter sign-up form on your Webflow site using an Embed element instead of placing the code in the <head>
tag. Here's how to do it correctly:
- Go to your Substack dashboard and navigate to Settings > Import & Embed.
- Copy the Embed code for the signup form.
2. Add an Embed Element in Webflow
- Open Webflow Designer and go to the page where you want the form.
- Drag an Embed element (from the Add panel) onto the page.
- Paste the Substack embed code inside the Embed element.
3. Adjust Webflow Settings if Needed
- If the form doesn’t appear, make sure to publish your Webflow site and test it live.
- If styling issues arise, add custom CSS inside Project Settings > Custom Code > Footer to modify the form’s appearance.
4. Verify the Embed
- Open the published page in an incognito window to check if the form loads correctly.
- If it’s not appearing, ensure that Substack’s JavaScript is being properly loaded and not blocked by browser settings or ad blockers.
Summary
Instead of adding the Substack embed code in the <head>
, place it in a Webflow Embed element within the body. Then publish the site and test the form live. If needed, tweak styles with custom CSS in the Footer section of Webflow’s custom code settings.