Response pages

Learn how to customize response pages.

Response pages

When malicious requests are detected by DataDome, three types of response pages are available:

  • Device check to verify the device of the user
  • Slider to challenge the request
  • Block to "hard-block" the request

You can customize the look of these pages from your DataDome dashboard, in Management → Response Pages: logo, website name, colors, and font, as well as the Device check display mode. Customizations are defined per domain, so each of your domains can display its own branding.

📘

Need to go further?

Customers on an Enterprise or Premium plan can also edit the texts and translations of the response pages, and add custom CSS and JavaScript. See Advanced Response Page Customization.

Customizations by domain

Management → Response Pages lists your customizations, one per domain or domain pattern:

  • The Default customization applies to all requests that do not match a domain-specific customization.
  • A domain-specific customization overrides the Default one for that domain.
📘

Domains Limit

Up to 100 custom templates can be added.

To add a customization for a domain:

  1. Click New customization.
  2. Enter the Domain Or Pattern the customization applies to.
  3. Choose what the page starts from:
    • DataDome default: the page provided by DataDome, with no customization.
    • A copy of a customization: the Default customization is preselected, so the domain keeps showing the page it shows today until you edit it.
  4. Click Create.
New customization dialog
⚠️

Effective immediately

Visitors of this domain see the new page as soon as you create it.

To view or edit a customization, click its domain in the list. The ⋮ menu of each row also lets you copy it to other domains or delete it.

Customize the brand of your response pages

Open a customization to display its Brand settings. They apply to every response page of the domain.

Brand settings of a customization
  • Page: selects the page (Slider page, Block page, or Device check page) displayed in the Preview panel.
  • Logo: upload your logo with Replace, or go back to no logo with Remove. Shown today displays the logo currently published.
  • Your Website's Name: tells users that the response page is part of your website's experience (see Web accessibility).
  • Logo Alternative Text and Logo Alternative Text Language: the text of your logo, and the language used to pronounce it, for screen readers.
  • Colors: the Button Color (slider and buttons) and the Button Text Color (text on the slider and buttons). Use the Contrast checker link to verify that the two colors are readable together.
  • Font: the font used on the response pages (DataDome default: Roboto).

When Device check page is selected, a Display mode setting is also available:

  • Show a message: visitors see a title and an explanation while their device is checked, for at least the Minimum Display Time.
  • Invisible: nothing is shown; the check runs in the background and the page redirects as soon as it ends.

Each setting shows whether it uses the DataDome default value or a Modified value.

Preview and save your changes

  • Click Refresh preview to see your changes in the Preview panel. Visitors keep seeing the published page until you save.
  • Click Save to publish your changes, or Discard changes to go back to the last saved version.

Saving your changes includes a CDN cache invalidation and may take a few minutes to be taken into account.

Apply the same brand to other domains

Click Copy to Other Domains (in the customization header, or in the ⋮ menu of the list), select Brand, then select the destination domains. Only the published version is copied: save your changes first.

Web accessibility

Our response pages and their customization options are designed to help you meet the Level AA criteria of the WCAG 2.2 standards.

To ensure this level of accessibility, you should:

  • Add your website's name. This information will inform users that the response pages are part of your website's experience. It is akin to adding your logo, but for people with visual impairments.
  • Write the text from your logo. If your logo contains text, you should enter it in the Logo Alternative Text field. This allows screen reading devices to convey the content of your logo to users.
  • Add the language for pronouncing the text in your logo. If you have used the Logo Alternative Text field, you must specify the language for the text in Logo Alternative Text Language. This helps screen reading devices pronounce it with the correct accent.
  • Ensure the colors you use are compatible. While you can customize the colors on our response pages, you must ensure their contrast ratio is at least 4.5:1. You can verify this using the Contrast checker link.

Did this page help you?