mercredi 2 novembre 2016

Track.form snippet from segment.io cancels redirect of the form

After form submission, it has to redirect to another page:

$("#formId").signUp({ APIUrl : 'http://ift.tt/2fiBKFd', redirectUrl : 'staging' });

But, after I install track.form snippet in the footer, redirect is not working and page with form just reloads.

var form = $('#formId'); analytics.trackForm(form, 'Signed Up Spanish', { email: document.email });




Aucun commentaire:

Enregistrer un commentaire