Email opt out via Javascript?


#1

Is there a way to trigger email opt out via the Javascript API, either via a contact property or custom event?


#2

Hi @greghinchgs,

Not directly; the only way to opt out a contact is to make a request to the email subscriptions API, which cannot be done client side.