=== ActiveTrail - Contact Form 7 ===
Contributors: activetrailteam
Donate link: https://activetrail.com
Tags: activetrail, contactform7, contact form 7, cf7
Requires at least: 4.7.0
Tested up to: 7.0.2
Stable tag: 1.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

The official ActiveTrail email and multichannel marketing automation integration for Contact Form 7.

== Description ==

Connect your Contact Form 7 (CF7) forms to your ActiveTrail account and turn website visitors into engaged subscribers.

ActiveTrail is a multichannel marketing automation platform trusted by more than 10,000 businesses worldwide. It brings email, SMS, WhatsApp, and push notifications together with a visual automation builder, so you can create a single journey that reaches each contact on the right channel at the right time.

This official integration links the CF7 forms on your website, online store, or blog directly to your ActiveTrail account. Every submission can create a new contact, update an existing one, and add subscribers to the right lists and groups automatically, ready for your campaigns and automations.

Setup takes just a few minutes: add your ActiveTrail API token to a form, map your form fields to your ActiveTrail contact fields, and you are ready to start collecting subscribers.

== Compliance ==

ActiveTrail is fully GDPR compliant, and all data is stored on our EU-based servers. ActiveTrail is also ISO 27001 certified for information security.

== Terms and Conditions ==

You can find ActiveTrail's Terms & Conditions here: https://www.activetrail.com/terms-and-conditions/

= Why use the ActiveTrail - Contact Form 7 plugin? =

1. Quick and simple to set up, with a fast installation.
1. Enjoy all the benefits and capabilities of the popular Contact Form 7.
1. A secure, user-friendly integration that will not slow down your website.

= What can you do with the CF7 to ActiveTrail plugin? =

* Connect the CF7 signup forms on your website and blog to your ActiveTrail account.
* Automatically add new subscribers to your contact lists and groups.
* Reach your subscribers across email, SMS, WhatsApp, and push notifications.
* Send newsletters, email campaigns, autoresponders, and surveys.
* Design and run multichannel marketing automations from a single visual builder.

= Integrate Contact Form 7 with ActiveTrail in three easy steps =

1. Add the ActiveTrail panel to your CF7 forms.
1. Collect subscribers.
1. Use ActiveTrail to send them beautiful, multichannel campaigns.

