Do no track change_form event


#1

How to disable change_form event and track form only with submit_form event .

Here is my code to track the form

window.snowplow(‘enableFormTracking’, {
forms: {
whitelist: [‘formclass’]
},
fields: {
whitelist: []
}
});

I want to track the form only when the submit button clicked.Do not want to track the form when any field change.

When I am using whitelist It’s not tracking when any field changes but in case of submit form also its not tracking field changes.

I want to disable change_form event and want to track every field when form is submitted.


#2

@vinayakfutak, You cannot do it with enableFormTracking method. You would rather have to use a custom self-describing event. Here’s the post explaining the form tracking with examples: Form tracking with Snowplow [tutorial].