HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityLog In

Legacy Consent Function

This topic describes how to update customer consent via the legacy consent function in Optimizely Data Platform (ODP).

This function is still accepted but no further improvements will be made. Please refer to the new Consent function for the latest.

Opt-in

zaius.subscribe({list_id: 'zaius_all', email: '[email protected]'});

Opt-out

zaius.unsubscribe({list_id: 'zaius_all', email: '[email protected]'});

Did this page help you?