How to block scripts before consent (manual tagging)?
May 18, 2026
If you have a script that ConsentBit’s scanner didn’t detect, or you want to be explicit, tag it manually:
- Open the page or template where the script is embedded.
- Find the <script> tag, for example:
- <script src="https://example.com/tracker.js"></script>
- Change the type attribute and add a category:
- <script type="text/plain" data-consentbit-category="marketing" src="https://example.com/tracker.js"></script>
- Save and republish.
- Now this script will only load when the visitor accepts the Marketing category.
Valid categories: necessary, preferences, analytics, marketing.
Frequently asked questions
No items found.
.png)
.png)




