How to Trigger Events from Forms
Use Visual Tagger as the default way to track form submissions in PixelFlow. It is the simplest option for most forms. Use manual tagging with CSS classes when you need stronger control, richer data capture, or your form setup needs a more custom implementation.
Start with Visual Tagger
For most no-code sites, Visual Tagger is the best place to start for form tracking. It is a better default than URL-based tracking because it focuses on the form interaction instead of a page visit.
faster to set up
better for forms in modals and popups
better for forms that do not redirect to a new page
Use Visual Tagger first unless you already know you need to capture extra fields like name, email, phone, or value with a manual setup.
When Event URL tracking works
Event URL tracking works only when the form redirects users to a unique success page after submission.
User fills out a form on
yoursite.com/contactUser clicks submit
User is redirected to
yoursite.com/thank-you
In that case, you can use How to Trigger Events on Specific Page URLs to track the thank-you page.
If the form lives on the page, opens in a popup, or does not redirect to a unique success page, do not rely on Event URLs.
When to use manual tagging with CSS classes
Manual tagging is the secondary option. It takes more setup, but it gives you more control and stronger enrichment. Use it when you need to:
track custom form components with exact control
handle a setup where Visual Tagger is not enough
Manual tagging with CSS classes is the stronger option when data quality matters most, especially for lead forms where you want better match quality in Meta.
Why manual tagging can be stronger
When you add CSS classes to your form, PixelFlow can capture the actual submission and extract user data from the form fields. That gives you:
more accurate form tracking
better event match quality
more reliable attribution and optimization in Meta
Learn more in How to Track and Trigger Events using "Classes".
Use the right method for your form
Scenario | Best option |
|---|---|
Standard no-code form on the page | Visual Tagger |
Popup or modal form | Visual Tagger |
Form redirects to a unique thank-you page | Event URL tracking |
Need name, email, phone, or value from the form | Manual tagging with CSS classes |
Need more control over how the event fires | Manual tagging with CSS classes |
What to do next
Start with How to Track Events for the main setup path
Use How to Trigger Events on Specific Page URLs if your form ends on a thank-you page
Use How to Track and Trigger Events using "Classes" if you need stronger manual control
Use How to Test and Verify Your PixelFlow CAPI Setup to confirm your form event is working