Directory / plugin
Zbridge – Integration for Cloudflare Zaraz
v1.5.0 · by Zbridge
WooCommerce and WordPress tracking through Cloudflare Zaraz: GA4, Meta and Google Ads from one small script, with a cookie banner and Consent Mode v2.
About this plugin
Every analytics and ad tag you add to a store slows it down, sets its own cookies and runs on your visitors’ devices. WP Zbridge moves that work to Cloudflare Zaraz, which runs GA4, Meta, Google Ads and other tools from Cloudflare’s network. Your pages load one small bridge script (about 3 KB gzipped) plus Cloudflare’s Zaraz loader, instead of separate tags such as gtag.js and the Meta Pixel.
WP Zbridge builds the Zaraz setup for you, sends WooCommerce and engagement events in the format each tool expects, and passes your visitors’ consent to Zaraz and Google Consent Mode v2. Its dashboard checks the setup and shows how many paid orders never reached Zaraz from the visitor’s browser, for example because of an ad blocker or a closed tab.
Features
- Ready-made Zaraz containers: Download a Zaraz configuration for GA4, Meta and Google Ads and import it in the Cloudflare dashboard. No API token needed. (Pro sends it to Cloudflare for you with Sync to Zaraz.)
- WooCommerce events: Product views, add to cart, remove from cart, cart and checkout views and purchases, sent as Zaraz e-commerce events that GA4, Meta and other tools understand. Optional parent product IDs for variations.
- Engagement events: Scroll depth, file downloads, outbound links, email and phone clicks, site search, 404 pages, comments and form submissions (Contact Form 7, WPForms and other HTML forms), with GA4-style event names.
- Cookie banner and Google Consent Mode v2: A built-in banner (about 5 KB gzipped) with an EU-only option, or detection of Complianz, Cookiebot, CookieYes, Borlabs Cookie 3 and the WP Consent API. Consent is passed to Google Consent Mode v2 and Zaraz.
- Instagram embeds: Show Instagram posts and reels through the Zaraz Instagram tool, which builds them on Cloudflare. Visitors load no Instagram script and get no Instagram cookies. Paste a link or use the
[zbridge_instagram]shortcode. - Cookie scanner: Loads your homepage in your browser and lists the cookies, browser storage and third-party sites it uses, grouped by consent category, so you can check your banner and privacy policy.
- Setup wizard and health check: The wizard guides you through connecting Cloudflare Zaraz and choosing your tools. The dashboard then checks your setup, tells you when Zaraz needs the updated container, a tool is missing its access token or consent isn’t collected, and offers a button that fixes it.
- Translation-ready: All visitor-facing and admin text can be translated on translate.wordpress.org.
WP Zbridge Pro
Pro adds a server fallback: when the browser could not report a paid order (ad blocker, closed tab), your server sends it to Zaraz. It also adds Sync to Zaraz and rollback through the Cloudflare API, Zaraz activity and failed-request reports on the dashboard, TikTok, Snapchat, Pinterest (tag and Conversions API), Bing, LinkedIn, Reddit and X (Twitter) recipes, Gravity Forms, Fluent Forms and Elementor Forms, logins and sign-ups, time on page, refunds and WooCommerce Subscriptions renewals sent from the server.
Included Zaraz Recipes
- Google Analytics 4 (GA4): Page views, e-commerce events (
view_item,add_to_cart,purchaseand more;refundin Pro), engagement events, and form submissions asgenerate_lead. - Meta Pixel & Conversions API: Page views, e-commerce events, Lead and Contact, with event properties for custom conversions. Requires a Conversions API access token.
- Google Ads: Remarketing on every page, purchase conversions with value, currency and order ID, and optional lead conversions for form submissions.
- TikTok (Pro): Page views, e-commerce events, SubmitForm and Contact. Requires an Events API access token.
- Snapchat Pixel (Pro): Page views, purchases and sign-ups.
- Pinterest Tag & Conversions API (Pro): Page views, e-commerce events, leads and sign-ups. With an optional Conversions API token, add to cart and purchases are also sent from Cloudflare’s servers; purchases carry the same event ID from both sides, so Pinterest counts them once.
- Microsoft Advertising (Bing UET) (Pro): Page views, e-commerce events and lead form submissions.
- LinkedIn Insight Tag (Pro): Page views, with optional purchase and lead conversions.
- Reddit Pixel (Pro): Page visits, purchases with value, currency and order ID, leads and sign-ups.
- X (Twitter) Pixel (Pro): Page views, with optional purchase (with value) and lead conversions for the X event IDs you enter.
External services
This plugin integrates with external services to deploy analytics configurations and process tracking events.
-
Cloudflare Zaraz & Cloudflare API (
api.cloudflare.com):- What it is: Server-side tracking execution engine at the edge and REST API for container provisioning.
- What data is sent & when: When an administrator clicks Sync with Cloudflare (Pro), the container configuration is sent to the Cloudflare API. Tracking events from site visitors (page views, e-commerce and engagement events) are sent to Cloudflare Zaraz on your own domain. When the cookie banner or a consent plugin is used, Zaraz forwards them to each tool only after the visitor consents.
- Service Provider: Cloudflare, Inc.
- Terms of Service: https://www.cloudflare.com/terms/
- Privacy Policy: https://www.cloudflare.com/privacypolicy/
-
Google Analytics & Google Tag Manager:
- What it is: Web analytics platform configured via pre-built Zaraz recipes and audited by the local Cookie & Tracker Scanner.
- What data is sent & when: Page views, e-commerce and engagement events, forwarded by Cloudflare Zaraz. When the cookie banner or a consent plugin is used, only after the visitor grants analytics consent.
- Service Provider: Google LLC
- Terms of Service: https://marketingplatform.google.com/about/analytics/terms/us/
- Privacy Policy: https://policies.google.com/privacy
-
Meta (Facebook Pixel & Conversions API):
- What it is: Advertising attribution and conversion tracking configured via Zaraz recipes and audited by the local Cookie & Tracker Scanner.
- What data is sent & when: Page views, e-commerce events and lead events, forwarded by Cloudflare Zaraz with the visitor’s IP address, user agent and Meta browser cookies. This plugin does not send customer email addresses or phone numbers (WP Zbridge Pro can, if you turn it on, with purchases sent from the server). When the cookie banner or a consent plugin is used, only after the visitor grants marketing consent.
- Service Provider: Meta Platforms, Inc.
- Terms of Service: https://www.facebook.com/legal/terms
- Privacy Policy: https://www.facebook.com/privacy/policy/