You can configure specific pages to automatically and immediately clear the data layer. This might be useful if you are directing users from the last page of the campaign back to the beginning and want to clear their previously submitted data.
Well, there's an extension for that. Head over to the profile menu, top right, and select Extensions. Then go to "Form Functionality" and install "Form Auto Submit and Clear Data Layer".
You can then configure page level metadata to trigger the clearing of the data layer when that page is shown. If you are unfamiliar with Digioh metadata, read this article first.
The metadata command key for this extension is "datalayer".
You can set the values to the following:
- "clear_all" this will clear all of the data layer
- "clear_custom" to only clear custom data layer values. This will leave the core elements that were entered which can include:
- Name
- First Name
- Last Name
- Phone
- Opt In

This app can also be used to automatically submit a form on specific pages:
/docs/automatically-submit-forms-on-specific-box-pages
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 ?