Skip to main content
All CollectionsIntegrationsMagento Open Source and Adobe CommerceContacts
Capture opt-in consent on your store with Magento Open Source and Adobe Commerce
Capture opt-in consent on your store with Magento Open Source and Adobe Commerce

Capture opt-in consent against your newly signed-up contacts.

Gareth Burroughes avatar
Written by Gareth Burroughes
Updated over a week ago

Capturing opt-in consent against your new signups allows you to send marketing campaigns to your new subscribers lawfully and ethically. It also might help you demonstrate compliance with many of the world's data protection regulations, such as GDPR and CCPA.

When you capture consent, you can ensure that all your contacts want to hear from you, leading to increased loyalty, repeat purchases, and additional sales for your store.


1. Write and display consent text on your store

First, you must write your opt-in consent text and manually add it to all your store's signup forms or opt-in checkboxes, except for the Newsletter Subscription section in the customer account – we can add the text here automatically.

Tips for writing consent text

You must display your consent text prominently and clearly on any of your store's signup forms; for example, newsletter signup forms, registration forms, and checkout pages. It must explain what type of marketing communications you send, how often you send them, and how the contact can opt-out if they want to in the future.


This is not legal advice, and we recommend you get professional legal guidance when writing your consent text to ensure you adhere to any applicable laws.

You can have two versions of consent text:

  • Marketing consent text (checkout, account)

    The consent text you display alongside any account-based signup areas on your site, for example, your account registration, dashboard, and checkout. We record this consent text against any new contacts that sign up from a URL that includes checkout/ or customer/account/.

  • Marketing consent text (other pages)

    This is the consent text you add alongside any newsletter signup forms on your site, for example, in the footer or header of your page. We record this consent text against any new contacts that sign up from a URL that doesn't include checkout/ or customer/account/.


2. Capture consent text for new signups

Next, you must make sure that any new signups have the consent text recorded in their insight data.

  1. Go to Stores > Configuration > Dotdigital > Configuration and find the heading Consent.

  2. Expand the Import subscribers with consent drop-down menu, then select Yes. This ensures that the consent text you enter in the following steps is recorded against new signups.

  3. For Opt-in consent text (checkout, account), enter the consent text you want to record against contacts that opt-in from a page with a URL that includes checkout/ or customer/account/.

    This text automatically displays on the Newsletter Subscriptions page in your customers' accounts. You must add it anywhere else manually; to learn more, check out Step 1.

  4. For Opt-in consent text (other pages), enter the consent text you want to record against contacts that opt-in from any page that doesn't have a URL that includes checkout/ or customer/account/.

  5. Select Save Config.

Did this answer your question?