Segmentflow Connect
Segmentflow Connect
Description
Segmentflow Connect links your WordPress site to Segmentflow, enabling:
- Talk to your data — Create customer segments using natural language (“Customers who bought twice but haven’t opened an email in a month”)
- Brand-aware creative — Automatically pull your logos, product photos, and color palettes to generate ready-to-send email templates
- One-click campaigns — Launch email campaigns with real-time delivery stats
- Revenue attribution — Track the exact dollar amount every campaign generates
Works on Any WordPress Site
Segmentflow Connect works on any WordPress site — WooCommerce is optional. On a plain WordPress site, you get:
- Page view tracking
- Automatic visitor identification for logged-in users
- Browser context and referrer tracking
WooCommerce Enrichment (Optional)
When WooCommerce is active, Segmentflow Connect automatically enables additional features:
- Automatic data sync — Customers, orders, and products sync to Segmentflow
- Real-time webhooks — New orders, customer updates, and product changes are sent instantly
- Cart context — Cart hash, currency, and WooCommerce customer ID enrichment
- Pre-built segments — 11 ready-to-use customer segments (Repeat Customers, Churning Customers, etc.)
- Revenue attribution — Track which email campaigns drive revenue
How It Works
- Install and activate this plugin
- Click “Connect to Segmentflow” in the Segmentflow settings page
- Approve the connection in your Segmentflow dashboard
- Tracking begins immediately
- If WooCommerce is active, customer data, orders, and products sync automatically
Requirements
- WordPress 5.8 or later
- PHP 8.1 or later
- A Segmentflow account
- WooCommerce 5.0 or later (optional — for e-commerce features)
Third-Party Services
This plugin connects to Segmentflow, a third-party
email marketing and customer data platform. A Segmentflow account is required.
Segmentflow Tracking SDK
When the plugin is connected, a JavaScript tracking SDK is loaded from
Segmentflow’s CDN (https://cdn.cloud.segmentflow.ai/v1/sdk.js) on all frontend pages.
This SDK collects page view events and, for logged-in users, sends their
WordPress user ID and email address to Segmentflow for visitor identification.
When WooCommerce is active, additional data is included: WooCommerce customer ID,
cart hash, and store currency.
The “Require Consent” setting can be enabled to prevent tracking until the
visitor has given consent via your cookie consent solution.
Segmentflow API
The plugin communicates with the Segmentflow API (https://api.cloud.segmentflow.ai) to:
- Check connection status during the initial setup flow
- Notify Segmentflow when the plugin is disconnected or uninstalled
Segmentflow Dashboard
During the connection flow, the user is redirected to the Segmentflow dashboard
(https://dashboard.segmentflow.ai) to authorize the connection. When WooCommerce is
active, this flow includes granting Segmentflow read/write API access to your
store’s customers, orders, and products via WooCommerce’s built-in authorization
screen.
Links
Installation
- Upload
segmentflow-connectto the/wp-content/plugins/directory, or install directly through the WordPress plugins screen - Activate the plugin through the ‘Plugins’ screen in WordPress
- Navigate to the Segmentflow settings page in the admin menu
- Click “Connect to Segmentflow” and follow the prompts
Screenshots
Faq
No. Segmentflow Connect works on any WordPress site. WooCommerce features activate automatically when WooCommerce is installed.
Yes. Sign up for free at segmentflow.ai.
On plain WordPress: page views and logged-in user identity. With WooCommerce: customer profiles (name, email, address), order history (items, totals, status), and product catalog (name, images, prices). No sensitive payment information is transmitted.
No. The tracking SDK is loaded asynchronously from a CDN and does not block page rendering. Webhook processing happens server-to-server.
The plugin includes a “Require Consent” setting that prevents tracking until the user has given consent. You can integrate this with your existing cookie consent solution.
The plugin detects WooCommerce automatically and offers to upgrade your connection for full e-commerce features. No reinstallation needed.
Reviews
Changelog
1.0.6
- Add dedicated Forms tab with site URL copy button, dashboard links, setup guide, and testing tip
- Remove Lead Magnets & Forms row from Connection tab (moved to Forms tab)
1.0.5
- Add Lead Magnets & Forms row to plugin connection page linking to the Segmentflow dashboard
1.0.4
- Fix PHPCS warnings: sanitize and unslash cookie input
- Fix missing version parameter on enqueued CDN script
- Prefix all global variables in admin template files
1.0.3
- Fix Stable tag format in readme.txt
1.0.2
- Fix Version header format for WordPress.org compatibility
1.0.1
- Use wp_enqueue_script() and wp_add_inline_script() for SDK injection instead of inline script tags
- Fix Plugin URI to valid public URL
- Add GitHub repository link for source code access
1.0.0
- Initial release
- Works on any WordPress site (page views + identify for logged-in users)
- Conditional WooCommerce enrichment (cart context, currency, customer ID)
- Connection flow from plugin settings or Segmentflow dashboard
- Top-level Segmentflow admin menu with dynamic tabs
- Settings: debug mode, consent required, API host override
- WooCommerce auto-auth connection flow


