File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
integrations/mailchimp/src Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @gitbook/integration-mailchimp ' : minor
3+ ---
4+
5+ Add GDPR disclaimer to mailchimp block
Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ type MailchimpAction =
3939 | { action : '@ui.modal.close' ; listId ?: string ; cta ?: string } ;
4040
4141const DEFAULT_CTA = 'Sign up to our mailing list to receive updates!' ;
42+ const DEFAULT_DISCLAIMER =
43+ 'By clicking Subscribe, you agree to the processing of your email address in accordance with our privacy policy.' ;
4244
4345/**
4446 * A Block to subscribe to a Mailchimp mailing list.
@@ -151,6 +153,9 @@ const mailchimpSubscribe = createComponent<
151153 />
152154 </ box >
153155 </ hstack >
156+ < box >
157+ < text > { DEFAULT_DISCLAIMER } </ text >
158+ </ box >
154159 { typeof success === 'boolean' && success === false ? (
155160 < box >
156161 < text > An error occured, the site owner has been notified</ text >
You can’t perform that action at this time.
0 commit comments