setUserConsent

Set a value indicating whether user from GDPR region allowed to collect personal data which is used for analytics and ad targeting. If the value is set to false personal data will not be collected.

Parameters

consent

true if user provided consent to collect personal data, otherwise false.