PathwAI's Google Analytics 4 integration runs through Google Tag Manager. When a workspace adds its GTM container ID, PathwAI loads the container on every flow page and pushes built-in events to the dataLayer, such as pathwai_step_view, pathwai_step_complete and pathwai_flow_complete. GA4 event tags in your container fire on those events, so flow steps and completions show up in GA4 reports.
What data moves
- PathwAI to the page's dataLayer: pathwai_step_view, pathwai_step_complete, pathwai_step_back, pathwai_step_carried, pathwai_flow_complete, pathwai_signup, pathwai_purchase and pathwai_consent, with flow, version, submission and step IDs.
- Browser to GA4: whatever your GA4 tags send when those triggers fire.
- A purchase event includes value, currency and order_id.
Where it is configured
The GTM container ID goes under Integrations → Google Tag Manager in PathwAI. The GA4 tags and Custom Event triggers are created in your own GTM container.
Use cases
Completions as a key event
Fire a GA4 event tag on pathwai_flow_complete and mark it as a key event in GA4.
Step-level drop-off
Send pathwai_step_view with the step ID to see where people stop in a flow.
Revenue from flows
Map pathwai_purchase with value, currency and order ID into a GA4 purchase event.
How to set it up
- In PathwAI, open Integrations → Google Tag Manager and enter your container ID (GTM-XXXX).
- In GTM, create a Custom Event trigger for the event, for example pathwai_flow_complete.
- Create a GA4 Event tag on that trigger and pick the dataLayer fields to pass as parameters.
- Publish the container and test with GTM's preview mode on a live flow.
Good to know
- Some dataLayer events carry contact details and answers, for example user_email and the answers on completion. Pass only the fields GA4 should receive, and keep answers and contact details out of GA4 tags.
- One container covers every flow in the workspace. Use flow_id to tell flows apart.
Google Analytics 4 integration FAQ
Which flow events can GA4 receive?
Any of the pathwai_* dataLayer events: step views, step completions, back navigation, carried steps, flow completion, sign-up, purchase and consent.
Can I report on one flow at a time?
Yes. Each event carries flow_id, which you can pass to GA4 as a parameter and filter on.
Should answers be sent to GA4?
No. Answers can be health information. Configure GA4 tags to send event names and IDs only.
Related integrations
Want to see Google Analytics 4 in a flow?
We can walk through where Google Analytics 4 fits in your funnel and exactly which data it would receive.