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. } }
Amazon--My store online