Manual JSON Container Export
How to export pre-configured Zaraz container files and import them directly into the Cloudflare dashboard without API credentials.
Manual JSON Container Export
Section titled “Manual JSON Container Export”For environments where you prefer not to store a Cloudflare API token in WordPress, WP Zbridge provides Manual Container Export.
Exporting Your Container
Section titled “Exporting Your Container”-
Configure Tracking Settings
Section titled “Configure Tracking Settings”- In your WordPress admin, go to WP Zbridge > Zaraz Recipes.
- Turn on your preferred recipes and fill in your Measurement IDs.
-
Download Container JSON
Section titled “Download Container JSON”- Switch to the Cloudflare & Edge tab.
- Under Manual Export, click Download Container JSON.
- A file named
wp-zbridge-container.jsonwill be saved to your computer.
-
Import into Cloudflare
Section titled “Import into Cloudflare”- In the Cloudflare Dashboard, open Zaraz for your domain and go to Settings > Advanced.
- Click Browse, select
wp-zbridge-container.json, and click Import. - Importing replaces your existing Zaraz configuration, so export a backup first if you need one.
Container Structure Overview
Section titled “Container Structure Overview”The exported container adheres to Cloudflare’s Zaraz OpenAPI v4 specifications:
tools: Pre-configured integrations with correct variables and default fields.triggers: The Pageview and All Tracks triggers, plus purchase, lead, contact and sign-up triggers when a tool uses them.variables: Empty; the recipes read event data directly.settings: Enables auto-injection, the e-commerce API, and the HTTP Events API on your site’s own path (eventsApiPath) used by server-side dispatch.debugKey: A random key generated for your site.