Tracking
Funnels support both browser pixels and server-side event collection. Browser pixels help advertising platforms optimize campaigns. Server-side events power the Pixel Forms analytics dashboard and remain available even when a visitor blocks third-party scripts.
Pixel configuration
Configure GA4, GTM, Meta Pixel, and TikTok Pixel IDs on the funnel tracking config. The lightweight client at /js/Formspring-funnel.js lazily injects each vendor snippet and forwards the main funnel lifecycle events:
viewwhen a screen is shown.nextwhen the visitor advances.submitwhen aform_collectscreen creates a submission.
Use GTM when you need custom tags, consent rules, or additional destinations. Use direct vendor IDs when you want the fastest setup and do not need a container.
Server-side events
Every interaction is recorded in funnel_events with one of these event names:
| Event | When it fires |
|---|---|
view |
A visitor views a screen. |
next |
A visitor advances to the next screen. |
back |
A visitor returns to a previous screen. |
submit |
A visitor submits the collection screen. |
drop |
A visitor leaves before completing the flow. |
cta_click |
A visitor clicks a configured call to action. |
redirect |
A visitor follows a redirect outcome. |
Events are associated with a funnel_session, the current screen, device context, and the assigned A/B variant when testing is enabled.
UTMs and attribution
Keep UTM parameters on the public funnel URL when linking from ads, email, or partner campaigns. The funnel session preserves campaign context so submissions can be analyzed by source later. If you send traffic through a branded redirect, verify that the redirect keeps the query string intact.
Validation checklist
After publishing a funnel with tracking enabled:
- Open the public
/u/{slug}URL in an incognito browser. - Move through each screen and submit a test lead.
- Confirm the funnel analytics screen shows the session and submission after the cache window.
- Check the browser vendor tools or tag assistant for GA4, GTM, Meta Pixel, or TikTok Pixel delivery.
- Remove the test submission if it should not appear in exports or automations.