How to transfer data about submitting the web form to Google Analytics
How to submit an event for dispatch?
- Go to the web form or create a new one from the template library
- Go to the "Content" tab and click on the Button
- On the right side the block settings will open, in the Action on click section select the "run javascript" item
- You can insert a javascript tracking code for Google Analytics into the window
The code will work only if the form is valid, i.e. if the "I agree to the website privacy policy" checkbox is required.
Otherwise, the code will not be executed and the target will not be passed to the system.
The tracking code is different for each system.