Manual script tagging
May 18, 2026
To make any script load only after consent:
<!-- Original tag -->
<script src="https://example.com/tracker.js"></script>
<!-- Tagged tag -->
<script
type="text/plain"
data-consentbit-category="marketing"
src="https://example.com/tracker.js">
</script>
ConsentBit replaces the type="text/plain" with type="text/javascript" and reloads the script when the visitor consents to that category.
Frequently asked questions
No items found.
.png)
.png)




