smootify-consent [data-action]
Consent buttons (accept all, decline all, save choices, open preferences, close).
smootify-consent [data-action] is a template, read by smootify-consent: it is never defined on its own.
Where it can go
- Inside
smootify-consent. - Out of place, it stays in the page and does nothing.
What it requires
Nothing beyond Smootify: it works on every plan.
Attributes on the element
- It reads
data-action.
Attributes inside it
| Group | Attribute name | Values |
|---|---|---|
| Cookie consent | data-action | 11 |
| Cookie banner (condition) | consent-condition | 1 |