Goal:
Implement an end-to-end data connection between Google Analytics 4 (GA4), Google Tag Manager (GTM), WordPress, and Salesforce to enable full-funnel marketing attribution — tracking user activity from ad click → website engagement → form submission → CRM lead creation.
Outcome:
Created a live tracking and attribution system that automatically captures campaign and session identifiers (GA Client ID, UTM parameters) at the moment of form submission, passes them through Zapier, and stores them in Salesforce Leads. This allows revenue attribution in both GA4 and Salesforce for true closed-loop reporting.
your-name, your-email, ga_client_id, utm_source, etc.).| Salesforce Field | Source (CF7 Field) |
|---|---|
| Last Name | your-name |
your-email |
|
| Company | Static “Individual” |
| GA_Client_ID__c | ga_client_id |
| UTM_Source__c | utm_source |
| UTM_Medium__c | utm_medium |
| UTM_Campaign__c | utm_campaign |
| Description | your-message |
| Lead Source | Static “Website” |
| Status | Static “Open – Not Contacted” |