In SiteCatalyst admin, a custom event called Dropped Off was configured. Also a custom variable (eVars) was configured in which the name of last accessed field by user before she dropped off, was set.
As beforeunload event is triggered even when form is submitted, ensure that custom link tracking code is not executed. This can be achieved by making use of boolean flag which will be used to check form is submitted or not before sending data to SiteCatalyst.
You can find sample JS code at github.
In SiteCatalyst, report can be seen under Custom Conversion > Custom Conversion 1-10 > eVar Name
|Sample report in Site Catalyst|
Above implementation can be further extended to include form validation errors so as to track for which validation error user is abandoning the page.
Just wanted to say thanks for this. I took this code and customized it for my own forms. It is mint!
Thank you for sharing, this is a must-have!! I thought I'd share this, in case it's helpful: you can track all your forms at once using Insiteful.co's form abandonment plugin, no coding skills required. Otherwise, Nishant's tutorial above is an excellent resource for any developers familiar with JS :)ReplyDelete
The presence of grey machines threatens revenue era within the playing trade. If folks opt to use the machines as an alternative of spending money on lotteries or going to a on line casino, the federal government revenue 1xbet shall be diminished. As could be imagined, the difference between mechanical and computerised slot machines is in how they're powered. Traditional slot machines used a mechanical generator to find out} outcomes, whereas computerised slots makes use of micro laptop chips to take action.ReplyDelete