Skip to content
Privacy Center & FidesJS
Privacy Center
Multiple Privacy Centers

Multiple Privacy Centers

To vary email wording by business unit, brand, or region on one deployment, follow property-specific messaging.

Multiple privacy centers allows you to configure different privacy centers for different paths on the same domain or for different domains entirely. This feature requires API-based configuration.

Multiple Privacy Centers on Different Paths

The paths property allows you to set different paths for each of your properties on the same domain.

Example configuration:

  • Property 1: paths: ["/"] (root path)
  • Property 2: paths: ["/some-brand"]
  • Property 3: paths: ["/my-other-brand"]

When users access:

  • privacy.mydomain.com/ → Privacy center from Property 1 (if FIDES_PRIVACY_CENTER__USE_API_CONFIG=true)
  • privacy.mydomain.com/some-brand → Privacy center from Property 2
  • privacy.mydomain.com/my-other-brand → Privacy center from Property 3

By default, when accessing the root path (privacy.mydomain.com/) the privacy center will read from the File-based configuration. To change this behavior and fetch the configuration from the API instead:

  • Astralis Cloud and Astralis Serverless: Contact support to enable FIDES_PRIVACY_CENTER__USE_API_CONFIG=true
  • Self-hosted: Set FIDES_PRIVACY_CENTER__USE_API_CONFIG=true in your deployment configuration

Multiple Privacy Centers on Different Domains

To set up multiple privacy centers on different domains:

  • Astralis Cloud and Astralis Serverless: Please contact your Account Manager to discuss enabling multi-domain setup for your privacy centers.
  • Self-hosted:
    1. Deploy a separate privacy center container for each domain you want to use
    2. Set a unique path for each property in your configuration
    3. Configure each container's .env file with the matching FIDES_PRIVACY_CENTER__ROOT_PROPERTY_PATH

Example setup for two domains:

  1. Configure Properties

    • Property 1 (brand1.com): Set paths: ["/brand1"]
    • Property 2 (brand2.com): Set paths: ["/brand2"]
  2. Configure Privacy Center Containers

    • Container 1 (brand1.com): Set FIDES_PRIVACY_CENTER__ROOT_PROPERTY_PATH="/brand1"
    • Container 2 (brand2.com): Set FIDES_PRIVACY_CENTER__ROOT_PROPERTY_PATH="/brand2"

Each privacy center container will now serve the configuration for its specific property.