Manual form tracking
Using javascript to securely send captured form data to LeadBoxer
Notes:
Code example for basic form
Delay
setTimeout(function() {
document.myform.submit(); // replace myform with the <form> name
},2000);
// This is an example using jQuery
$(‘form’).submit(function (e) {
var form = this;
e.preventDefault();
setTimeout(function () {
form.submit();
}, 1000); // in milliseconds
});
// You can also specify the class or ID if you have multiple forms on your page
setTimeout(function () {
$(".profile-form").submit();
}, 5000);
// Or if you want to use the fancier ES6 syntax:
setTimeout(() => $(".profile-form").submit(), 5000);Last updated
Was this helpful?
