CapiFlow – Conversions API (CAPI) Tracking for WooCommerce
Self-hosted Meta Pixel & Conversions API (CAPI) tracking for WooCommerce without GTM or Stape.
Install in
CapiFlow is a self-hosted server-side tracking plugin for WooCommerce. Send conversion events directly from your WordPress server to the Meta Conversions API (CAPI) alongside the Meta Pixel without external cloud servers, Google Tag Manager containers, or monthly container fees.
Key Benefits
- No GTM or External Cloud Server Needed: Runs directly on your WordPress server—no Stape.io ($20–$100+/mo) or Google Cloud sGTM containers required.
- Setup in Under 5 Minutes: Paste your Meta Pixel ID and Conversions API Access Token, select your events, and save.
- Confirmed Purchase Control: Holds the server
Purchaseevent until an order is verified (“Confirmed” or “Completed”), preventing cancelled or fake Cash-on-Delivery (COD) orders from skewing Meta ad optimization. - Non-Blocking Background Queue: Dispatches server-side CAPI events asynchronously via Action Scheduler so checkout speed stays fast.
- 180-Day Cache-Safe Server Cookies: Sets first-party
_fbc,_fbp, andcs_uidcookies via uncacheable REST headers, staying compatible with LiteSpeed Cache, WP Rocket, Varnish, and Cloudflare. - Browser + Server Deduplication: Shares synchronized UUID v4
event_idvalues between browser Pixel (fbq) and server CAPI payloads. - First-Party Proxy & SHA-256 PII Hashing: Routes browser event beacons through your own WordPress REST endpoint (
/wp-json/capiflow/v1/track) and hashes PII locally using SHA-256 before transmission. - WooCommerce Controls & Diagnostics: Includes an analytics dashboard, live debug console, system health checker, checkout phone formatting, and per-order CAPI status badges.
Free vs Pro Comparison
Feature
CapiFlow Free
CapiFlow Pro
Self-Hosted Architecture (No Monthly Cloud Fees)
Yes
Yes
Meta Conversions API (CAPI) Core Events
Yes
Yes
Multi-Platform CAPI (GA4, Google Ads, TikTok, Pinterest, Snapchat, LinkedIn, X)
Meta CAPI Only
All 8 Platforms
Browser & Server Event Deduplication (event_id)
Yes
Yes
Purchase Firing Logic
Confirmed Purchase Control
Automated via Courier Delivery Webhooks
Negative Purchase Signals on Cancellations / Returns
No
Yes
Async Background Queue (Action Scheduler)
Yes
Yes
180-Day Cookies
Yes (Cache-Safe First-Party)
Yes (Cache-Safe First-Party)
Category-Based Multi-Pixel Routing
No
Yes
3-Layer COD Fraud Shield & Blacklists
No
Yes
Courier Automation (Steadfast, Pathao, REDX, eCourier, Forces, Paperfly)
No
Yes
Abandoned Cart Recovery & Dynamic Auto-Coupons
No
Yes (SMS + Email)
CapiFlow Pro
Need multi-platform CAPI and COD logistics automation? CapiFlow Pro adds:
- 8-Platform Multi-CAPI: Meta, Google Analytics 4 (GA4), Google Ads Enhanced Conversions, TikTok, Pinterest, Snapchat, LinkedIn, and X.
- Automated Courier Logistics: 1-click booking and status sync with Steadfast, Pathao, REDX, eCourier, Forces Courier, and Paperfly (international carriers on roadmap).
- Negative Purchase Signals: Sends corrective signals when orders are cancelled or returned.
- 3-Layer COD Fraud Shield: Courier delivery ratio scoring, phone/IP velocity limits, disposable-email detection, and phone/email/IP blacklists.
- Cart Recovery: Captures checkout drafts and sends single-use coupons via SMS & email.
Learn more at CapiFlow Pro.
Compatibility
- Payment Gateways: Compatible with standard WooCommerce gateways including Stripe, PayPal, Square, bKash, Nagad, SSLCommerz, and Cash on Delivery (COD).
- Themes & HPOS: Works with Classic themes, Block themes (FSE), Elementor, Divi, Bricks, High-Performance Order Storage (HPOS), and legacy order storage.
- Consent Management: Integrates with CookieYes, Complianz, CookieBot, and custom hooks (
capiflow_has_tracking_consent).
Requirements
- WordPress 6.0+
- WooCommerce 7.0+
- PHP 7.4+ (PHP 8.0–8.3 supported)
- OpenSSL PHP extension
- Meta Pixel ID & Conversions API Access Token
External Services
This plugin connects to the following third-party services:
Meta (Facebook) Conversions API
CapiFlow sends WooCommerce event data to https://graph.facebook.com/ from your server when a configured tracking event occurs and a valid Pixel ID and Access Token are set.
Data transmitted includes:
- SHA-256 hashed email, phone, first and last name, city, state, postal code, and country
- Client IP address and Browser User Agent
- Meta Click ID (
_fbc) and Browser ID (_fbp) cookies -
Order total, currency, and event metadata
- Meta Privacy Policy
- Meta Platform Terms
Meta Pixel JavaScript SDK
Loads https://connect.facebook.net/en_US/fbevents.js on frontend pages when a Pixel ID is configured.
Privacy, Cookies & Data Storage
- Cookies: Sets first-party
cs_uid,_fbc, and_fbpcookies (up to 180 days) with no raw PII. - Tables:
{prefix}_capiflow_events(auto-purged after delivery),{prefix}_capiflow_analytics, and_capiflow_order metadata (optionally removed on uninstall). - Logs: Stored in
wp-content/uploads/capiflow-logs/with.htaccessprotection and daily cleanup. - Consent: Enable “Consent Enforcement” in Settings to block browser and server events until CMP consent is granted.
Written by Joobi from the project's own listing. See the source page
1.1.7 — 2026-11-25
- Tweak: Streamlined WordPress.org documentation, fixed Free vs. Pro comparison table row formatting (
180-Day Cookies), and standardized setup time (under 5 minutes) and homepage links (https://capiflowpro.com/).
1.1.6 — 2026-10-30
- Fix: Added descriptive alt attribute to fallback noscript Meta Pixel img tag for complete Bing/Google SEO and accessibility compliance.
- Tweak: Enhanced WordPress.org documentation with Stape.io & PixelYourSite Pro comparisons and GTM-free Meta CAPI FAQs.
1.1.5 — 2026-10-07
- Fix: Resolved WordPress Coding Standards (WPCS) and Plugin Check (PCP) internationalization and placeholder requirements.
- Fix: Hardened public query parameter handling with strict WordPress security standards.
- Update: Updated WordPress compatibility declaration to Tested up to 7.1.
- Enhancement: Optimized global product resolution on single product pages.
1.1.4 — 2026-10-07
- Fix: Resolved duplicate server event delivery in Meta Events Manager for Chromium-based browsers.
- Fix: Removed Meta Pixel console warning regarding user_data parameter during initial page load.
- Enhancement: Reorganized Event Tracking settings and Setup Wizard into Core Conversion Funnel and Extended/Specialized Events.
- Update: Updated default Meta Graph API version to v26.0 and improved PII formatting for higher Event Match Quality.
1.1.3 — 2026-09-28
- Fix: E.164 domestic trunk-zero stripping in
normalize_phone_e164(). - New: Added
hash_postcode()alias andget_universal_uid()utility method.
1.1.2 — 2026-09-19
- Fix: Universal Price Normalization (
parsePrice), international currency safeguards, and AJAX/Block Cart resolution.
1.1.1 — 2026-08-21
- Fix:
predicted_ltvis now only sent in Purchase events when COGS data is populated.
1.1.0 — 2026-08-20
- New: Configurable Content ID Strategy (SKU/Parent SKU/Product ID), Search
content_ids, Order Source Filter, and Guard 5/Guard 6 Purchase filters.
1.0.2 — 2026-07-29
- Fix: Prevent firing Purchase events for pre-existing orders created prior to CapiFlow installation.
1.0.1 — 2026-05-22
- Update: WordPress 7.0 compatibility release.
1.0.0 — 2026-05-01
- Initial public release.
Follow this listing's changes (Atom feed)