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.

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?