I was thinking perhaps it should be possible to track success rate of web-2-lead forms.
My second guess is attributed to some problems on Salesforce side (we currently have workflows duplicating tasks), but before I start accusing Salesforce, I wan't to collect some data.
The simplest way would be to trigger and event when form is submitted and when users are returned to our website (aka after input type="hidden" name="retURL" value="http://www.site.com/form?sent=1).
Now, unless we submit the some user data to Analytics as well, we wouldn't be able to see much more data than conversion rate, but perhaps that's good for starters?
I have been playing with events a bit.
I have decided to send the tracking beacon upon successful form validation, as that would give me the most accurate data.
See the validation script below:
I have seen something about setting timeout for the function?
Does anyone know what it means?