How to Send weForms Data to Google Analytics 4
Google Analytics 4 is a analytics platform. Every weForms submission record should flow into Google Analytics 4 automatically. This guide shows how to set that up in five minutes.
The direct approach
AFI delivers submission data straight from WordPress to Google Analytics 4. No third-party cloud, no per-task fees, and every request is logged for troubleshooting.
What you will need
- A WordPress site with weForms installed and configured.
- A Google Analytics 4 account.
- The Advanced Form Integration plugin (free from WordPress.org).
Connect Google Analytics 4 to AFI
- Get your GA4 Measurement ID and API Secret from your GA4 property.
- In WordPress, go to AFI → Settings → GA4.
- Enter the Measurement ID and API Secret.
- Click Save.
Setting up the integration
1. Create a new integration
Go to AFI → Add New. Name it weForms to Google Analytics 4.
2. Pick your trigger
Select weForms as the form provider. AFI fires when a form is submitted, giving you access to submitter name, email, phone, and any custom form fields.
3. Select Google Analytics 4 as the destination
Choose Google Analytics 4 from the platform dropdown and pick Send Event. This sends an event to Google Analytics 4.
4. Map fields
Match each Google Analytics 4 field on the left to the corresponding weForms field on the right. Common mappings include submitter name, email, phone, and any custom form fields. You can also use smart tags like {{_submission_date}}.
5. Add conditions if needed
Only want to send certain records? Set up a conditional rule based on any field value.
6. Save and test
Click Save Integration. Trigger a test event in weForms. Check Google Analytics 4 to confirm the data arrived. If anything looks wrong, open AFI → Log to see the exact request and response.
Free vs Pro
The free version maps event name and parameters to Google Analytics 4 with unlimited records. Pro adds custom parameter mapping. No per-record fees on any plan.
Frequently asked questions
Which weForms events trigger the integration?
AFI fires when a form is submitted. This covers new submissions and relevant status changes.
Will adding this slow down my site?
No. AFI sends data to the destination after the event completes. Your site performance is not affected.
Can I send data to multiple platforms?
Yes. Create a separate integration for each destination, and every record flows to all of them simultaneously.
Get started
Install Advanced Form Integration free from WordPress.org and connect weForms to Google Analytics 4 in minutes.
Leave a Reply