Enable and disable Tracking consent

Tracking consent is turned off by default. If you have a multisite Sitefinity CMS instance, it is turned off for all of the domains.

PREREQUISITES: Before using the Tracking consent functionality, you must prepare the consent dialog in one of the following ways:
  • Modify the default template to enter the consent message title and text and localize it, if required. 
    For more information, see Modify the text of the consent dialog.
  • You can also use a custom consent dialog, which you must create and place in folder ~/App_Data/Sitefinity/TrackingConsent/

To turn on and customize Tracking consent, perform the following:

  1. In Sitefinity CMS backend, navigate to Administration » Settings.
  2. In the left pane, click Tracking Consent.
    There is one default entry, whose scope is all domains, and the tracking consent is turned off by default
  3. To turn Tracking consent on for all domains from the multisite instance, click Any domain and in Ask for user consent select Yes.
  4. In Consent type, select whether to use Sitefinity's built-in consent dialog or an externally provided one.
    For more information, see Integrate third-party Tracking consent manager.
  5. If you are using the built-in consent dialog, you can change the default template, when needed.
    By default, Sitefinity CMS uses the consent dialog consentDialog.html that is located in folder ~/App_Data/Sitefinity/TrackingConsent/.
    To change the default template, click Change, select the template, and click Done.
  6. Click Done.
  7. To create another Tracking consent rule, click Add domain.
  8. Enter the domain or subdomain.

    NOTE: Tracking consent applies to all pages belonging to a domain. You cannot set individual tracking to certain pages or folders.

    NOTE: Tracking consent treats domains and subdomains separately – you can turn off tracking for a domain and turn on tracking for a subdomain of this domain.

  9. Select whether you want to Ask users for consent to track their activities.

    EXAMPLE: If you have Tracking consent enabled for all domains, you can turn it off for a particular one, or vice versa.

    For more information, see Priority of Tracking consent rules.

  10. Save your changes.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?