<script type="didomi/html">tags and add
data-*attributes determining when the tags should be loaded based on consent given to vendors and/or purposes.
data-*attributes) and content from the
data-vendorattribute accepts a single vendor ID and conditionally loads a tag when the user gives consent to a vendor and to all the purposes required by that vendor.
data-vendor-rawattribute accepts a single vendor ID and conditionally loads a tag when the user gives consent to a vendor (does not include its purposes).
data-vendor-rawattribute) is either:
data-purposesattribute accepts a comma-separated list of purpose IDs and conditionally loads a tag when the user gives consent to all the specified purposes.
data-vendoris the recommended way of conditionally loading a tag as you need consent for the specific vendor and for its associated purposes. It can be combined with
data-purposesif you want to force consent for specific purposes on top of the vendor's associated purposes. It can be because the vendor has chosen legitimate interest as a legal basis for one or more purposes or because a purpose is not associated with the vendor.
cookies(Information storage and access) and
<script>tags are loaded on the page after the user gives consent (be it on the same page or on a previous page).
data-loadingattribute with the value
immediate. This supports use cases like always loading a tag on a page and passing the current user consent status to it.