=== Campaign Builder - Subscription Popups, Newsletters, and Auto Responders ===
Contributors: 7thskysoftware
Tags: email marketing, newsletter, popup, subscription forms, autoresponder
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Create WordPress subscription popups, opt-in forms, subscriber lists, newsletters, welcome emails, and auto responder follow-ups from your dashboard.

== Description ==

Campaign Builder, also known as Sky Campaigns, is a WordPress email marketing and subscription campaign plugin for site owners who want to grow an email list, display opt-in popups, collect subscribers, send newsletters, and create automated follow-up emails without leaving WordPress.

Use Campaign Builder to create popup subscription forms, embed inline newsletter signup forms with a shortcode, organize subscribers by campaign, export subscriber data, send email broadcasts, and build simple auto-responder sequences for new subscribers.

The plugin is designed for bloggers, small businesses, WooCommerce stores, agencies, course creators, coaches, service providers, publishers, and WordPress site owners who need a lightweight email campaign tool inside the WordPress admin area.

Sky Campaigns stores campaign and subscriber data in your own WordPress database. Emails are sent through WordPress using `wp_mail()` by default, so your existing SMTP plugin or transactional email plugin can handle delivery. If you prefer dedicated sending settings for this plugin, you can enable the optional built-in SMTP configuration.

= Why Use Campaign Builder? =

Many WordPress site owners need a simple way to collect email subscribers, create newsletter signup forms, and send basic email campaigns without connecting a complex marketing platform immediately.

Campaign Builder gives you a practical email list building workflow inside WordPress:

* Create a subscription campaign.
* Choose a popup template.
* Customize your opt-in message and form design.
* Display the popup across your site or only on selected content.
* Collect subscribers into a campaign-specific list.
* Send a welcome email if enabled.
* Queue delayed auto responder follow-ups.
* Send newsletter broadcasts to all active subscribers or selected campaigns.
* Export subscribers when you need to use them elsewhere.

= Core Features =

* WordPress subscription popup builder.
* Inline newsletter signup forms with shortcode support.
* Multiple subscription campaigns.
* Six ready-made pop-up templates.
* Custom campaign headline, sub-headline, button text, colors, image URL, and optional first name field.
* Optional small popup note text.
* Optional privacy policy and terms agreement checkbox with custom text and page links.
* Popup display triggers, including time delay, scroll depth, exit intent, and immediate display.
* Campaign targeting for the entire site, all pages, all posts, selected pages, or selected posts.
* Subscriber management by campaign.
* Subscriber search, filtering, counts, status tracking, and CSV export.
* Optional welcome email for new subscribers.
* Campaign-specific auto responders with day and hour delays.
* WordPress cron-based auto responder queue processing.
* Newsletter drafts and manual newsletter broadcasts.
* Send newsletters to all active subscribers or selected campaigns.
* Merge tags for personalized email content.
* Newsletter unsubscribe links.
* Optional SMTP settings for Sky Campaigns emails.

= Subscription Popups for WordPress =

Campaign Builder helps you create email subscription popups that can appear on the front end of your WordPress site. Each campaign can have its own design, trigger, display rules, and subscriber list.

Use popups for:

* Newsletter signup forms.
* Lead generation campaigns.
* Blog subscription campaigns.
* Product launch email lists.
* Course waitlists.
* Service inquiry lists.
* Download or announcement opt-ins.
* Seasonal marketing campaigns.
* Store promotion subscriber lists.

= Inline Newsletter Signup Forms =

Not every signup form needs to be a popup. Campaign Builder includes a shortcode for inline subscription forms.

Use this shortcode to show a form inside posts, pages, widgets, landing pages, or supported page builders:

`[skyca_form campaign_id="1"]`

Replace `1` with the campaign ID you want to display.

Inline forms are useful for:

* Blog sidebar newsletter forms.
* Landing page opt-in sections.
* Footer subscription forms.
* Content upgrade sections.
* About page signup forms.
* Contact page newsletter forms.

= Popup Templates =

Campaign Builder includes six popup templates so you can quickly match your form to your website style.

Each campaign can use its own template, text, colors, button label, and optional image URL.

= Popup Triggers =

Choose how and when your WordPress subscription popup appears.

Available trigger types:

* Time delay in seconds.
* Scroll depth percentage.
* Exit intent.
* Immediate display.

