Always Submit on close

The Always Submit On Close extension saves whatever a visitor typed into a Campaign form, even if they close the Campaign without clicking Submit. The data goes through as a normal submission, so it still reaches your Pipelines.

Example: A visitor types their email address, then clicks the X instead of Subscribe. Without this extension, you lose that email. With it, Digioh submits it when the Campaign closes.

Before you start

  • It works on pop-up Campaigns only. It doesn't run on inline Campaigns.
  • The page the visitor closes must have a form turned on. If it doesn't, the Campaign closes normally.
  • Don't use it on Spin to Win Campaigns. They don't use the standard form submit.
  • It works on Classic Campaigns only. AI Campaigns don't run this extension.

Step 1: Install the extension

  1. Open the profile menu in the top right and select Extensions.
  2. Find Always Submit On Close and click Install.
  3. Click Publish.

Step 2: Turn it on

The extension does nothing until you add the enable_submit_on_close metadata key. Add it to your account to turn it on for every Campaign, or to a single Campaign.

Note: A Campaign-level value always wins over the Account-level value.

Turn it on for every Campaign

  1. Open the profile menu in the top right and select Account Metadata.
  2. Add a key named enable_submit_on_close with the value true.
  3. Click Save.
  4. Go back to the Campaigns page and select More → Publish Account.

Turn it on for one Campaign

  1. Open the Campaign in the Design Editor and go to Settings → Campaign Settings.
  2. In the metadata section, add a key named enable_submit_on_close with the value true.
  3. Save and publish the Campaign.

Turn it off for one Campaign

If it's on for your whole account, you can still exclude specific Campaigns.

  1. Open the Campaign in the Design Editor and go to Settings → Campaign Settings.
  2. In the metadata section, add enable_submit_on_close with the value false.
  3. Save and publish the Campaign.

Tip: To use it on most Campaigns, turn it on at the Account level, then set it to false on the few Campaigns you want to leave out.

How Account and Campaign settings combine

Account valueCampaign valueResult
truenot setRuns
truetrueRuns
truefalseDoesn't run
false or not settrueRuns
false or not setnot setDoesn't run

Accepted values

Values aren't case-sensitive, so TRUE, True, and true all work.

ToUse
Turn ontrue, 1, on, or yes
Turn offfalse, 0, off, or no (or remove the key)

FAQ

Does it work on multi-page Campaigns?
Yes. When the visitor closes the Campaign, it submits what they entered on the current page, along with anything already submitted on earlier pages. The current page must have a form turned on.

What if the visitor leaves required fields empty?
Nothing is submitted. The form's normal validation still runs when the Campaign closes. If it fails, for example because a required email field is blank, the Campaign just closes.

What if the visitor closes the Campaign more than once?
Only the first close in a page view counts. If the Campaign opens again before the page reloads, closing it a second time won't submit.

Does it work on Spin to Win Campaigns?
No. Spin to Win Campaigns don't use the standard form submit, so leave this off for them.

That's it. Your Campaigns now keep the details visitors enter, even when they close early. Need a hand? Reach out to support@digioh.com.

Want to get more from Digioh?

Get the playbooks leading brands use to convert more visitors into revenue.

Browse the Playbooks

Platform Tour

See what else you can do with Digioh in our self-guided platform tour.

Take the Tour

Still Need Help?

Connect with our team for technical help.

Message Support