Trigger – on Form Submission
January 29, 2018
By default, Form Submission Triggers fire tags on form submissions on all pages, but you can add conditions if needed.
You can choose from the following conditions:
Fire on submit form with the chosen ID.
Fire on submit form which sends a request to the chosen URL.
Fire on submit form with the chosen class.
Fire on form submission on pages with chosen URL.
E.g. fire a tag for all https://piwik.pro/contact/ visitors who submit a form.
Fire on form submission when visiting a page with proper page path. Contains an initial ‘/’ followed by the path of the URL.
E.g. Fire a tag on all visitors who visit pages with a path which contains: /contact/ who submit a form.
Fire on form submission when visiting a website with proper hostname.
E.g. fire a tag for all piwik.pro visitors who submit a form.
Fire on form submission if a visitor came straight from the page with defined URL.
E.g. fire a tag for all visitors who arrived here from the page with https://piwik.pro/contact/ URL who submit a form.
Fire on form submission if a visitor came to my website from website with the chosen domain URL. This parameter is being ‘remembered’ during whole visitor’s session.
E.g. Fire a tag on form submission if a visitor came from google.com who clicked on the chosen element.
Fire on form submission if a visitor came to my website from my chosen campaign (based on utm_campaign parameter).
Fire on form submission based on referrer type. There are five options to choose:
Fire on form submission for a new visitor or a returning one. It base on Piwik PRO Tag Manager cookie.
Variables added by a user
You can add many conditions to one trigger. All of the conditions must be met in order to fire a tag.