These triggers help you show opt-in forms at more relevant moments, such as after a visitor spends time on a page, scrolls through content, or moves toward leaving the page. For more advanced triggers, you can [Upgrade to Pro](https://7thskysoftware.com/wordpress-plugins/sky-campaign-builder/)

= Campaign Display Targeting =

Campaign Builder lets you control where each campaign appears.

Campaign display options include:

* Entire Site
* All Pages
* All Posts
* Selected Pages
* Selected Posts

Selected Pages and Selected Posts include searchable pickers in the campaign editor, making it easier to show a campaign only on specific content.

Example uses:

* Show a blog newsletter popup only on posts.
* Show a product waitlist campaign only on selected landing pages.
* Show a general email subscription popup across the entire site.
* Show a category-specific lead magnet on selected pages.
* Run separate campaigns for different parts of your website.

= Subscriber Management =

Subscribers are stored in your WordPress database and linked to the campaign they joined.

The Subscribers screen lets you:

* View subscriber email addresses.
* View first names and last names when available.
* See which campaign each subscriber joined.
* Check subscriber status.
* View subscription dates.
* Search subscribers by email, first name, or last name.
* Filter subscribers by campaign.
* Review total and active subscriber counts.
* Export subscribers to CSV.

Public forms collect the email address and, when enabled, the first name field. The database also includes a last name field for merge tags, compatibility, and future/custom integrations.

= Welcome Email =

Campaign Builder can send a welcome email when a new subscriber joins a campaign.

This is optional. You can enable the welcome email for a simple confirmation message, or disable it and rely on campaign-specific auto responders instead.

From ***Campaigns > Settings > Email***, you can configure the welcome Email.

= Auto Responders =

Auto responders are delayed follow-up emails connected to a specific campaign.

Use auto responders to send:

* Welcome sequences.
* Course introduction emails.
* Lead nurture emails.
* Product education emails.
* Follow-up offers.
* Onboarding messages.
* Drip campaign messages.

Each auto responder includes:

* Campaign selection.
* Internal name.
* Email subject.
* HTML body.
* Delay in days.
* Delay in hours.
* Send order.
* Active or inactive status.

When a new subscriber joins a campaign, active auto responders for that campaign are added to the email queue. WordPress cron processes the queue hourly, up to 50 pending auto responder emails per run.

= Newsletters and Broadcast Emails =

Campaign Builder includes a newsletter screen for creating and sending broadcast emails to subscribers.

Each newsletter includes:

* Internal name.
* Email subject.
* HTML body.
* Optional campaign targeting.
* Draft or sent status.
* Sent count.
* Sent date after delivery.

You can send newsletters to:

* All active subscribers.
* Subscribers from one selected campaign.
* Subscribers from multiple selected campaigns.

If no campaign is selected, the newsletter sends to all active subscribers. Newsletters are sent when you choose Send Now or Save & Send Now.

= Unsubscribe Links =

Newsletter emails include an unsubscribe link. When a subscriber uses that link, Campaign Builder marks matching active subscriber records for that email address as unsubscribed and stores an unsubscribe date.


= Campaign Builder Pro =

[Campaign Builder Pro](https://7thskysoftware.com/wordpress-plugins/sky-campaign-builder/), also known as Sky Campaigns Pro, adds advanced popup targeting, visitor behavior triggers, frequency controls, scheduling options, and CRM integrations.

Pro features include:

* Marketing popup templates for discounts, coupons, sales, offers, campaigns, and announcements.
* Pro template preview support in the campaign editor.
* Template-aware customization fields for Pro templates.
* Click selector trigger.
* Hover selector trigger.
* User inactivity trigger.
* Page views trigger.
* Referrer targeting trigger.
* Returning visitor trigger.
* Popup frequency controls.
* Display every trigger fire.
* Show once per browser session.
* Hide after subscribing.
* Custom day and show limits.
* Multiple pop-up schedules.
* Start date and end date **scheduling** with Active weekday rules.
* Additional Pro popup templates: Discount, Coupon, Sales, Offer, Campaign, and Announcement.
* Compatibility with core optional popup note text.
* Compatibility with core privacy policy and terms agreement checkbox.
* Brevo, Mailchimp, HubSpot, ActiveCampaign, ConvertKit & other CRM integrations.
* Custom webhook integration.
* Pro license activation and automatic update checks.

= Who Is Campaign Builder For? =

Campaign Builder is useful for WordPress users who want a straightforward way to build and manage email subscription campaigns.

It can be used by:

* Bloggers building a newsletter list.
* Small businesses collecting leads.
* Agencies setting up client opt-in forms.
* WooCommerce stores building promotion lists.
* Coaches and consultants collecting inquiries.
* Course creators building waitlists.
* Publishers growing an audience.
* Local businesses collecting customer emails.
* Creators sending updates to followers.

= Common Use Cases =

Use Campaign Builder to create:

* WordPress newsletter signup forms.
* Email subscription popups.
* Blog subscriber campaigns.
* Lead generation popups.
* Auto responder email sequences.
* Welcome email campaigns.
* Product announcement lists.
* Course launch waitlists.
* Manual email newsletters.
* Subscriber export workflows.
* Campaign-specific email lists.

== Installation ==

1. Upload the `sky-campaigns` folder to `/wp-content/plugins/`, or install the plugin ZIP from Plugins > Add New > Upload Plugin.
2. Activate Campaign Builder / Sky Campaigns from the WordPress Plugins screen.
3. Open Campaigns in the WordPress admin menu.
4. Go to Campaigns > Campaigns and create a campaign.
5. Choose a popup template.
6. Edit the campaign headline, sub-headline, button text, colors, and optional image URL.
7. Choose whether the campaign should ask for a first name.
8. Select the display location, such as Entire Site, All Pages, All Posts, Selected Pages, or Selected Posts.
9. Choose a popup trigger, such as time delay, scroll depth, exit intent, or immediate display.
10. Configure sender details, optional welcome email, optional SMTP, and other settings from Campaigns > Settings.
11. Use the popup automatically for active campaigns, or embed an inline form with `[skyca_form campaign_id="1"]`.

== Frequently Asked Questions ==

= What does Campaign Builder do? =

Campaign Builder helps you create WordPress subscription popups, inline newsletter signup forms, subscriber lists, welcome emails, auto responder follow-ups, and newsletter broadcasts from the WordPress dashboard.

= Is Campaign Builder the same as Sky Campaigns? =

Yes. Campaign Builder is the plugin name, and Sky Campaigns is the product branding used inside the plugin and Pro upgrade materials.

= Can I create email subscription popups in WordPress? =

Yes. You can create popup campaigns, choose a template, customize the text and colors, and display the popup on the front end of your WordPress site.

= Can I create an inline newsletter signup form? =

Yes. Use the shortcode `[skyca_form campaign_id="1"]` and replace `1` with your campaign ID.

= Can I create more than one campaign? =

Yes. You can create multiple campaigns and track subscribers separately for each campaign.

= Can I show different campaigns on different pages? =

Yes. Campaign display options include Entire Site, All Pages, All Posts, Selected Pages, and Selected Posts. Selected Pages and Selected Posts include searchable pickers in the campaign editor.

= Which popup triggers are included in the free version? =

The free version includes time delay, scroll depth, exit intent, and immediate display triggers.

= Which popup triggers are included in Pro? =

Campaign Builder Pro adds click selector, hover selector, user inactivity, page views, referrer targeting, and returning visitor triggers.

= Which popup templates are included in Pro? =

Campaign Builder Pro adds Discount Popup, Coupon Popup, Sales Popup, Offer Popup, Campaign Popup, and Announcement Popup templates.

= Do Pro templates support the optional note and privacy / terms checkbox? =

Yes. Pro templates work with the core optional note text and privacy policy / terms agreement checkbox settings.

= Does Campaign Builder send email through an external service? =

No external email marketing service is required. Campaign Builder sends email using WordPress `wp_mail()` by default. If your site uses an SMTP or transactional email plugin, Campaign Builder emails can use that existing configuration.

= Does Campaign Builder include SMTP settings? =

Yes. The optional SMTP tab lets you configure SMTP credentials specifically for Sky Campaigns emails. You can leave this disabled if your site already handles mail through another SMTP plugin or your hosting provider.

= Can I send a welcome email to new subscribers? =

Yes. You can enable or disable the welcome email from Campaigns > Settings > Email.

= Can I create auto responder emails? =

Yes. Auto responders are campaign-specific delayed emails. You can set the subject, body, delay in days, delay in hours, send order, and status.

= How are auto responders sent? =

When a new subscriber joins a campaign, active auto responders for that campaign are queued. WordPress cron processes pending auto responder emails hourly.

= Can I send newsletters from WordPress? =

Yes. You can create newsletter broadcasts and send them manually to all active subscribers or to selected campaigns.

= Can newsletters be scheduled automatically? =

Not in the current version. A scheduled date field can be saved, but newsletter delivery happens when you click Send Now or Save & Send Now.

= Can I send a newsletter to only one campaign? =

Yes. Select one campaign while editing the newsletter. You can also select multiple campaigns. If no campaign is selected, the newsletter sends to all active subscribers.

= Does Campaign Builder include unsubscribe links? =

Yes. Newsletter emails include unsubscribe links. When used, the subscriber record is marked as unsubscribed.

= Can I export subscribers? =

Yes. The Subscribers screen includes CSV export. You can export all subscribers or subscribers filtered by campaign.

= Can subscribers join the same campaign more than once? =

No. Email addresses are unique per campaign. If a previously unsubscribed email subscribes again to the same campaign, the record is reactivated.

= Does the plugin support merge tags? =

Yes. Supported merge tags are `{{first_name}}`, `{{last_name}}`, `{{email}}`, `{{blog_name}}`, `{{blog_url}}`, and `{{date}}`.

= Does Campaign Builder track email opens and clicks? =

No. Open and click tracking is not implemented in the current user-facing plugin behavior.

= Does the free plugin connect to Mailchimp, Brevo, HubSpot, ActiveCampaign, or ConvertKit? =

CRM integrations are part of Campaign Builder Pro. The Pro version supports Brevo, Mailchimp, HubSpot, ActiveCampaign, ConvertKit, and custom webhooks when configured and licensed.

= Where is subscriber data stored? =

Subscriber data is stored in your WordPress database.

= Is Campaign Builder suitable for WooCommerce stores? =

Yes. WooCommerce store owners can use Campaign Builder to collect promotion subscribers, product launch interest, newsletter signups, and customer email lists. The plugin is not limited to WooCommerce and can also be used on blogs, business sites, landing pages, and content websites.

= Is there a Pro version? =

Yes. Campaign Builder Pro adds marketing popup templates, advanced popup triggers, frequency controls, multiple popup schedules, CRM integrations, license activation, and automatic Pro update checks. Learn more at https://7thskysoftware.com/wordpress-plugins/sky-campaign-builder/.

== Screenshots ==

1. Campaign Builder dashboard with campaign, subscriber, auto responder, and newsletter totals.
2. Campaign list showing template, trigger, subscriber count, status, and campaign actions.
3. Campaign editor with popup template selection, display targeting, form text, colors, image URL, and trigger settings.
4. Subscriber management screen with campaign filtering, search, counts, subscriber status, and CSV export.
5. Auto responder editor with campaign selection, delay settings, send order, status, email subject, and message body.
6. Newsletter editor with campaign targeting, subject field, email body, scheduled date field, and send actions.
7. Settings screen with sender details, optional welcome email, optional SMTP settings, Pro configuration, merge tag picker, and shortcode reference.
8. Upgrade screen showing Campaign Builder Pro features including advanced triggers, frequency controls, scheduling, and CRM integrations.
9. Support screen with community support, developer support, documentation links, and review options.

== Changelog ==

= 1.0.2 =
* Added campaign display options for Entire Site, All Pages, All Posts, Selected Pages, and Selected Posts.
* Added searchable selected page and selected post pickers.
* Added Pro popup template upsells for Discount, Coupon, Sales, Offer, Campaign, and Announcement templates.
* Added optional popup note text and optional privacy policy / terms agreement checkbox settings.
* Added campaign status toggles in the campaign editor and campaign list.
* Added Pro license pricing options to the Upgrade to Pro page.
* Updated Pro feature information for Pro templates, licensing, updates, and core note/privacy compatibility.
* Added Pro upsells for advanced triggers, popup frequency controls, scheduling, and CRM integrations.
* Added an Upgrade to Pro page linking to the Sky Campaign Builder Pro page.
* Added optional welcome email setting so users can use auto responders instead.
* Added optional Sky Campaigns SMTP settings while preserving normal WordPress mail and plugin SMTP behavior by default.
* Fixed settings saving for new email, SMTP, and Pro configuration fields.
* Fixed the Auto Responders list so All Campaigns shows all auto responders.
* Fixed Dashboard Recent Subscribers display.

= 1.0.1 =
* Added a merge tag picker modal for confirmation emails, auto responders, and newsletters.
* Added tag icon controls beside email subject fields and in WordPress editor toolbar areas.
* Improved the email editing workflow by inserting selected merge tags into the active subject or body field.
* Added a custom Sky Campaigns admin footer review link on plugin admin pages.

= 1.0.0 =
* Initial public release.

== Upgrade Notice ==

= 1.0.2 =
Adds campaign display targeting, optional welcome email, optional SMTP settings, Pro upgrade information, and fixes settings saving plus dashboard and auto responder list behavior.
