Skip to main content

Create a Custom Consent Category

The default categories (Necessary, Analytics, Marketing, Functional) cover most use cases. Use this guide if you need a custom category — for example, personalization, social-media, or a-b-testing.

Step 1: Add the category to your policy

Property → Policy → Categories → Add Category

FieldExample
Slugpersonalization
Display name (EN)Personalization
Display name (DE)Personalisierung
Description (EN)We use these services to personalise your experience.
Always activeNo

Step 2: Assign vendors to the category

After creating the category, go to Categories → [New category] → Add Vendor and assign the relevant vendors.

Step 3: Mark scripts for blocking with the new category

Use the category slug as the data-consent-category value:

<script
type="text/plain"
data-consent-category="personalization"
src="https://personalization-tool.com/widget.js"
></script>

Step 4: Publish a new policy version

Adding a category is a material policy change. After saving, Publish Policy — this will re-trigger consent collection from users who previously consented.

Step 5: Test

  1. Open your site in incognito
  2. ✅ New category should appear in the Preference Center
  3. Accept the new category
  4. ✅ Scripts with data-consent-category="personalization" should load

Ordering categories

Drag and drop to reorder categories in the Preference Center. Necessary is always first (it's not toggleable).

See also: Categories & Purposes