Form submission trigger

By default, form submission trigger fires a tag when a visitor submits a form on any page on your website, but you can adjust its conditions so that the tag fires when a visitor submits a certain form.

A form submission trigger in Tag Manager.

You can choose from the following conditions:

  • Form ID: Fires when a visitor submits a form with the chosen ID.
  • Form URL: Fires when a visitor submits a form that sends a request to the chosen page URL.
  • Form classes: Fires when a visitor submits a form with the chosen CSS class.
  • Form name: Fires when a visitor submits a form with the chosen name.
  • Page URL: Fires when a visitor submits a form on the page with the chosen page URL. For example,  a visitor is on https://clearbank.com/product-tour and submits a form.
  • Page path: Fires when a visitor submits a form on a page with the chosen page path. For example, a visitor is on /product-tour and submits a form.
  • Page hostname: Fires when a visitor submits a form on a website with the chosen hostname. For example, a visitor and submits a form on any page for clearbank.com.
  • Referrer: Fires when a visitor submits a form on any page to which they were referred by the chosen referrer. For example, a visitor comes from https://clearbank.com/blog to any page and submits a form.
  • External referrer: Fires when a visitor submits a form on any page to which they were referred by the chosen external referrer. For example, a visitor comes from https://medium to any page on your website and a submits a form.
  • Campaign: Fires when a visitor submits a form on any page to which they were referred by the chosen campaign (based on a utm_campaign parameter).
  • Traffic source: Fires when a visitor submits a form on any page to which they came from the chosen traffic source: campaignorganic searchsocialreferraldirect.
  • Returning visitor: Fires when a returning visitor submits a form on the chosen page (this mechanism is based on the Piwik PRO Tag Manager cookie).
  • Variables: Any added variable will show up on the list of conditions and you can use it to define trigger conditions.
Was this article helpful?

Be the first to rate this article.

Technical Support

If you have any questions, drop us a line at support_SPC@piwik_SPC.pro.

We’re happy to help!