Issue: “A tag read consent state before a default was set” (Sample Error)
Reason? This error is all about script order! Basically, there’s no
Solution
Reason? This error is all about script order! Basically, there’s no default consent set before any tags are loaded.
Solution: To resolve this issue, ensure that your consent defaults are defined before any Google Tags or OneTrust scripts are loaded. The correct order of scripts should be as follows:
Define consent defaults –
The best way to do this is through the OneTrust setting dashboard or Google Tag Manager.
Place the OneTrust script in Google Tag Manager either by: