For examples, you may choose to group the Tealium consent categories "big_data", "analytics", and "monitoring" under a single category called “performance”. This may be easier for the user than selecting from the full list of categories. You may choose to represent this in a slider interface, ranging from least-permissive to most permissive (all categories).
The following example shows a category-based consent model where the user must explicitly select each category from the full list of categories. The default is UNKNOWN, which queues hits until the user provides their consent. If the user consents to any categories, events are de-queued, and the consent category data is appended to each tracking call.