Reference
Manual tagging
Hold back any script or embedded frame until the visitor agrees, with two small HTML attributes.
For a tool CookieTrue does not recognise, mark it yourself.
#Scripts
Change the script's type to text/plain and give it a category:
<script type="text/plain" data-ct-category="marketing">
// your tracking code
</script>It also works for scripts with a source:
<script type="text/plain" data-ct-category="analytics" src="https://example.com/tool.js"></script>When the visitor agrees to that category, CookieTrue turns it into a normal script and runs it.
#Embedded frames
Use data-ct-src instead of src:
<iframe data-ct-src="https://www.youtube.com/embed/xxxx" data-ct-category="marketing"></iframe>Until the visitor agrees, the frame stays empty.
#Categories
Use one of preferences, analytics or marketing. Scripts that are strictly necessary need no marking.
After tagging, run a scan to check that nothing still sets cookies early.
Still stuck? Write to [email protected]. A person answers, usually the same day.