Home > @uniformdev/context > SetConsentCommand

SetConsentCommand type

Changes the visitor's storage consent setting. Setting consent to false will trigger deletion of any stored data for the visitor. Scores are still collected in-memory when consent is false; just not persisted.

Signature:

References: StorageCommand