Sendigram for WooCommerce

By Sendigram

0+ active installationsVersion 1.0.0

Sync WooCommerce customers and their purchase data to Sendigram contacts with the right subscription status.

Description

Sendigram for WooCommerce is the official WooCommerce plugin of Sendigram, developed and maintained by Sendigram Pty Ltd, the company that operates the Sendigram email marketing platform. It keeps the customers of your store in sync with your Sendigram contacts, each with the subscription status the customer chose, and sends their purchase data to Sendigram.

Features

  • One-click connection — paste the API key from the WooCommerce integration page of your Sendigram account; the key is verified, stored on your server and only ever shown masked.
  • Subscription checkbox — on the classic checkout, the Checkout block, the registration form and in My Account → Account details, with configurable text and default state.
  • Correct subscription status — customers who tick the box become active contacts; customers who did not are left out or added as suppressed, as you choose. A contact who already subscribed in Sendigram is never downgraded by an order.
  • Automatic sync — registrations, profile and address changes, orders, refunds and subscription changes reach Sendigram in the background, optionally into a contact group.
  • Checkout does not wait for Sendigram — changes are queued and sent after the page is delivered; on servers that cannot finish the response early, the request that queued the change waits at most about 3 seconds and the rest is sent in the background (Action Scheduler). Nothing is lost when Sendigram cannot be reached: the queue is retried with increasing delays.
  • Purchase data in Sendigram — each contact gets facts computed in your store: orders count, total spent, last order (number, status, products, amounts), product categories and the dates of the latest store events. In your Sendigram account you choose which of them become contact fields.
  • Sending existing customers — one button sends registered customers and guest buyers in batches, with progress, cancellation and a final Created / Updated / Skipped / Failed summary.
  • Privacy tools — suggested privacy policy text, export of the stored consent, and optional deletion of the Sendigram contact when a customer’s personal data is erased.

A Sendigram account (free or paid) with an API key is required. You can create one at ems.sendigram.com/signup.

External services

This plugin connects to the Sendigram API, operated by Sendigram Pty Ltd, at https://ems.sendigram.com by default (the URL can be changed in the plugin settings). It is required for everything the plugin does — the plugin is an integration client for this service.

What is sent, and when:

  • API key verification — when you save the connection settings or click “Check connection”, the API key is sent to Sendigram to verify it.
  • Contact groups — when you open the Contacts settings (cached for ten minutes) or click “Refresh group list”, the plugin fetches your contact groups.
  • Customer data — when a customer registers, edits their profile or address, places or changes an order, or changes the subscription choice in My Account, the plugin queues the customer and sends, in batches of up to 50 customers, each customer’s email address, first and last name, country, city and subscription status, and the group you selected. With “Only customers who subscribed”, customers without consent are not sent.
  • Purchase data — when an order is created, changed or refunded, the plugin sends, together with the customer data above, facts computed from the customer’s orders: orders count, total spent, average order value, first and last order dates, the last order’s number, status, products, amounts, currency, coupon, shipping and payment method names and My Account link, product categories, and the dates of the customer’s latest store events (order placed, status changed, refund, profile updated, subscribed, unsubscribed). Individual orders are not sent and Sendigram stores no orders. Customers who are not sent as contacts are never sent — with “Only customers who subscribed”, customers who have not consented stay in your store. Values of custom order or customer fields are sent only for the fields you selected in Sendigram.
  • Store status — every 20 minutes by default (Sendigram can set a longer or shorter interval, never under 10 minutes), the plugin sends the store URL and name, currency, plugin/WooCommerce/WordPress/PHP versions, the secret Sendigram uses to wake the store, the number of queued customers and the age of the oldest one, and once a day the names (not values) of custom order and customer fields, and receives its settings and commands.
  • Existing customers — when you send existing customers, the customer data above (without purchase data) is sent for your registered customers and guest buyers in batches; purchase data and event dates are added from each customer’s next order, registration, profile or subscription event.
  • Wake-up calls — while queued changes wait, Sendigram calls POST /wp-json/sendigram-wc/v1/wake on your site at most every 10 minutes, authenticated by a shared secret; the plugin then sends the queue. The call carries no customer data.
  • Unlinking — when a customer account or a guest buyer’s last order is deleted, the plugin tells Sendigram to unlink the contact from your store; the contact itself is not deleted. When the sync is turned back on after a pause, the plugin sends its customers again and Sendigram unlinks the contacts your store no longer has.
  • Contact deletion — only if you enable it: when a customer’s personal data is erased with the WordPress privacy tools, the plugin asks Sendigram (through the integrations API) to delete the contact with that email address.

Nothing is sent before you enter an API key or on activation, and no telemetry or analytics are collected. All requests go only to the Sendigram URL configured in the plugin settings (paths /open-api/v1 and /integrations-api/woocommerce).

Sendigram terms and privacy policy: Terms of Use, Privacy Policy.

Development

The JavaScript shipped in assets/build/ is a production build made with @wordpress/scripts (wp-scripts build). The corresponding unminified sources are included in the plugin package under assets/src/.

Installation

  1. Make sure WooCommerce 9.0 or newer is installed and active.
  2. Install the plugin from the WordPress.org directory (or upload the ZIP via Plugins → Add New → Upload Plugin) and activate it.
  3. In your Sendigram account, open the WooCommerce integration page and generate an API key.
  4. In WordPress, open WooCommerce → Settings → Sendigram, paste the API key and save. The status changes to “Connected”.
  5. In the Contacts section, choose the contact group, which customers to sync and where the subscription checkbox appears.
  6. Optionally, send your existing customers in the Existing customers section.

FAQ

Do I need a Sendigram account?

Yes. The plugin is an integration with the Sendigram platform, so a Sendigram account (free or paid) with an API key is required.

Which customers are sent to Sendigram?

By default only customers who ticked the subscription checkbox. With “All customers”, customers without consent are added as suppressed contacts: they are in your Sendigram account but receive no marketing email. An existing Sendigram contact keeps its status unless the customer explicitly subscribes or unsubscribes in your store. Purchase data follows its customer: with “Only customers who subscribed”, nothing about customers who have not consented is sent.

Does the plugin slow down checkout?

No. Checkout and registration only queue the change; it is sent to Sendigram after the page has been delivered, or later in the background. If Sendigram cannot be reached, it is retried later.

Does it work with the Checkout block?

Yes. The subscription checkbox is available on both the classic checkout and the Checkout block, and both record the customer’s choice the same way. The “Checked by default” option applies to the classic checkout and the registration form only; the Checkout block always shows the checkbox unticked.

Where is my API key stored?

On your server, in the WordPress options table. It is never returned to the browser in clear text — the settings show only its last four characters. When you change the Sendigram URL, the saved key is removed and must be entered again, so it is never sent to a server you have not confirmed.

What happens when I uninstall the plugin?

Deactivation keeps all settings. While the plugin is inactive nothing is sent to Sendigram and pending background jobs do not run. Uninstalling (deleting the plugin) removes the plugin’s options, the cached groups, the consent stored for your customers, the sync queue and the plugin’s pending background jobs. The consent recorded on past orders is kept as part of the order history.

Screenshots

Changelog

1.0.0

  • First public release.