Skip to content

TAG_ATTRIBUTE

const TAG_ATTRIBUTE: "data-tb-category" = 'data-tb-category';

Defined in: apply.ts:15

Element attribute used by Tickbox-aware scripts to declare their category.

Example

<script type="text/plain" data-tb-category="analytics" src="plausible.js"></script>

On grant, the SDK rewrites type to text/javascript so the browser executes the script. On deny, the script is left as text/plain (browser ignores it).