Skip to content

Configure Consent Popup

User roles

Drupal administrator, Mukurtu manager

Some Mukurtu CMS sites may choose to use consent popups that appear when their site is accessed. These can require users and visitors to their site consent to certain terms of use in order to access the site or can require visitors to acknowledge something about the content on the site. Follow the instructions below to enable and configure your site's consent popup.

  1. From the left-hand admin menu, navigate to the Structure icon and select the Block layout link or go directly to /admin/structure/block.

    Screenshot of the left-hand admin menu with the structure menu open and the block layout link highlighted.

  2. Navigate to the Consent Popup line and select the "Enable" button.

    Screenshot of the block layout page with the consent popup enable button highlighted.

  3. Select "Save blocks" to save your settings.

    Screenshot of the block layout page with the save blocks button highlighted.

You can configure your consent popup settings by selecting the Consent Popup "Configure" button, or by navigating to the Configure Consent Popup link in the Dashboard.

Screenshot of the block layout page with the consent popup configure button highlighted.

From the Dashboard, navigate to the Look and Feel section and select the Configure Consent Popup link.

Screenshot of the look and feel section of the Dashboard with the Configure Consent Popup link highlighted.

  1. Use the Title field to change your title. This field includes the default title "Consent Popup".
  2. Use the Display title toggle to select whether to display the title of your consent popup.

    Screenshot of the Configure block page for the consent popup with the title and display title fields highlighted.

  3. Select the English dropdown section. All of the fields in this section are required.

    Tip

    This dropdown is configured automatically to reflect the languages that are enabled on your site. If you have more than one language enabled, you must configure this popup individually for each language. To change your site's primary language or add additional languages to your site, refer to our Translation Workflow article.

    Screenshot of the configure consent popup page with the English dropdown highlighted.

  4. Use the Popup Text field to edit the text on the consent popup.

  5. Use the Declined Text field to edit the text that will display if the user chooses to decline to accept the terms of the consent popup.

    Screenshot of the consent popup form with the popup text and declined text highlighted.

  6. Use the Accept button text field to edit the text on the "Accept" button. The default value for this field is Yes.

  7. Use the Decline button text to edit the text on the "Decline" button. The default value for this field is No.

    Screenshot of the consent popup form with the accept button text and decline button text highlighted.

  8. If the consent popup is declined, use the Link url if declined field to redirect users to another link.

  9. Use the Text for url if declined field to set link text for the URL.

    Screenshot of the consent popup form with the URL redirect and text for url if declined fields highlighted.

  10. Select the Non blocking toggle to allow users to see the page even if they decline.

  11. Select the Redirect on declined toggle to automatically redirect users who decline to the declined URL.

    Screenshot of the consent popup form with the non blocking and redirect on declined toggles highlighted.

  12. Use the Cookie info section to define your Cookie Name and Cookie life time, or how many days until the cookie is deleted. This setting determines how many days until the cookie is automatically deleted.

    Screenshot of the cookie info section with the cookie name and life time

  13. Optionally, you can use the second Cookie info section to configure the block's Background color and Background opacity. You can use the Elements to blur field to blur specific site elements using CSS selectors.

    Screenshot of the second cookie info section with the background color, background opacity, and elements to blur fields.

  14. Select the "Save block" button to save your consent popup.

    Screenshot of the configure consent popup form with the save block button highlighted.