Hi, I've been speaking to some support agents but I can't seem to find a solution to this.
I hired a GDPR specialist lawyer to check my website. Turns out the most serious issue right now is that is is tracking other than necessary cookies BEFORE any user accepts or denies consentment on the cookie banner. These cookies are mostly GA and some Ezoic analytics cookies.
I turned on the TCF 2.0 option and added the GA script the agents told me, but Ezoic's CMP is still tracking its cookies. Also, there are some Ezoic analytic cookies being tracked before consent, but the support team told me "these cookies don't collect personal data". The thing is, for being fully compliant, necessary cookies are the only ones that can be tracked before permission. So they're not giving me any solution to this.
I'm switching to Cookiebot because I give up, but before that I wonder if maybe I should add this line of javascript code to make Ezoics CMP work correctly (one of the agents told me it wasn't necessary). You can find it on the Instructions tab inside the consent management app.
Customizing Your Website to Work with the Ezoic Consent Management Platform
If you need to make changes to your site content, tracking or ads based on user's consent choices, you must include an EzConsentCallback javascript function on your page. This function gets called once the user has made their selections. The function will receive an object with the users consent selections in the format of {necessary:true|false,preferences:true|false,statistics:true|false,marketing:true|false}. An example callback function is below:
<script>
function EzConsentCallback(consent) {
// consent contains the necessary, preferences, statistics, and marketing properties with boolean values
if(consent.marketing) {
do marketing stuff here - like insert ads.
}
}
</script>