FAQs for Collecting and Managing Consent

Find answers to common questions about collecting and managing consent, including scanning technologies, deploying consent banners, managing preferences, and publishing privacy notices.

What happens to newly added, uncategorized cookies on my site?

Cookies will not be blocked until they are categorized, have the correct source URLs included, and the Auto-Blocking script has been republished to include the new URLs.

How do I scan pages that are behind authentication?

See see Scanning Behind Authentication for information on configuring a scan to pick up pages behind login.

When and where can we use the test scripts?

The test scripts are designed to be leveraged on any domain. Test scripts are not tied to the domain you scan in the tenant.

For instance, if the scanned URL is domain.com, but the testing website is www-test.staging.com, you can still use the test scripts from domain.com on this testing website. The only other step required is to ensure you publish the scripts before using them on the site.

For more information, see Implementing Cookie Consent Scripts.

When and where can we use the production scripts?

The production scripts are tied to the domain scanned in the OneTrust application.

For instance, if you scan domain.com, then the production script will only function on domain.com and any of its sub-domains, paths, or pages. If you try to integrate it on test.com, it will not work correctly; the banner will keep popping up on every page or every page refresh even if you have consented to it. In order to use the production scripts, you must publish them first.

For more information, see Implementing Cookie Consent Scripts.

When does the OneTrust script change and what are the changes?

The OneTrust Testing/Production CDN remains the same in all scenarios except:

  • When the auto-blocking setting is enabled/disabled.

    When auto-blocking is enabled, the source (src) of the script tag is modified to add OtAutoBlock.js. Make sure to copy and paste the new scripts on your website.



    Similarly, when auto-blocking is disabled, source (src) OtAutoBlock.js is removed from the script. Ensure you update the correct scripts on the website.

  • When ‘Enable language detection of scripts’ is updated from corresponding to the visitor’s browser settings to corresponding to the language from the HTML page and vice-versa

    If Determine the language from HTML page is chosen, a new attribute, data-document-language="true" is added to the script tag. Make sure to copy and paste the new scripts on the website when enabling this option



    Similarly, when the language determination is chosen from Visitor’s browser settings, the attribute data-document-language is removed. Be sure to update to the correct scripts on your website.

When should we publish the testing CDN or production CDN?

When there is any change within OneTrust tool across categorizations, templates, geolocation rule groups, etc. you are required to publish the testing CDN or production CDN to view the changes on test or production site, respectively.

Without publishing the scripts, the changes will not reflect on test or production website.

Can we publish multiple domains at once?

Yes, you can bulk publish domain scripts. This functionality is currently available for preview. To enable this feature, contact OneTrust support.

Can you assign a template to a domain or just an organization?

Templates are not assigned to a domain. A template is assigned to a geolocation rule group, which in turn is assigned to a domain.

You can reassign a template to another organization if you have multiple organizations in your organizational hierarchy. Please note that users assigned to a particular organization will only be able to view items (including domain scans, templates, geolocation rules, etc.) assigned to that organization and any of its child organizations. For details on creating and managing organizations, please refer to Managing Organizations.

What does "default" mean for a template or a geolocation rule?

A default template means any time a new geolocation rule group is created, the default template will be assigned to this geolocation rule group.

A default geolocation rule group means anytime you add a domain for scanning and do not assign a geolocation rule group manually, the domain will automatically be assigned to the default geolocation rule group.

Can I assign the same geolocation rule to multiple domains?

Yes, you can assign multiple domains to the same geolocation rule by clicking the Assign to Domains button on the Assigned Domains tab of the Geolocation Rule Group Details screen. All assigned domains will appear in the Assigned Domains tab.

For more information, see Configuring Geolocation Rules.