WordPress makes it easy to add custom HTML embeds to your website. Follow this guide to integrate Supascribe and start growing your newsletter audience.
Step-by-Step Guide
1. Get your embed code
First, you'll need to create and publish an embed in your Supascribe dashboard:
- Log into your Supascribe dashboard at supascribe.com
- Click "Create Embed" to start building your email capture form
- Customize your embed with your style, colors, and messaging
- Click "Publish Embed" to generate your unique embed code
After publishing, you'll see your embed code that looks like this:
<!-- Subscribe embed code -->
<div data-supascribe-embed-id="example" data-supascribe-subscribe></div>
<!-- Supascribe Script (Only add this to your site once) -->
<script src="https://js.supascribe.com/v1/loader/example.js" async>< script>
2. Copy your embed code
Copy the embed code that was generated when you published your embed:
We recommend adding the Supascribe Script immediately before your site's closing </body>
tag or in your footer. This only needs to be added once to your site. If the script tag is already present, you do not need to add it again.
3. Add the embed to your WordPress site
Option A: Using a Custom HTML Block (Recommended)
- Log into your WordPress admin dashboard
- Edit the page or post where you want to add the embed
- Add a new block and search for "Custom HTML"
- Paste your embed code into the Custom HTML block
- Update or publish the page to make the changes live
Option B: Using a Code Snippets Plugin
- Install a code snippets plugin like "Code Snippets" or "Insert Headers and Footers"
- Add the script tag to your site's footer or before the closing
</body>
tag (only once) - Use the embed div in any Custom HTML block where you want the form to appear
Option C: Using Theme Customizer
- Go to Appearance > Customize in your WordPress admin
- Navigate to Additional CSS or Footer Scripts
- Add the script tag to the footer scripts section or before the closing
</body>
tag - Use the embed div in your content areas
Troubleshooting
Embed not showing up?
- Make sure you've added the script tag before the closing
</body>
tag - Check that your embed ID is correct
- Try refreshing the page and clearing your browser cache
- Ensure your theme allows custom HTML blocks
Styling issues?
- The embed is fully customizable within your Supascribe Embed Dashboard
- Some themes may override embed styles - check your theme's CSS
Plugin conflicts?
- Disable other plugins temporarily to identify conflicts
- Try adding the script in a different location (header vs footer)
Need Help?
If you're stuck or need help implementing Supascribe on your WordPress site, feel free to reach out using our live chat or contact me directly.
Explore More Features
Subscribe Embed
Add an email capture form to Squarespace, WordPress, Shopify, or any website.
Feed Embed
Show your latest newsletter issues directly on your site with one line of code.
Popup Modal Embed
Track views, conversions, and subscriber growth from your embeds.
Request an Embed
Got an idea on what we could build next? Get in Touch!