OneTrust Cookie Auto-Blocking™ (Enhanced Interface)

Important:

The Enhanced Auto-Blocking Interface feature is under Public Preview. Please contact OneTrust Support to request early access.

OneTrust Auto-Blocking automates the process of setting your cookies, scripts, and tags to respond to the preferences selected by site visitors.

Other blocking options, such as Tag Manager integrations and JavaScript type-rewriting may be leveraged to achieve cookie blocking. Auto-blocking, however, can automate this process on many sites where it is a good fit.

Note:

For more in-depth information on Auto-Blocking, including implementation requirements and prerequisites, common hosts, and FAQs, see OneTrust Cookie Auto-Blocking™.

Auto-Block Tab Reference



Field
Description
Auto-blocking

Enable this setting to turn on Auto-Blocking.

Manage sources
New sources

The number of new sources added from the most recent scan, or added manually since the last script publication.

Blocked sources

The number of sources on your block list.

Safe sources

The number of sources on your safe list.

Sources with multiple matches

The number of sources with more than once matching source URL.

Search

Enter text to search for a source.

Status

The status of the source.

New sources have not yet been added to your script.

Live sources have already been added to the Auto-Blocking file in your published script.

Source

The cookie's source URL.

List

The list where the URL has been added.

Purpose

The purpose of the cookie.

Matches

The number of URL matching source URLs for the cookie, either Exact (1) or Multiple.

Added by

How the cookie was added to its list, either Manual or Scanner.

To add new source URLs

You can add URLs to the Safe list or Block list.

  • The Safe List contains tags that you approve to run automatically, regardless of consent. Once added to the safe list, these tags will always load and are never blocked.

  • The Block List contains tags that should be held back until a visitor provides the appropriate consent. For example, marketing or analytics tags will not fire unless the user opts in.

  1. On the Cookie Consent menu, select Websites.

    The Websites screen appears.

  2. Click the name of a website.

    The Website Details screen appears.

  3. Navigate to the Auto-Block tab.
  4. Enable the Auto-Blocking setting, if disabled.

    Auto-Block tab with Auto-Blocking setting enabled

    The Auto-Block tab appears.

  5. Click the Add source button.

    The Add source modal appears.

  6. Configure the fields. For more information, see Add Source Screen Reference.
  7. Click the Search button.

Add Source Screen Reference



Field
Description
Source

Enter the source URL for the tracking technology.

List

Select the list to which you want to add the cookie.

Target all matches

Select this setting to target any cookies containing the pathway in the source.

Target exact match

Select this setting to target cookies that match the source exactly.

If you add a specific URL like abc.com/test.js to the safe list, the URL remains unblocked in future scans for that domain. But if the URL is dynamic, such as abc.com/test123.js, and changes every time with each page load (e.g., to abc.com/test456.js), the new URL will be treated as a new source and blocked in the next scan.

Purpose

Select a purpose for the cookie.

To add existing source URLs to the safe list or block list

  1. On the Cookie Consent menu, select Websites.

    The Websites screen appears.

  2. Click the name of a website.

    The Website Details screen appears.

  3. Go to the Auto-Block tab.
  4. Enable the Auto-Blocking setting, if disabled.
  5. Select the checkboxes for the source URLs you want to add to the block list or safe list.

    Auto-Block tab showing source URLs that can be added to the block list or safe list
  6. Click the Add to safe list or Add to block list button.
    Note:

    When performing bulk actions on the Auto-Block tab, you can only perform one action at a time. If you need to add some sources to the block list and others to the safe list, you must move those sources separately.

To add filters to the source list

  1. On the Cookie Consent menu, select Websites.

    The Websites screen appears.

  2. Click the name of a website.

    The Website Details screen appears.

  3. Go to the Auto-Block tab.
  4. Enable the Auto-Blocking setting, if disabled.
  5. Select the Add filter button. A list of filter criteria appear.
  6. Select the value you want to filter by. The list of sources repopulates with a filtered view.

    Filtered source list example
  7. Repeat the steps to add additional criteria.
    Tip:

    Click Hide to conceal the selected filter criteria.

    Click Clear all to reset the filter.

To view URL matches

If targeting all matches for a source, you can view the list of matching sources.

  1. On the Cookie Consent menu, select Websites. The Websites screen appears.

  2. Click the name of a website. The Website Details screen appears.

  3. Go to the Auto-Block tab.
  4. Enable the Auto-Blocking setting, if disabled.
  5. In the Matches column, click the Multiple link for a source with multiple matches. The Manage matches modal appears.


  6. Review the matches.
  7. Click the Close button.