Boholweb ConnectFlow Google Analytics
Track Boholweb ConnectFlow form submissions and payments as Google Analytics 4 events (generate_lead, purchase), from the browser, Google Tag Manager or the server.
Boholweb ConnectFlow Google Analytics — Track Boholweb ConnectFlow form submissions and payments as Google Analytics 4 events (generate_lead, purchase), from the browser, Google Tag Manager or the server.
What it does
- Each entry becomes a GA4 event (generate_lead by default, or your own name) with the form's ID and title — mark it as a key event (conversion) in GA4
- Browser (your existing gtag.js or Google Tag Manager dataLayer), or server (Measurement Protocol — works with ad blockers and for AJAX forms)
- With Boholweb ConnectFlow Pro, completed payments become purchase events with the value, currency and transaction ID
- Respects consent: server events only for visitors who already have a Google Analytics cookie (optional)
Requirements
- Boholweb ConnectFlow 1.2.3 or newer (free)
- BoholwebCMS 2.2 – 2.10 or newer, PHP 8.2 or newer
- Your own Google Analytics account
Set up in minutes
- Install and activate Boholweb ConnectFlow 1.2.3 or newer, then this add-on with your license key.
- GA4 → Admin → Data streams → your web stream: copy the Measurement ID (G-…). For server events also create a Measurement Protocol API secret there. Paste them on Forms → Settings → Google Analytics.
- In GA4 → Admin → Events, mark generate_lead as a key event.
Every step is also in your admin under Forms → Documentation → Google Analytics.
Built like the rest of Boholweb ConnectFlow
- Secret keys are stored encrypted with your site’s APP_KEY and never shown again.
- The connection is checked every time you save the settings.
- Hooks for developers:
boholweb-connectflow-google-analytics:ready,boholweb-connectflow-google-analytics:license_validand more.
Licenses
One key per 1, 10 or 100 sites, yearly (updates and support for a year) or lifetime. An All Add-ons key works too. Without a valid key the add-on pauses: its settings are kept and nothing is sent to Google Analytics.
Privacy
The add-on talks to www.google-analytics.com, region1.google-analytics.com, and only after you set it up. Mention Google Analytics in your privacy policy.
Google Analytics is a trademark of its owner. This add-on is made by BoholwebWP and is not affiliated with or endorsed by it.