
CapiFlow – Conversions API (CAPI) Tracking for WooCommerce
v1.1.7capiflow · 2026年5月11日 上架
Self-hosted Meta Pixel & Conversions API (CAPI) tracking for WooCommerce without GTM or Stape. Deduplication, 180-day cookies & confirmed Purc …
- 正在使用
- 40+
- 评分
- 5.0 / 5
- 累计下载
- 1,392
- 最近更新
- 2026年11月25日
贡献者
截图








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.