DigiBlocks includes powerful newsletter integration capabilities that allow you to connect your Newsletter blocks directly with popular email marketing platforms. This integration enables visitors to subscribe to your mailing lists seamlessly without leaving your website.
Supported Newsletter Platforms
DigiBlocks supports integration with six major email marketing platforms:
- MailChimp – Popular email marketing service with robust automation features
- ActiveCampaign – Advanced email marketing and customer experience automation
- Brevo (formerly Sendinblue) – All-in-one digital marketing platform
- Klaviyo – E-commerce focused email and SMS marketing platform
- ConvertKit – Creator-focused email marketing platform
- MailerLite – Simple and affordable email marketing solution
How Newsletter Integration Works
When you configure a newsletter platform in DigiBlocks settings, any Newsletter block on your website will automatically connect to your chosen service. Visitors who submit the newsletter form will be added directly to your specified mailing list or audience.
The integration handles:
- Email validation and verification
- Duplicate subscriber prevention
- Error handling and user feedback
- Optional double opt-in processes
- Tag assignment for subscriber segmentation
General Setup Process
Before configuring any specific platform, follow these general steps:
- Navigate to DigiBlocks > Settings in your WordPress dashboard
- Scroll down to the Newsletter Settings section
- Select your preferred platform from the dropdown menu
- Configure the platform-specific settings that appear
- Save your settings
- Test the integration using a Newsletter block
MailChimp Configuration
MailChimp is one of the most popular email marketing platforms. Here’s how to set it up with DigiBlocks:
Getting Your MailChimp Credentials
- Log in to your MailChimp account
- Navigate to Account > Extras > API keys
- Click Create A Key to generate a new API key
- Copy the generated API key for use in DigiBlocks
Finding Your Audience ID
- Go to Audience > All contacts in MailChimp
- Click Settings and then Audience name and defaults
- Look for the Audience ID in the right sidebar
- Copy this ID for use in DigiBlocks settings
DigiBlocks Configuration
- Set Newsletter Platform to MailChimp
- Enter your MailChimp API Key in the designated field
- Enter your Audience ID
- Tags (Optional): Add comma-separated tags to automatically assign to new subscribers
- Double Opt-in: Enable this if you want subscribers to confirm their email address before being added to your list
MailChimp Settings Summary
- API Key: Required for authentication with MailChimp
- Audience ID: Specifies which mailing list to add subscribers to
- Tags: Optional tags for subscriber segmentation
- Double Opt-in: Requires email confirmation before subscription is complete
ActiveCampaign Configuration
ActiveCampaign offers advanced automation features and requires both an API URL and API key for integration.
Getting Your ActiveCampaign Credentials
- Log in to your ActiveCampaign account
- Go to Settings > Developer
- Copy your API URL (usually in format:
https://youraccountname.api-us1.com
) - Copy your API Key from the same page
Finding Your List ID
- Navigate to Lists in your ActiveCampaign dashboard
- Click on the list you want to use
- The List ID will be visible in the URL or list details
- Copy this ID for DigiBlocks configuration
DigiBlocks Configuration
- Set Newsletter Platform to ActiveCampaign
- Enter your API URL (including https://)
- Enter your API Key
- Specify the List ID where subscribers should be added
- Tags (Optional): Add comma-separated tags for subscriber organization
Brevo (Sendinblue) Configuration
Brevo offers email marketing with additional SMS capabilities.
Getting Your Brevo API Key
- Log in to your Brevo account
- Go to SMTP & API > API Keys
- Click Generate a new API key
- Give it a name and copy the generated key
Finding Your List ID
- Navigate to Contacts > Lists in Brevo
- Click on your desired list
- The List ID will be shown in the list details or URL
- Copy this ID for configuration
DigiBlocks Configuration
- Set Newsletter Platform to Brevo
- Enter your Brevo API Key
- Enter the List ID where subscribers should be added
Klaviyo Configuration
Klaviyo is particularly popular for e-commerce businesses and integrates well with online stores.
Getting Your Klaviyo Private API Key
- Log in to your Klaviyo account
- Navigate to Account > Settings > API Keys
- Click Create Private API Key
- Copy the generated private key
Finding Your List ID
- Go to Lists & Segments in Klaviyo
- Click on your desired list
- The List ID can be found in the URL or list settings
- Copy this ID for DigiBlocks
DigiBlocks Configuration
- Set Newsletter Platform to Klaviyo
- Enter your Private API Key
- Enter the List ID for subscriber additions
ConvertKit Configuration
ConvertKit is designed specifically for content creators and online course creators.
Getting Your ConvertKit Credentials
- Log in to your ConvertKit account
- Go to Settings > Advanced
- Copy your API Key from this page
Finding Your Form ID
- Navigate to Grow > Landing Pages & Forms
- Click on the form you want to use
- The Form ID will be visible in the form settings or URL
- Copy this ID for configuration
DigiBlocks Configuration
- Set Newsletter Platform to ConvertKit
- Enter your ConvertKit API Key
- Enter the Form ID where subscribers should be added
- Tags (Optional): Add comma-separated tags for subscriber segmentation
MailerLite Configuration
MailerLite offers a user-friendly interface with powerful automation features.
Getting Your MailerLite Token
- Log in to your MailerLite account
- Go to Integrations > Developer API
- Generate a new API Token
- Copy the token for DigiBlocks configuration
Finding Your Group ID
- Navigate to Subscribers > Groups in MailerLite
- Click on your desired group
- The Group ID will be shown in the group details
- Copy this ID for configuration
DigiBlocks Configuration
- Set Newsletter Platform to MailerLite
- Enter your MailerLite Token
- Enter the Group ID where subscribers should be added
Using the Newsletter Block
Once you’ve configured your newsletter platform, you can use the Newsletter block anywhere on your website:
Adding a Newsletter Block
- Edit any page or post with the block editor
- Click the + button to add a new block
- Search for “Newsletter” or find it in the DigiBlocks category
- Click to add the Newsletter block to your content
Customizing the Newsletter Block
The Newsletter block offers several customization options:
- Title and description text
- Button text and styling
- Form field placeholder text
- Success and error messages
- Colors and typography
- Spacing and alignment
Form Behavior
When properly configured, the newsletter form will:
- Validate the email address format
- Check for existing subscribers (platform dependent)
- Add the subscriber to your specified list
- Display success or error messages
- Optionally trigger double opt-in emails
Testing Your Integration
After configuring your newsletter platform, it’s important to test the integration:
Basic Testing Steps
- Add a Newsletter block to a test page
- Publish the page and visit it on the frontend
- Enter a test email address and submit the form
- Check your newsletter platform to confirm the subscriber was added
- Verify any tags or list assignments are correct
Testing Double Opt-in
If you’ve enabled double opt-in (MailChimp):
- Use a real email address you can access
- Submit the newsletter form
- Check your email for the confirmation message
- Click the confirmation link
- Verify the subscriber appears as confirmed in your platform
Error Testing
Test error scenarios to ensure proper handling:
- Try submitting an invalid email address
- Test with an email that’s already subscribed
- Temporarily enter incorrect API credentials to test error messages
Best Practices
Security Considerations
- Store API keys securely and never share them publicly
- Use environment variables for API keys in staging/production environments
- Regularly rotate API keys for enhanced security
- Monitor API usage to detect any unusual activity
List Management
- Use descriptive tags to segment subscribers from different sources
- Set up appropriate welcome sequences for new subscribers
- Regularly clean your lists to maintain good deliverability
- Respect subscriber preferences and provide easy unsubscribe options
Form Optimization
- Keep newsletter forms simple with minimal required fields
- Use compelling copy to encourage subscriptions
- Place newsletter forms strategically throughout your site
- A/B test different form designs and copy
Compliance
- Ensure compliance with GDPR, CAN-SPAM, and other relevant regulations
- Include clear privacy policy links
- Obtain proper consent before adding subscribers
- Provide transparent information about email frequency and content
Troubleshooting Common Issues
Subscribers Not Being Added
If subscribers aren’t being added to your lists:
- Check API credentials: Verify your API key and other credentials are correct
- Verify List/Audience IDs: Ensure you’re using the correct list or audience ID
- Check platform quotas: Some platforms have rate limits or subscriber limits
- Review error logs: Check browser console for JavaScript errors
Double Opt-in Not Working
For MailChimp double opt-in issues:
- Check spam folders: Confirmation emails might be filtered
- Verify sender domains: Ensure your domain is properly authenticated
- Review MailChimp settings: Check your audience’s double opt-in configuration
- Test with different email providers: Some providers handle emails differently
Invalid API Responses
If you’re receiving API errors:
- Check API key permissions: Ensure your API key has the necessary permissions
- Verify endpoint URLs: Some platforms require specific API endpoint formats
- Review rate limits: You might be hitting API rate limits
- Check platform status: The newsletter platform might be experiencing issues
Form Styling Issues
If the newsletter form doesn’t match your site design:
- Use theme-compatible styling: Ensure your theme doesn’t override DigiBlocks styles
- Check for CSS conflicts: Other plugins might interfere with form styling
- Customize block styles: Use the block editor’s styling options
- Add custom CSS: Target specific elements with additional CSS if needed
This comprehensive setup ensures your DigiBlocks Newsletter integration works seamlessly with your chosen email marketing platform, providing a smooth subscription experience for your visitors while maintaining proper list management and compliance standards.