CAPI Suite
Stop paying $30–150/month for a GTM Server Container. Send Conversions API events to Meta, Pinterest, and TikTok directly from your WordPress server. No premium tier, no SaaS subscription. Three CAPI integrations in one install. Most plugins ship Meta only, or sell Pinterest and TikTok as paid add-ons. This one runs server-side dispatch to all three plus a bundled GTM template for GA4 + Google Ads (Enhanced Conversions, Conversion Linker, click-ID recovery for iOS Safari post-ITP). The same event_id flows browser-side and server-side so each platform deduplicates instead of double-counting. Aggressive bot filtering, no false-positives on real customers. Layered detection (behavioral signals + ~9,500-CIDR datacenter list + AI-crawler classification for GPTBot / PerplexityBot / ClaudeBot / Google-Extended / Bytespider / etc.) blocks Lighthouse audits, scrapers, and ad-fraud bots. Multi-layered customer bypass — Apple iCloud Private Relay whitelist, ad-click ID recognition (fbclid / gclid / ttclid), logged-in customers, prior-visit _fbp / _ga cookies, Cloudflare Bot Management validation — keeps real shoppers visible. Purchase events are never blocked; pre-Purchase events held by the filter are replayed on eventual checkout so Meta sees the complete funnel. Server-side CAPI to Meta, Pinterest, TikTok — every checkout & cart event, classic + block-based checkout, HPOS compatible. Per-platform retry isolates transient failures. GTM template for browser-side tags — GA4 + Meta Pixel + Pinterest Tag + TikTok Pixel + Google Ads (Enhanced Conversions enabled, Conversion Linker auto-attached). Event Log with By-IP view — paginated audit log, customer-protection badges prevent excluding real buyers, one-click exclude for confirmed bots, per-provider breakdown. GDPR / CCPA modes — honors CMP opt-out signals, strict server-side consent strips PII when consent is denied (browser↔CAPI dedup still works on event_id). Cache-safe — works with LiteSpeed, WP Rocket, Varnish, Cloudflare full-page cache. Click IDs captured into 1st-party cookies client-side; landing pages stay cacheable. WP Dashboard widget — queue health at a glance: backlog, oldest pending, last successful dispatch, datacenter exclusions today. If it helps your store, please leave a review — it genuinely helps other merchants find this plugin. External Services This plugin connects your website to external services to send event data. Service Used: Meta Conversion API (graph.facebook.com) Purpose: To send user interaction and e-commerce event data from your server to Meta’s servers for ad performance measurement, optimization, and audience building. Data Sent: Event details (product ID, price) and user parameters (IP address, user agent, hashed email/name/phone, Facebook cookies) are sent when a user performs a key action. Service Used: TikTok Events API (business-api.tiktok.com) Purpose: Same as Meta CAPI, providing server-side conversion tracking for TikTok Ads optimization and attribution. Data Sent: Event details (product ID, price, currency) and user parameters (IP address, user agent, hashed email/phone/external_id, ttp / ttclid cookies) are sent upon user action. Optional under the merchant’s TikTok credentials — the plugin only sends to TikTok if the credentials are configured. Service Used: Pinterest Conversions API (api.pinterest.com) Purpose: Same as the Meta CAPI, providing reliable tracking for ad performance and audience building on Pinterest. Data Sent: Event details and hashed user parameters are sent upon user action. Service Used: Google Tag Manager (googletagmanager.com) Purpose: To load a JavaScript container from Google’s servers that allows you to manage and deploy marketing and analytics tags. Data Sent: The plugin provides your GTM Container ID to Google to fetch the correct script. GTM itself may collect data based on how you configure your tags. Service Used: Cloud-provider IP range list — raw.githubusercontent.com/rezmoss/cloud-provider-ip-addresses Purpose: Used by the optional Datacenter IP filter to keep the bot blocklist current. Daily background fetch downloads CIDR ranges for AWS, Google Cloud, Azure, Cloudflare, DigitalOcean, Linode, Vultr, Oracle Cloud, and Fastly so events from those ranges can be filtered out before reaching Meta / Pinterest / TikTok. Data Sent: None. The plugin only downloads public IP-range manifests; no visitor data is sent to GitHub. License: Source repository is CC0-licensed. Service Used: Apple iCloud Private Relay egress IP list — same raw.githubusercontent.com/rezmoss/cloud-provider-ip-addresses source (folder apple_private_relay/) Purpose: Used by the optional Datacenter IP filter to whitelist real Apple visitors who exit through Apple’s relay infrastructure. Daily background fetch downloads the merged CIDR list so iOS Safari users on Private Relay aren’t mistaken for datacenter bots. Data Sent: None. The plugin only downloads the public manifest; no visitor data is sent. Shared hosting note. Some restrictive shared hosts block outbound HTTPS by default. If event delivery silently fails after install, ask your host to whitelist the following domains for outgoing connections: graph.facebook.com, business-api.tiktok.com, api.pinterest.com, and raw.githubusercontent.com (only needed if you keep “Auto-fetched” enabled on the Blocked Traffic tab — covers both the datacenter blocklist and the Apple Private Relay whitelist). Advanced Configuration Setup details for Consent Mode v2, the strict server-side consent mode (GDPR PII gating), CMP auto-block compatibility, and the WooCommerce Subscriptions integration. None of these are required for a basic CAPI setup — turn them on as your store needs them. Consent Mode v2 Setup (GDPR / EU Compliance) If you serve EU visitors, GA4 and Meta browser tags don’t fire when consent is denied — typically losing 20–50% of measured event volume. Google Consent Mode v2 recovers this: when consent is denied, GA4 / Meta tags switch to cookieless pings (anonymous beacons carrying event name, value, currency, timestamp but no client identifier). Google’s ML models the conversions from these pings and shows them mixed with observed ones in your reports. A single CMP integration repairs both GA4 and Meta attribution because the Meta Pixel template reads the same consent signals. How to enable. Popular CMP plugins (Cookiebot, CookieYes, Complianz, Iubenda, Termly, OneTrust) all have a native Consent Mode v2 toggle in their settings — find and enable it. The CMP then calls gtag('consent', 'default', {denied}) before GTM loads and gtag('consent', 'update', {granted}) after the visitor accepts. The bundled GTM template includes a paused “Consent Defaults (Pre-CMP)” tag. Enable it only if your CMP doesn’t set gtag('consent', 'default', ...) on its own (rare with modern CMPs). Strict server-side consent mode (PII gating for CAPI) Consent Mode v2 only controls browser tags. Server-side CAPI fires from PHP, never sees gtag('consent', ...) signals — so it transmits hashed PII regardless of cookie-banner choice. Fine outside the EU; a GDPR concern inside it. The Privacy & Consent (Server-side) section has a Strict server-side consent toggle (default OFF). When enabled and the visitor has denied marketing consent in your CMP, identifying PII (em, ph, fn, ln, address, fbp, fbc …) is stripped from the CAPI payload. The event still ships with event_id, value, currency, contents — Cookiebot, CookieYes, and Complianz cookies are read automatically; other CMPs supply state via the mcapi_marketing_consent_granted filter. Why this matters alongside Consent Mode v2. Denied-consent browser pixels switch to cookieless pings — modeled, not observed. With Strict server-side consent ON, your server-side CAPI ships alongside that ping carrying the same event_id. Meta dedupes by event_id and now has an observed server signal feeding the same conversion record the cookieless ping created — cleaner Event Match Quality than browser-only or naïve “send everything” CAPI, and GDPR-defensible because no identifying data leaves your server. Default OFF preserves match quality for existing non-EU setups. Recommended ON once Consent Mode v2 is configured in your CMP. CMP Auto-Blocking and the Plugin’s Inline Scripts CMPs with “auto-blocking” (Cookiebot, CookieYes, others) scan every tag on load and convert anything they suspect of tracking to type="text/plain" until consent. The plugin’s inline scripts only POST first-party events to your own REST endpoint — but a generic auto-blocker can’t tell. To avoid a silent break, every plugin-rendered inline script ships with opt-out attributes for Cookiebot (data-cookieconsent="ignore"), CookieYes (data-cookieyes="cookieyes-necessary"), and Complianz (data-cmplz-no-cookielaw="1"). For other CMPs (OneTrust, Quantcast, in-house), append your own attribute via the mcapi_inline_script_attrs filter. WooCommerce Subscriptions Integration By default, every WooCommerce Subscriptions auto-renewal sends a fresh Purchase to Meta CAPI — credited to the original acquisition ad. Reported ROAS keeps climbing month after month from the same conversion, polluting optimization signals. The plugin auto-detects WooCommerce Subscriptions and exposes: Subscription Renewal Behavior (radio): Default — renewals send as regular Purchase. Existing setups unchanged. Skip — renewals not sent. Cleanest ROAS hygiene; you forfeit Meta’s LTV signal from renewals. Tag — renewals still send Purchase but with custom_data.customer_status = "subscription_renewal" so you can filter them in Events Manager. Subscribe / SubscriptionRenewal events — Meta’s standard Subscribe for sign-ups + a SubscriptionRenewal custom event for renewals. Purchase stays clean, advertisers using LTV-bidding can opt into both. Tag every Purchase with customer_status (checkbox): adds custom_data.customer_status (new_customer / returning_customer / subscription_renewal) to every Purchase so Meta Advantage+ can bid acquisition vs. retention differently. Guest checkouts fall back to billing-email lookup. Disclaimer This plugin is an independent, community-driven implementation of server-side Conversions API protocols. It is not affiliated with, endorsed by, or sponsored by Meta Platforms, Inc., TikTok Ltd., Pinterest, Inc., Google LLC, Automattic Inc., or any other trademark holder referenced herein. “Meta”, “Facebook”, and the Meta Pixel are trademarks of Meta Platforms, Inc. “TikTok” is a trademark of TikTok Ltd. “Pinterest” is a trademark of Pinterest, Inc. “Google Tag Manager”, “Google Ads”, and “GA4” are trademarks of Google LLC. “WooCommerce” is a trademark of Automattic Inc. All trademark references are used solely for descriptive interoperability purposes — to indicate which platforms this plugin can transmit data to under the merchant’s own configured credentials. No user data is transmitted to any external service until the merchant explicitly configures their own platform credentials in the plugin settings. The plugin does not “phone home” or contact any developer-controlled server. The only outbound HTTP calls are: (1) merchant-configured CAPI endpoints, (2) the public CIDR manifests at raw.githubusercontent.com used by the optional Datacenter IP filter — no visitor data is sent in those manifest fetches.
Top keywords
- meta23×1.41%
- consent21×1.29%
- event18×1.10%
- data17×1.04%
- tiktok14×0.86%
- capi13×0.80%
- sent13×0.80%
- server-side13×0.80%
- google12×0.74%
- pinterest12×0.74%
- com11×0.68%
- id10×0.61%
Discount Rules for WooCommerce
Discount Rules for WooCommerce is a dynamic pricing and discounts plugin for WooCommerce that helps you create any type of bulk discounts, quantity discounts, product specific discounts, dynamic pricing, advanced discounts based on conditions, percentage discounts, tiered pricing discounts and more. With the PRO version, you can create advanced discount offers such as buy one and get one free (BOGO) deals, auto-apply coupons, free shipping discounts, bundle offers, discounts based on products, categories, attributes, tags, SKUs, user roles, cart items, purchase history and much more. The plugin offers a number of features that make it easy for customers to discover discounts and offers in your store: Show a bulk discount table on your product pages. This helps customers buy more in order to save more. Show the discounted price on product, cart & checkout pages with the original price crossed-out (with a line-through) Display “You saved” message on the cart & checkout pages Show a discount bar with your offers on the product pages Display a Sale badge on your shop & product pages View Demo | Documentation with examples | Ask Questions | PRO version | Examples DISCOUNT TYPES AND FEATURES WITH EXAMPLE SCENARIOS Free version features Create percentage discounts. Offer a storewide sale Example: A storewide 10% discount on all products Create bulk discounts. Example: Use quantity breaks to offer higher discounts on bulk purchases. Order total based discounts (Example: Spend more than $1000, get 10% discount) Set product specific percentage discounts (Example: Product A gets 10%, Product B gets 20%) Cart based discounts using the line items (Example: Purchase 4 different products or variants and get 10% discount) Exclude selected products from discount rules (product pricing discounts) Run special offers / sale for specific periods – Example: 10% discount only on BlackFriday Show bulk discount table on product pages Get the PRO version to create advanced discounts and grow sales PRO features All features of the free version, plus: Percentage discounts with advanced discount conditions. Fixed product discounts. Example: Get $9 discount for purchasing more than 6 items Category discounts – Get 25 % off on all items under Summer Collection Buy One Get One free offers – Buy a cap and get another cap for free Buy 2 and get 1 free offers – Buy 2 get 1 cheapest product free or Buy 2 and get 1 at 50% discount Buy one get one half off – Buy 2 get 1 at 50% off or buy one get the second product free or at 50% discount BOGO deals based on categories. Examples: Buy any product from Category A and get a product free from Category B. Buy Product A and Product B from Category Electronics and get a free product from category Accessories. Buy any product from Category Mobile and choose a free product from Category Hard Cases Volume discounts & tiered quantity discounts with conditions – Buy 6, get 10%, Buy 12, get 15% User role based discounts – Discounts for wholesale customers First order discount Product discounts with variant specific offers – Buy Product A with Variant X and get 10% discount Bundle discount – Buy 3 for $10, 6 for $20 Conditional discounts – Buy Product A and B and get discount on Product C Offer one or more free products. Multiple products could be offered free using a rule Apply discounts for multiple items using one coupon code Discount for product variants Attributes based discounts – Buy green color T-shirts and get 10% discount Discount for customers with specific domains – 10% discount for all emails ending with @example.com Customer specific discounts – 10% discount for selected customers Free shipping discount Shipping / Delivery location based discount Example: If shipping destination is California, get 15% discount Purchase history based discounts Example: Customers who spent at least $100 in previous purchases get 10% discount Discount based on the number of orders placed earlier. Example: 10% discount for customers with 5 or more orders Discount based on previously purchased products. Example: Customers who previously purchased Shoes get 10% discount Discounts based on sum of item quantities in cart – Order more than 10 items from any category and get 15 % discount Discount for the cheapest item in the cart – Add 3 products to the cart and get the Cheapest Item free Option to offer free products only from certain category Exclude products on SALE from discount rules SALE Badge for discounted products Highlight savings on the cart & checkout with “You saved” label Use a discount banner to highlight offers on product pages Option to show or hide the discounted price Priority support Discount Examples using PRO Features Category Discount The category discount feature allows you to offer discounts on all products in one or more categories. Simply choose one or more categories, set your discount offers, and the plugin will apply them automatically to every product in those categories. Here are some examples: Buy T-shirts from Apparel category and save 10% Get 30% off on Category A & Category B Purchase any 6 items from Category A and get a 25% discount on total cart value. Purchase 3 products from Category A or B or C or from all of them and get 20% discount valid from dd/mm/yyyy to dd/mm/yyyy Bulk Discount / Quantity Discount / Tiered Pricing Discounts Bulk Discount, also known as quantity discounts, tiered pricing discounts or volume discounts, allows you to reward customers for buying in bulk. As customers purchase more, they receive better pricing, encouraging bulk purchases. Here are some bulk discount examples: Buy 5 to 10 quantities, get 5% discount, 11-20 quantities, get 10% discount, 21-30, get 20% discount Buy 1 to 5 quantities, get $2 discount, Buy 6 or more, get $3 discount Storewide Sale Discount A Storewide Sale discount allows you to apply discounts on all products in your store, offering a simple yet powerful way to drive sales. Whether you’re running a seasonal sale, clearing out inventory, or rewarding loyal customers, a storewide discount makes it easy for shoppers to save on everything in your store. 20% discount on all products in the store on Black Friday or Christmas Auto apply coupon of 10% for all products 10% discount on all products for specific user role like Wholesale customers Buy One Get One Free Discount Offers BOGO is a popular discount strategy that allows you to create offers like buy one get one free, buy 2 get 1 free, buy one get one at half price, buy x and get y product free and more. Here are some examples: Buy one and get one free of the same product Buy 2 get one cheapest free Buy X get Y product free Eg: Buy 3 product and get a pendrive free (or with 50% discount) Buy Any 2 items from Category X, and get a Product free from Category B Buy X products and get X number of products free Buy 3 products from any category, get 1 free. Buy 6 products, get 2 products free…. Buy 12 products (any or category specific), get X number of cheapest among them free Free products can be a few selected products, cheapest products in the entire store or from selected categories. Products can be offered either free (100% discount) or at a percentage discount (50%) Spending based discounts Boost sales by offering discounts based on the customer spend. Here are some examples: Spend $500 or more and get 15% discount, spend $1000, get 20% discount Add two to six products in cart and get flat $30 discount. 10% discount for all retailers (User Role specific discount) All orders above $500 will get 15% discount Free shipping for orders above $100 Bundle Discount Encourage customers to buy multiple items together. For example, you can create deals like “Buy 3 for $10” or “Buy 6 for $20,” providing clear savings for bulk purchases. Create offers like Buy 3 items for $10. 4th item will be charged full price. Buy more, save more offers. Example: Buy 3 for $10, 6 for $20 Product Specific Discounts Shoes get 20% discount, T-Shirts get 5% discount Special Edition Shoe (A specific product) gets 15% discount for 10 days Buy 10 or more Mugs and get 5% off Buy 3 for $10, Buy 6 for $20 Fixed Product Pricing discounts $5 off on all products in Category A Set a fixed price per unit for bulk purchases (Product A cost is $20. Buy 5 to 10 quantity for $15 per unit, 11 and above for $10 each) User Role based discounts Useful when you have different types of customers in your store. For example, wholesale customers, retail customers Bulk discount based on user role for specific product or product categories. Example: Members of Wholesale customers group gets 40% discount, while Retail customers get 5% discount Discount for Product Variants Get 50% off on T-shirts Small and Large Sizes only Buy a Small Size Tee and get a small Size shorts free Conditional Discount Offers Buy Product A at full price and get 20% discount in Product B Buy 2 quantities of Product A, 2 quantities of Product and get 30% discount in Product C Buy 3 quantities of Product A and get flat $10 off in product B Buy a Mobile and get 20% off on headphone Attribute specific discount offers Useful when you want to offer discount when a product has a specific attribute. Example: 10% discount for purchase of T-Shirt with Small sizes. Shipping Address Based Discounts Flat 25% discount for customers from New York Customers from California get 10% discount while those from Texas get 5% Purchase history based discount Discount based on the total amount spent by the customer in previous orders. Example: Customers who spent $1000 get 10% on future orders. Discount based on the total number of orders placed by the customer – Customers who ordered 50 products get 15% on all future purchases Based on product purchase history (Example: Provide 10% discount to all customers who purchased Shoes earlier) Purchase history for a specific period (10% discount for those who spent $500 in the last 3 months) Discount Conditions The following conditions help you tailor your discount offers depending on certain criteria. Products Categories Attributes SKU Tags Cart Line Items & Properties Customers User Roles Shipping locations – ZipCode, City, State/Region, Country Subtotal Coupons Date & Time Purchase History – Last Order, First Order, Orders with X Items, Number of Orders Need help? Reach out to us Whether you want to double-check your setup or need help with a unique discount promo, we’re here to assist you. Feel free to reach out via the Live Chat on our website or through our support request form. We’re happy to guide you through the setup and ensure everything is running smoothly. Don’t worry—we’re here to help! Quick Links: PRO Version Documentation Helpdesk & Support External services Flycart CDN & documentation: The CDN is used to fetch static assets including images and contentand hosted at static.flycart.net, while the documentation for the plugin is hosted at docs.flycart.org and linked at various sections in the plugin to help merchants. Terms, privacy policy Google Charts: The library is used to display discount reports in a chart format. The service is provided by Google. Terms, privacy policy Credits Dutch Translation – @mvdburg1971 – Michael van der Burg