Linux 软件免费装
Banner图

Aplose Newsletter

开发者 oandrade
更新时间 2026年11月4日 00:39
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv3 or later
版权网址: 版权信息

标签

email newsletter gdpr mautic double-opt-in

下载

1.3.0 1.2.1

详情介绍:

Aplose Newsletter collects newsletter subscriptions on your WordPress site with a GDPR-friendly double opt-in flow, then syncs confirmed contacts to your Mautic instance. Mautic is open-source marketing automation (segments, email campaigns, lead scoring, workflows). This plugin is the WordPress signup front door; after confirmation, contacts land in the Mautic segment you choose so you can nurture and email them without a SaaS per-contact fee. Languages: English (default) and French (fr_FR) are included. The site language in Settings → General controls which translation is used. Try it: subscribe to the Aplose newsletter on https://www.aplose.fr/ (powered by this plugin). Welcome bonus: a 6-step method to create and run your business, with concrete examples. MGC Premium: WordPress and Mautic are provided on the Ma Gestion Cloud MGC Premium plan (dedicated managed hosting, no extra software licence). Caching note: if full-page caching is enabled, exclude pages that display the newsletter form so the REST nonce stays valid.

安装:

  1. Upload the plugin folder to /wp-content/plugins/ or install through the WordPress Plugins screen.
  2. Activate the plugin.
  3. Go to Aplose Newsletter → Settings.
  4. Create an OAuth2 API credential in Mautic using the Redirect URI shown in settings.
  5. Enter your Mautic URL, Client ID and Client Secret, then click Connect to Mautic.
  6. Select the target segment and save.
  7. Enable the shortcode and/or exit popup as needed.
  8. Place [aplose_newsletter] on any page, post or widget.

升级注意事项:

1.3.0 Keeps the Mautic OAuth session alive with a scheduled refresh and alerts if reconnect is required. 1.2.1 Header compliance for WordPress.org automated checks. 1.2.0 Full French / English i18n for publication. 1.1.9 Readme alignment for WordPress.org review (external services disclosure). 1.1.8 Plugin Check compliance fixes.

常见问题:

Where does the plugin send data?

Confirmation emails are sent by WordPress (wp_mail). After the visitor confirms, WordPress calls the Mautic REST API at the base URL you configured, using OAuth2 tokens stored on the server. Catalog/marketing traffic goes only to that Mautic instance — not to the plugin author's servers.

Who sends the confirmation email?

WordPress, using wp_mail. The Mautic contact is created only after the visitor confirms.

What redirect URI should I use in Mautic?

Copy the Redirect URI from Aplose Newsletter → Settings. It looks like: https://your-site.example/wp-admin/admin.php?page=aplose-newsletter&aplose_newsletter_oauth=1

Are OAuth secrets exposed to visitors?

No. The client secret and access/refresh tokens stay in WordPress options on the server. Front-end JavaScript only receives the REST URL and a WordPress REST nonce.

Can I close a browser tab and show the popup?

No. Browsers do not allow custom UI on tab close. The exit popup uses mouse leave at the top of the viewport instead.

Why do scripts load on many pages when the exit popup is enabled?

When the exit-intent popup is enabled, CSS/JS load site-wide so the popup can appear from any page. If you only use the shortcode, disable the popup and assets load only when the shortcode is rendered.

What happens when the Mautic OAuth token expires?

Access tokens are short-lived (often about one hour). The plugin refreshes them automatically: on API calls, and twice a day via a WordPress cron job so the session stays alive even if nobody opens the admin or confirms a signup. Each successful refresh stores the new refresh token when Mautic returns one. If the refresh token itself expires (for example after many days of inactivity longer than your Mautic api_oauth2_refresh_token_lifetime), automatic refresh is no longer possible. The plugin then marks OAuth as degraded, shows an admin notice, and emails the notification address (or admin_email) at most once per 24 hours. You must click Connect to Mautic again. The cron prevents this in normal use; it cannot reconnect without a human once the refresh token is dead.

Recommended Mautic OAuth lifetimes?

For hosted instances, prefer a refresh token lifetime of at least 30 days when you can configure it. The plugin cron (twice daily) keeps the session warm within whatever lifetime your Mautic instance allows.

更新日志:

1.3.0 1.2.1 1.2.0 1.1.10 1.1.9 1.1.8 1.1.7 1.1.6 1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.1 1.0.0