[Start your free 30-day ActiveTrail trial - no credit card required](https://signup.activetrail.com/signup/?utm_source=wp.org-newplugin&utm_medium=newwpplugin&utm_content=signup&utm_campaign=wppagenew "Sign up for a free ActiveTrail account")

[Visit the ActiveTrail website](https://www.activetrail.com/?utm_source=wp.org-newplugin&utm_medium=newwpplugin&utm_content=homepage&utm_campaign=wppagenew "Visit the ActiveTrail website")

== What You Can Do With ActiveTrail ==

* Reach your audience on email, SMS, WhatsApp, and mobile push, all from one platform.
* Manage your contact lists and segment your contacts into auto-updating groups.
* Personalize your emails and messages for targeted, results-driven campaigns that increase engagement.
* Build multichannel automation flows and funnels with a drag-and-drop visual builder, with no coding required.
* Choose from 850+ professional, mobile-responsive email templates, and improve results with built-in A/B testing.
* Create landing pages, signup forms, popups, and surveys to capture and convert leads.
* Recover abandoned carts, recommend products, and re-engage customers with e-commerce automations.
* Reach the inbox with strong deliverability, backed by SPF, DKIM, and automatic bounce management.

Contact us:
Found a bug, or have a suggestion for improving our WordPress integration? We would love to hear from you at Support@activetrail.net.

Visit [ActiveTrail](https://www.activetrail.com "ActiveTrail Website").

== Installation ==

This section describes how to install the plugin and get it up and running. For more detailed instructions, see ActiveTrail's guide, "How to install and use the ActiveTrail plugin for WordPress CF7."

1. Log in to your WordPress admin and go to Plugins.
1. Either search for "ActiveTrail" on the "Add New" tab, or upload the ActiveTrail ZIP file to your WordPress plugin directory.
1. Install the plugin and activate it from the Plugins section of your WordPress admin.
1. Your Contact Form 7 forms can now be connected to ActiveTrail.
1. Next, you will need your personal API token. In your ActiveTrail account, go to the "More" tab > Integrations > API > Apps > New.
1. To connect a form to your ActiveTrail account, enter your Token ID in the field labeled "Add token id" in the form's ActiveTrail settings.

* You can use the same Token ID for all of your CF7 forms.

Read our simple installation guide at:
https://www.activetrail.com/integrations/learning/guides/contact-form-7-plugin/

For additional help or any questions, please contact [ActiveTrail support](https://www.activetrail.com/contact/ "ActiveTrail support").

== Screenshots ==

1. In ActiveTrail, open Integrations &rarr; API Keys to view and manage your API tokens.
2. Reach the screen from the main menu: Integrations &rarr; API &rarr; API Keys.
3. Click New and enter a name and description to create a new API app.
4. Copy your Access Token &ndash; ActiveTrail shows it only once, so store it safely, then paste it into the plugin's API token field.

== Changelog ==

= 1.5 =
* New: Tracking Consent and Subscription Status are now controlled per contact instead of a single fixed value for the whole form. Map each to a Contact Form 7 checkbox tag - when a visitor checks it, "Approved"/"Subscribed" is sent for their contact; when left unchecked, "Blocked"/"Not opt-in" is sent. Leave the mapping blank to send nothing, same as if the setting were never configured.

= 1.4 =
* Security: All requests to the ActiveTrail API now use HTTPS.
* Fix: Corrected the "do not mail" flag so it is sent reliably with each contact.
* Fix: International phone numbers keep their country code (a leading "+" or "00") instead of being treated as local Israeli numbers.
* Fix: Mapped ActiveTrail custom fields are now sent under the correct field key, so forms that use custom fields sync again.
* Fix: Duplicating a form now copies its ActiveTrail settings to the new form instead of leaving them blank.
* Fix: Removed a broken background image that could corrupt the ActiveTrail settings tab.
* New: The settings panel now opens with just the API token and a Connect button; an invalid token shows a clear "Invalid API key" message immediately, and the rest of the settings only appear once the token is confirmed to work.
* New: Group and Mailing List are now searchable dropdowns showing the actual ActiveTrail names, instead of requiring the numeric ID to be typed in by hand - so an invalid or mistyped Group/Mailing List ID is no longer possible.

= 1.3 =
* Fix: Duplicating a form no longer triggers an error screen. The save routine now exits quietly when it runs outside the ActiveTrail settings panel (for example during Duplicate, bulk actions, or programmatic saves).

= 1.2 - February 12, 2025 =
* New: Support for forms that collect a mobile number only, with no email field.
* New: Support for accounts that use an External ID identifier.
* Compatibility: Tested with the latest version of WordPress.

= 1.1.5 - March 11, 2024 =
* Fix: Corrected the plugin name shown in the readme.

= 1.1.4 - March 11, 2024 =
* Change: Updated handling of the Contact Form 7 form ID field.

= 1.1.3 - October 5, 2023 =
* Fix: The phone number field now accepts hyphens ("-") and submits the number without them.
* Compatibility: Tested with the latest version of WordPress.

= 1.1.2 - August 19, 2022 =
* Compatibility: Tested with the latest version of WordPress core.

= 1.1.1 - May 17, 2021 =
* Fix: Resolved an issue with optional field mapping.

= 1.1 - April 21, 2021 =
* New: Added a Mailing List ID field.

= 1.0.4 - January 30, 2020 =
* Fix: General maintenance hot fix.

= 1.0.3 - January 26, 2020 =
* Fix: General bug fix.

= 1.0.2 - December 30, 2019 =
* Security: Security improvements.

= 1.0.1 - June 14, 2017 =
* First public release.
