Learn how to use Conditional CTA Form Fields and the Label Only Field Type to make your Form CTAs compliant with the GDPR.
Before you Begin
- To use these features, you need to be an Account Admin or Content Manager.
What are Conditional CTA Form Fields?
Conditional CTA Form Fields (or just Conditional Fields for short) is a feature available on Form CTAs. The concept is pretty simple: not every user requires the same experience when interacting with a Form CTA. Conditional Fields allows you to choose which fields on a Form CTA are shown to a given user, based on whether certain conditions have been met.
What is the Label Form Field?
You can specify several different types of fields on a Form CTA, including text, dropdown, etc. The Label Only field type allows you to add a field that consists only of the text label, with no associated input field.
How Do These Features Apply to the GDPR?
The GDPR has specific requirements for the collection and management of data belonging to EU citizens, so you have to design your CTAs accordingly to incorporate opt-ins, a privacy statement, etc.
Designing to meet these requirements typically makes a Form CTA more complex. If you adopt a one-size-fits-all approach, this would mean presenting the most complex version of the CTA to all visitors to your Hub — including to non-EU visitors, to whom the GDPR requirements don't apply. Doing this could potentially hurt your conversion rates.
With Conditional Fields, you can tailor the Form CTA experience to your visitors: EU visitors will see a GDPR-compliant version of the CTA, while non-EU versions will see a simplified version.
How Does This Work in Practice?
To illustrate how this works, consider an example Form CTA with the following fields:
- First Name
- Last Name
- First Name
- Last Name
- [ ] I'm an EU Citizen
Below, we'll show you how you can do this with your own Form CTAs.
Create a Condition for Conditional Fields
To create Conditional Fields on Form CTAs, you first have to create a condition: when this condition is met, the conditional fields will be displayed.
- Log in to your Uberflip account.
- If you have more than one Hub, click on Hubs and select the Hub you want to work on.
- In the sidebar menu on the left, click on Calls-to-Action.
- In the menu on the right, select the Form CTA you want to modify and click on it (Edit), or create a new one.
- Click on the Layout section of the workflow, and find the section labelled Form Fields.
- Click on Manage next to Form Fields.
- In the pop-up window that appears, click on +Add New.
- You can now add a new field that will form the condition to be met. This can be anything you like, but in this example, we will look at using a checkbox for users to self-select if they are EU citizens.
- One other possible option is to use a country selection drop-down where the condition is tied to EU countries only, but this is more time-consuming to set up.
- In the Add New Field menu, use the dropdown next to Field Type to select Checkbox. Next to Field label, type "I'm an EU Citizen" (or something else of your choice). Finally, click on Save.
- You'll be returned to the Manage Fields view.
- On the Manage Fields view, click on +Add New again.
- In the Add New Field menu, use the dropdown next to Field Type to select Label Only.
- Lastly, use the dropdown next to Displays to change the selection to Conditionally.
- This will cause an additional Field Conditions section to appear at the bottom of the window. Use the dropdown menus to set up the condition to be met. From left to right, these select:
- The form field to use as a condition (which you set up previously)
- The conditional statement (Equal To or Not Equal To)
- The condition (e.g. Checked or Not Checked)
- If you want, you can also set up multiple conditions to be met. To do that, just click on the + button to the right.
- When you're finished, click on Save to add the new conditional field.
- You can also set up the GDPR-mandated opt-in fields the same way: click on +Add New again, then select Checkbox under Field Type and type something like "Opt in to future emails" into the Field label field. Under Displays, choose Conditionally again and set up the same condition as before:
- Finally, click on Save to add this field as well. Repeat this as many times as you need for each opt-in that needs to be on the CTA.