Send Workflow Events to Google Analytics in Sparkforge
Add a Google Analytics action to any Sparkforge workflow to track form submissions, opt-ins, or call events. Paste your tracking ID, set event category, action, and label, then verify hits in your GA4 acquisition reports.
Sparkforge workflows can send events to Google Analytics so you can track more than page views — form submissions, opt-ins, support calls, and any other workflow trigger. The action works with both GA4 and Universal Analytics properties.
Find your tracking ID
Universal Analytics
- Open Google Analytics and click the Admin tab.
- In the left column, click Tracking Info.
- Click Tracking Code. Your ID starts with
UA-.
GA4
- Open Google Analytics and click the Admin tab.
- In the left column, click Property Settings.
- Copy the numeric Property ID.
Add the action to a workflow
Inside the workflow editor, choose the Google Analytics action and fill the fields:
- Tracking ID / Property ID — paste from above
- Event Category — for example,
Form Submission - Event Action — for example,
Exit Form Opt-in - Event Label — for example,
Black Friday - Event Value — optional numeric value
Each field accepts dynamic values via merge tags, so you can pass contact-specific data into GA.
Traffic source attribution
Sparkforge categorizes traffic by referring domain and UTM parameters. If both utm_medium and utm_source are set, those win. Otherwise, attribution falls back to these rules:
| Source | Detection | utm_medium | utm_source |
|---|---|---|---|
| Google Organic | Referrer is google.com | organic | |
| Paid Search | utm_source=google AND referrer google.com | cpc | |
| Referrer facebook.com | referral | ||
| Paid Social | utm_medium=cpc AND utm_source=facebook.com | cpc | |
| Direct | No referrer or UTMs | none | direct |
| Social Media | Referrer is Instagram, YouTube, X, Pinterest, etc. | social | Social Referring Site |
Sparkforge passes gclid on every event so unique Google Ads clicks stay attributable.
Verify the integration
Open GA4 and go to Reports > Acquisition. Filter by source and medium. Workflow events should appear within minutes of firing.
Frequently Asked Questions
What is the difference between Universal Analytics and GA4?
Can I send dynamic values to GA?
How do I verify the integration is working?
Does Sparkforge pass gclid for Google Ads attribution?
Was this article helpful?
Thanks for the feedback.