Please note that this is no longer being updated. Kindly visit the new Cookiebot support area (https://support.cookiebot.com/hc/en-us) for updated guides, articles and FAQs. If you do not find the answer to your question there, you are welcome to post it in the Cookiebot community (https://support.cookiebot.com/hc/en-us/community/topics).
If you experience that other than strictly necessary cookies are set before the user has consented, you need to implement prior consent on your website.
Example on modifying an existing Google Analytics Universal script tag:
<script type="text/plain" data-cookieconsent="statistics">
ga('create', 'UA-00000000-0', 'auto');
If your website is loading scripts dynamically, use the functions of the Cookiebot API to hold back scripts and cookies that require consent.