Consent Management: Creating Custom Privacy Experiences
In this tutorial, we'll walk through creating new privacy experiences, including custom headless experiences for programmatic consent management.
After reading this, you'll be familiar with how to create new privacy experiences and configure them for your needs.
Prerequisites
For this tutorial you'll need:
- A Fides Cloud or Fides Enterprise account
- The role of
Owner
orContributor
for your Fides organization - At least one system with a data use on your Data Map. Read how to add systems to the Data Map now
- At least one privacy notice configured. Read how to configure privacy notices now
Creating a New Privacy Experience
To create a new privacy experience:
- Navigate to Consent → Experiences to view your current privacy experiences
- Click the "Create new experience" button in the top right
- You'll be taken to the configuration page.
Configuring Your Experience
The configuration page allows you to set up:
- Experience name: give your experience a descriptive name
- Experience type: select one of the following:
- Banner+Modal: a banner that appears at the bottom of the page with a modal for detailed preferences
- Modal: a modal dialog that appears in the center of the page
- Headless: an experience that does not display any UI but can be used to manage consent programmatically or with a custom UI
- Privacy Center: a standalone privacy center page
Once you save your experience, the experience type cannot be changed. Make sure you select the right type for your needs.
It is not possible to create a custom TCF experience at this time. TCF experiences are automatically configured when TCF is enabled for your account.
The specific configuration options available will depend on the type of experience you select. For detailed configuration instructions, see:
- Configuring the Banner+Modal Experience
- Configuring the Modal Experience
- Configuring the Privacy Center
Headless Experience
The Headless experience type is a more advanced option that provides programmatic access to Fides' consent management functionality without any pre-built interface. "Headless" means that it includes all the API functionality but no UI components.
This experience type:
- Fully leverages the Fides JavaScript SDK for consent management
- Provides complete control over the user interface design
- Requires custom development to create the UI and handle user interactions programmatically
- Does not include built-in preference storage or UI state management