Create a Rule
Create an EVENTS, select Submit for Event Types:
Here you need to do some settings for the event type Submit and you need to locate it. Here, use the CSS method to locate it.
Return to the page of the website, move the mouse to Submit:
and then right-click to view Inspect, and the cursor will be positioned at the line of the source code where you are. Then copy it as follows:
Paste into Elements matching the CSS selector:：
There are other settings here, such as And having certain property values and Advanced options (Bubbling)
Advanced options (Bubbling) generally check the first two by default. Copying CSS using the method above is already positioned to the lowest level, so there is no relationship of inclusion.
These settings can be selected by default.
Create the first Action and set event1 to Form Submit. The specific settings are as follows:
Create a second Action and set it do not treat is as a page views. The specific settings are as follows:
The final complete Rules setup is:
Publish & Test
Publish a version and test it.
Reference 24 Form Tracking Implementation