By Irshad Ali · 2 December 2026
Cookie Compliance recognises common trackers and holds them until the visitor chooses, where the region requires consent first. Most sites also load something the built-in list has never seen: a chat widget, a small analytics tool, a video embed from a less common host.
You can now add those yourself on every plan, Free included. You can do it in the dashboard, or by adding two attributes to the tag in your HTML.
What changed
Add Provider is open on every plan, so you can add a service the built-in list doesn’t know, along with the addresses its scripts or iframes load from. You can also change a recognised provider’s category on any plan, if your site uses it differently from how we filed it. In your HTML, data-hu-category now takes a category name (essential, functional, analytics or marketing) as well as the number.
This works the same on the Classic and the New banner engine.
The four categories
| Category in the dashboard | Name in HTML | Number | Held until the visitor accepts it? |
|---|---|---|---|
| Basic Operations | essential | 1 | No. It runs for every visitor straight away. |
| Content Personalization | functional | 2 | Yes |
| Site Optimization | analytics | 3 | Yes |
| Ad Personalization | marketing | 4 | Yes |
The banner holds tags this way where the region requires consent first.
Basic Operations is for what your site needs in order to work, such as a shopping cart or a login. Anything that tracks visitors, like analytics or ads, belongs in one of the other three. If you pick Basic Operations in the dashboard, it warns you before you save.
Add a provider in the dashboard
Use the dashboard when a service loads from a fixed address. You don’t touch any code, and the rule covers every page of the site you select.
- Sign in at app.hu-manity.co and open Autoblocking.
- On the card for the right category, click Add Provider.
- Enter the provider’s name and website. Under URL Pattern, enter the domain the script or embed loads from (for example
widget.example-chat.com), and set Pattern Type to script, or to iframe for embedded content such as a video or map. Click Add Another URL Pattern if the service loads from more than one address. - Click Save. Your change is saved as a draft.
- Click Review changes, check the list, and publish.
- Get the change onto your site. With our WordPress plugin it arrives on its own after you publish; if you don’t see it, use Pull latest settings in the plugin. If you pasted our script into your site by hand, open Integrations, copy the script shown there, and replace the old one. Your new provider travels inside that script.
To move a recognised service to another category, open Providers List on its category card, click the three-dot menu on its row, choose Edit, and pick the new category. A few providers are locked to their category.
On WordPress, plugins add most of the scripts on a page, so the dashboard is usually easier than editing your theme.
Mark a tag in your HTML
For code you write yourself, you can put the category on the tag. Add class="hu-block" and data-hu-category:
<script class="hu-block" data-hu-category="analytics"
src="https://stats.example.com/tracker.js"></script>
<iframe class="hu-block" data-hu-category="marketing"
src="https://video.example.com/embed/123"></iframe>
The category number works in place of the name, so these two tags do the same as the two above:
<script class="hu-block" data-hu-category="3"
src="https://stats.example.com/tracker.js"></script>
<iframe class="hu-block" data-hu-category="4"
src="https://video.example.com/embed/123"></iframe>
Where the region requires consent first, the banner holds the tag until the visitor accepts that category, then runs it. Names work in any letter case, and the numbers 1 to 4 still work. A tag with hu-block but no data-hu-category is treated as Content Personalization.
Whichever way you choose, the Cookie Compliance snippet has to be the first script in <head>, with no async or defer. The banner can only hold a tag that hasn’t run yet. See where to put the snippet.
Check that it works
- Open a private window and load your page. Don’t click the banner.
- Right-click the page, choose Inspect, open the Elements tab, and search for your script’s address. A held tag has
hu-blockedin its class, and an external script’s address has moved fromsrctodata-src. The banner makes this change in the live page, so you won’t see it in View Source. - Accept the category in the banner, and the tag runs.
Steps 1 and 2 show a held tag only where the visitor’s region requires consent first.
What the Free plan covers
Free and Professional get the same tools for this. Free covers 1,000 visits per 30-day cycle. Past that, blocking starts again at the next cycle, or straight away if you upgrade to Professional.
Start free with Cookie Compliance, add your first provider, and run the check above on your own site.
Related guides
- Cookie auto-blocking: how it holds trackers until the visitor chooses
- Test whether your banner really blocks trackers
- Cookie auto-blocking documentation
A consent tool does not, on its own, make a site compliant. This post describes how the banner behaves. It is not legal advice.