Automatically Submit Forms on Specific Box Pages

Digioh App Marketplace

You can configure specific pages to automatically and immediately submit their form. This might be useful if:

  • You are injecting data into the dataLayer using Custom JS on prior pages
  • You are using button metadata injection on prior pages (which does not trigger submission)
  • You want to augment prior submissions in a progressive form with hidden custom field values
  • You are using other Digioh apps that modify the data layer and you want to submit their results
  • You want to automatically submit data to specific integrations only on certain pages

Well there’s an app for that. Head over to the profile menu, top right, and select Custom JS (Apps). Then install App #59 Form Auto Submit.

You can then configure page level metadata to trigger auto-submit when that page is shown. If you are unfamiliar with Digioh metadata, read this article first.

The metadata command key for this app is “form_autosubmit”. You can set the value to “true” to use the default integration assigned to the box, or you can enter a comma separated list of specific integration IDs. Note that if you override with specific integration(s), the default integration assigned to the box will not run.

With this app, you can also clear the data layer after submission or on any specific page:

Automatically Clear Data Layer on Specific Box Pages