Hey there –
I’d like to add a couple pieces of javascript that execute only after a contact form is sent successfully. This would be for tracking in Google AdWords, Twitter ads, etc.
There was an old thread from two years ago that said I could just add the code to avia.js after the form_sent=true; code. I opened up that file and don’t see the code that registers a successful submission of the contact form. Did it get moved in the last two years? Is there a new place I can put that code?
Thanks!
Hey rickpark!
Please see – https://kriesi.at/support/topic/syntax-error-when-adding-tracking-code-to-form-submit-button/ – you can add this code to an “onclick” event which triggers when the submit button is clicked.
Cheers!
Peter