HomeDev GuideAPI Reference
Dev GuideAPI ReferenceLegal TermsDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

Optimizely Forms

Describes instructions for Optimizely Forms on what developers should have in mind when developing a site, and what partners/customers should do when a data subject asks for their PII data.

Collect data

  • Optimizely Forms collects the data subject's user name (of the currently authenticated user on the website) and the browser IP address to perform those features if you configure Optimizely Forms to:
    - not Allow anonymous submissions
    - not Allow multiple submissions from the same IP/cookie
    You should inform the data subject about this, using the Form description or Form confirmation message, before the data subject submits the form.
  • Any page that uses Optimizely Forms to request PII data input should use HTTPS protocol, TLS 1.2 or later.
  • If you use the Hidden visitor profiling feature, Optimizely Forms collects data from the browser request of the data subject. You should inform the data subject about it.
  • You should inform the data subject about how the user's data is used and for what purpose. Put that information in the form description, or use a Rich text element to inform and summarize at the last step before the data subject submits the form.

See also Collect data.

Ask for consent

If you are using Optimizely Forms, you are probably collecting PII. As with other PII data, you should ensure that sensitive data is appropriately protected and that consent is captured along with the PII. See also Ask for consent.

When creating forms, you need to consider the following issues:

  • If you use features described in the Collecting Data section, Optimizely Forms might collect data. You can turn this off in each form setting.
  • Get consent (if necessary) and consider the following:
    • State the purpose of the data collection in the form description.
    • Use a checkbox element to ask for consent.
    • Build a customized form field in Optimizely for a consent checkbox to let the editors manage the consent type and message.
    • Form elements that collect PII data should not be mandatory. Make the consent optional for different types of PII data independently (that is, visitors should be able to consent to collecting their email addresses but not their phone numbers, for example).
    • Link to your privacy policy or document that clearly states why you are collecting the PII data, for how long, and how visitors can withdraw their consent.
  • If you need to change a current form, make a copy and leave the historical form intact to ensure submissions and consent reflect the current form. Alternatively, add a "Hidden predefined value," which includes the full consent text, so the consent is stored with the submission.
  • Feature to check the "DNT" header on the request will be implemented soon in the built-in FormElement. The DNT functionality will be overridable so that partners can build their own "Do not track" implementation.
  • Introduce an appropriate retention policy, such as deleting partially completed form submissions within 30 days and completed form submissions when they are no longer useful.

Store data

  • Optimizely Forms stores data submissions in the DDS, as does the Optimizely Content Management System (CMS) database. The stored data might be PII data, which is thus considered PII data.

    • Historically, data is stored for a long time, but an Information Lifecycle Management (ILM) - Data retention) the feature is planned.
    • Partially filled-in submissions are deleted regularly.
  • If you use forms to collect PII, you should encrypt the form submission data and restrict access to the data; see Encrypting form submission data and Restricting access to data.

  • On-premises installations require encryption of your database instance TDE and encryption at rest.

  • You might not use Optimizely as the final destination for form submissions. You can use forms as the ingress point to redirect the submissions to other endpoints (CRM, Marketing Automation, and so on) by using Webhook or the Marketing Automation Integration connector. In this case, submissions (or PII) are stored elsewhere.

See also Store data.

Use data

  • The data submissions should be accessed and used carefully. See Restricting access to data.
    • Developers can process form submissions through the Forms Service API. Developers should consider excluding PII data before processing and not show DataSubmission elsewhere.
    • Editors can view form submissions through the edit view.
    • Editors can export submission data to JSON, XML, or CSV format files. The exported data should be considered PII data and should not be stored in any other unsafe store. Restrict the permissions to this feature carefully.
  • Optimizely Forms submission storage should not be considered long-term or permanent storage.
    • Having it as a temporary buffer is an acceptable solution.
    • You should configure the ILM feature (Data Retention) to clear the storage periodically when it is available.
    • No editing feature is planned to modify the submitted value.

See also Data guidelines.

Fetch data

Data collected by forms are usually point-in-time changes such as signing up, requesting information, or reporting address changes. Such data should be deleted after the visitor has responded to it or after the data was recorded at the destination. Suppose you do need to find form submissions from a specific individual. In that case, recent versions of Optimizely Forms (Forms 4.14.0 and later) have a built-in search capability, which can be used to export submissions. See also Fetch and update data.

  • Data Submissions cannot be accessed through the Forms Service API by default. To let developers read the data, it must be explicitly configured (for each form).
  • After configuration, developers should be able to fetch most types of data using the API.

Delete data

  • You should use the upcoming ILM feature to delete data after 30 days.
  • Partners can delete most types of data.
    • Developers can use the Optimizely Forms API.
    • Editors can use the View form submissions feature in the CMS edit view.
    • A more advanced search user interface will be provided to help editors locate and delete data.
  • There is no backup of the form submissions. When you delete it, it is gone from the CMS database. However, there might be backups of the database.
  • If data submissions are sent to other third-party products (like Marketing Automation Integration systems or other systems through Webhook), Optimizely Forms cannot control the data.

See also Delete data.