Modify the appearance of the consent dialog

The consent dialog is located in folder ~/App_Data/Sitefinity/TrackingConsent/. By default, Sitefinity CMS has one default template called consentDialog.html.

Following are two examples of consent dialogs, which you can use and customize.

EXAMPLE: blueDialog.html -  consent dialog styled in blue. This example shows how you can apply custom CSS styles to tracking consent dialog.

EXAMPLE: pageReloadDialog.html - consent dialog that reloads the current page, if the user has changed the initial choice for tracking. This example shows how you can use client-side API to reload the current page when the user provides consent.

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?