OneTrust is installed.
Does it block?
OneTrust holds back scripts that carry a category or that auto-blocking knows. A normal script tag in the theme loads anyway.
Your account after the first check

Sample shop. Every point opens its fix with the steps for your tool.
The most common causes
The banner shows, the choice is saved, and data still goes out. Usually the script carries no OneTrust category.
- 01
Script tag without a category
The browser runs a normal script tag right away. OneTrust only holds it back once it has type="text/plain" and the category class, for example class="optanon-category-C0002" for performance.
Art. 5(3) Directive 2002/58/EC
- 02
Auto-blocking does not know the service
Automatic blocking (OtAutoBlock.js) only holds back addresses OneTrust assigns to a category. A service the OneTrust scan did not find keeps loading.
Art. 5(3) Directive 2002/58/EC
- 03
iframes without a category
YouTube and maps load as soon as the iframe has a src. It is held back with data-src instead of src and the category class, usually optanon-category-C0004.
Art. 5(3) Directive 2002/58/EC
- 04
Tag in Google Tag Manager
A tag without “Require additional consent” (Advanced settings) fires whatever was chosen in the banner.
Art. 5(3) Directive 2002/58/EC
Step by step
Measure
Open the page without consenting and note which services load; then click “Reject” and look again. The report does this for you, with the place each service is added.
Mark script tags
Change every tracker tag to type="text/plain" with class="optanon-category-C0002" (performance), C0003 (functional) or C0004 (targeting). Custom categories have their own numbers; OneTrust shows them on the category.
iframes
For YouTube and maps, rename src to data-src and add class="optanon-category-C0004".
Measure again
Check again without consent and after “Reject”. Only when the service is gone in both runs is it held back.
Questions
What do C0002, C0003 and C0004 mean?
They are OneTrust's default categories: C0001 strictly necessary, C0002 performance, C0003 functional, C0004 targeting. If you renamed or added categories, use the number OneTrust shows on the category.
Is auto-blocking enough?
It only holds back what OneTrust assigns to a category. Whatever the OneTrust scan did not find keeps loading. With the category class on the script tag, a script is held back either way.
Do I need to check again after updates?
Yes. Theme, plugin and app updates often add services back; a weekly check catches that.
What a scan shows
It opens your page without consenting, notes every service, then clicks Reject and measures again. For every service that still loads, the report gives the matching script tag with the OneTrust category. Right away for your website: cookie check.
As of 15 November 2026. We name the reference so you can read it yourself; this is not legal advice.
More guides
- Cookies before consent: what ePrivacy requires
- Price information in web shops: unit price and shipping
- European Accessibility Act checker for web shops (WCAG)
- Cookiebot not working or not blocking?
- Usercentrics not blocking?
- Borlabs Cookie not blocking?
- Real Cookie Banner not blocking?
- Complianz not blocking?
- Check your cookie banner yourself in three steps
- Google Fonts self-hosted but still loading?
- Dark patterns in online shops: five patterns and the fix
- EU withdrawal button 2026: what your shop needs
- Unit price and the “order with obligation to pay” button
- GPSR: manufacturer information in your web shop
- CookieYes not blocking or not working?
- Wix cookie banner check: does it really block?
- GTM consent: fire tags only after consent in Tag Manager
- Google Maps embed and GDPR: load the map only after a click
- YouTube embed and GDPR: load the video only after a click
- Google Analytics without consent?
- Meta Pixel before consent?
- TikTok Pixel before consent?
- Hotjar before consent?
- Microsoft Clarity consent mode: check what it sends
- Google reCAPTCHA and GDPR: load it only on the form page
- HubSpot cookie banner not showing?
- Shopify cookie banner check: does it really block?
- Google Consent Mode v2 checker: test and set it up
- Cookie checker for websites: free, with the reject test
- Security headers check: free website security checker