=== User Sync ActiveCampaign === Plugin Name: User Sync ActiveCampaign Short Description: The User Sync ActiveCampaign plugin for WordPress automatically syncs registered users to your ActiveCampaign lists, offering both auto-sync and custom-trigger options for greater control. With support for multiple user roles and customizable hooks and filters, it’s perfect for marketers and developers looking to streamline user data management. Simply set your API URL, API Key, and List ID, and keep your ActiveCampaign contacts up-to-date effortlessly. Version: 1.3.2 Author: Pravin Durugkar Author URI: https://profiles.wordpress.org/pravind Text Domain: rus-activecampaign Tags: Active Campaign, Sync Registered Users, Sync Users Active Campaign, activecampaign, synchronization Requires at least: 4.2 Tested up to: 6.6.2 Stable tag: tags/1.3.2 Contributors: pravind, eppu License: GPLv3 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html Sync WordPress registered users to ActiveCampaign lists automatically with robust, flexible control options. == Description == The Registered User Sync ActiveCampaign plugin is a powerful tool that simplifies the process of syncing your WordPress registered users with ActiveCampaign lists. Whether you want automatic syncing or more control with custom triggers, this plugin provides a flexible and reliable solution to keep your user data updated in real time. Ideal for marketers, administrators, and developers, this plugin ensures that your ActiveCampaign contacts are always aligned with your WordPress user base. === 🗝️ Key Features === * Automatic User Sync: Seamlessly sync registered WordPress users to your chosen ActiveCampaign list with minimal setup. Just select your List ID, toggle the sync option, and let the plugin do the work. * Custom Triggers: Use custom triggers to add, edit, or delete users in ActiveCampaign at specific times, giving you complete control over when and how data is sent. * Multi-Role Support: Choose which WordPress user roles you want to sync, making it easy to include only relevant user groups. * Developer-Friendly Hooks and Filters: Extend functionality with a range of hooks and filters, allowing for advanced customizations. == Support == Hey guys If you like this plugin you can buy me a coffee here. [Buy Coffee](https://www.buymeacoffee.com/pravind) == Documentation == [Please follow for Docs..](https://pravd.github.io/Registered-User-Sync-ActiveCamapign/) === Requirements === * ActiveCampaign Account * API URL * API key * List Id if you need to sync the data with different list. === Hooks === The plugin includes multiple hooks to provide enhanced control over data synchronization with ActiveCampaign, allowing developers to customize the plugin’s behavior. ==== Filters ==== * `rusac_fetch_api_details` Customize the API details used by the plugin. * `rusac_load_settings` Modify settings when they are loaded by the plugin. * `rusac_fetch_registered_user_data` Adjust the data fetched for each registered user. * `rusac_user_query_args` Customize query arguments for user data retrieval. ==== Actions === * `rusac_before_send_data_to_ac` Triggered before user data is sent to ActiveCampaign. * `rusac_after_sent_data_to_ac` Triggered after user data is successfully sent to ActiveCampaign. ==== Custom Triggers === * `rusac_add_new_address` Trigger to add a new user address in ActiveCampaign. * `rusac_edit_address` Trigger to update an existing user address in ActiveCampaign. * `rusac_delete_address` Trigger to delete a user address from ActiveCampaign. These hooks and triggers make it easy to integrate the plugin with custom workflows and extend its functionality as needed. = Why Choose Registered User Sync ActiveCampaign? = == Registered User Sync ActiveCampaign is the ultimate solution for: == * Automatically adding your registered WordPress users to ActiveCampaign lists, keeping your contacts current and organized. * Syncing multiple WordPress user roles with ActiveCampaign, giving you complete control over which users are included in your campaigns. * Simplifying user data management with robust automation, saving you time and effort in keeping contacts up-to-date. = Usage = Use custom trigger (action to register user on ActiveCampaign) * do_action( 'rusac_add_new_address' , $user_id ); Use custom trigger (action to Edit user on ActiveCampaign) * do_action( 'rusac_edit_address' , $user_id ); Use custom trigger (action to Delete user on ActiveCampaign) * do_action( 'rusac_delete_address' , $user_id ); Use Auto Sync option * Go to plugin's settings and set Sync option On. = Settings = The following settings can be configured for the Registered User Sync ActiveCampaign plugin: * **API URL** Enter the API URL from your ActiveCampaign account to connect the plugin with ActiveCampaign. * **API KEY** Provide the API Key from your ActiveCampaign account for secure access. * **List ID** Enter the List ID from ActiveCampaign where registered users will be synced. * **Auto Sync** Toggle between **On** and **Off** to enable or disable automatic syncing of users to ActiveCampaign. * **Number of Users to Sync** Specify how many users should be synced in one go (batch size) for optimized performance. * **Default User Tags** Enter default tags that will be applied to users once they are synced with ActiveCampaign. * **Allowed User Roles to Sync** Choose which WordPress user roles should be synced with ActiveCampaign, providing control over which users are included. * **Schedule Sync** Set the interval (in minutes) for the sync loop to run, determining how often user data is synced. * **Debug Mode** Toggle **On** or **Off** to enable or disable debugging for error tracking during synchronization. == Screenshots == 1. Settings - Admin Interface == Installation == 1. Upload the contents of `/registered-user-sync-activecampaign/` to the `/wp-content/plugins/` directory 2. Activate Registered User Sync ActiveCampaign through the 'Plugins' menu in WordPress == Frequently Asked Questions == = Is Active Campaign account Required? = Yes = What does this plugin do? = This plugin adds feature to sync already registered users to the "Active Campaign" = Can the synchronization process be controlled? = Yes there are various settings to control the synchronization process. = Can I choose which users to be synced according to their user roles? = Yes, the plugins lists all of the user roles in the wordpress website and allows you to control which users to get synced with "Active Campaigns" = How to generate Active Campaign API credentials? = You can follow this [link..](https://help.activecampaign.com/hc/en-us/articles/207317590-Getting-started-with-the-API) == Changelog == = 1.3.1 = Release Date: August 7th, 2021 * Tested the plugin in new Wordpress = 1.2.9 = Release Date: March 31st, 2020 * added feature to support translations (Internationalizations) = 1.2.8 = Release Date: March 31st, 2020 * Added new custom triggers to delete contact on active campaign * Added translations to error messages * Tested on Wordpress 5.3 = 1.2.5 = Release Date: January 16th, 2020 * Fixed Deprecated issues for Wordpress 5.3 = 1.2.4 = Release Date: January 6th, 2020 * Fixed bugs in PHP7.3 = 1.2.3 = Release Date: December 6th, 2019 Improvements: * Added filters to extend the functionality Bugfixes: * Tested the plugin with wordpress 5.3.2 version = 1.2.2 = Release Date: December 6th, 2019 Improvements: * Added FAQ to help users in setup the plugin Bugfixes: * Tested the plugin with wordpress 5.3 version = 1.2 = Release Date: April 26th, 2019 Bugfixes: * Error on variable rusac_sync_schedule * Tested the plugin with wordpress 5.1.1 version = 1.1.6 = Release Date: November 20th, 2018 Enhancements: * Adds the debug window to debug the requests and results of the API * Adds new settings. * Adds the tag removal function. If any of contact needed to remove tags in the ActiveCampaign. Bugfixes: * Fixes a bug where the profile update trigger were unable to update the profile in ActiveCampaign. * Fixes a bug where the profile update custom triggers were unable to update the profile in ActiveCampaign. = 1.1.5 = Release Date: Octomber 20th, 2018 Enhancements: * Adds the debug window to debug option * Adds new settings for debug. * Adds the email change hook for updating existing user in ActiveCampaign. Bugfixes: * Fixes the user edit bug.