ESW Marketing Opt-In
create newsletters, notification emails, and SMS for shoppers.
The ESW Marketing Opt-in feature enables retailers to manage shopper communication preferences more effectively. Below are the key benefits and capabilities:
- Targeted Communications: Create separate newsletters, notification emails, and SMS campaigns specifically for shoppers who have opted in.
- Seamless Opt-In Handling: The opt-in preference of registered shoppers can be passed in the pre-order payload, automatically enabling the opt-in checkbox at ESW checkout for those who previously subscribed.
- Flexible Opt-Out Option: Shoppers retain control and can opt out anytime by unchecking the opt-in box during checkout.
- Integration with Marketing Platforms: Opt-in data can be stored and synced with external marketing platforms such as Salesforce Marketing Cloud (SFMC), Bronto, and others, enabling centralized campaign management.
How it works
1. ESW Email Marketing Opt-in
Step 1 – Pre-Order
- Logged-in + Opt-In Enabled:
Metadata is included in the pre-order request to enable email marketing opt-in on ESW checkout.
- Guest or Opt-In Disabled: Metadata is included to disable email marketing opt-in.
Step 2 – Post-Order
- Opted In at Checkout:
ESW retrieves the SFCC profile (if it exists) and setscustom.eswMarketingOptIn = true. - Opted Out at Checkout:
SFCC profile is updated tocustom.eswMarketingOptIn = false.
2. ESW SMS Marketing Opt-in
Step 1 – Pre-Order
- Logged-in Shopper (Opted In)
If SMS opt-in is enabled in the shopper’s profile:
eswSMSOptin: trueis sent in the pre-order metadata.- The SMS checkbox is pre-selected on the ESW checkout.
- Guest or Opted Out Shopper
If the shopper is a guest or has not enabled SMS opt-in:
eswSMSOptin: falseis sent in the pre-order metadata.- The checkbox will be unchecked by default.
Step 2 – Post-Order (Registered Shoppers)
- Checked SMS Opt-In
custom.eswSMSOptin = trueis saved to the profile.
- Unchecked SMS Opt-In
custom.eswSMSOptin = falseis saved to the profile.
Guest
Guest with Matching Profile
- Checked Opt-In at Checkout
custom.eswSMSOptin = trueis updated in the profile.
- Did Not Check Opt-In
- No changes are made to the profile.
Post-Registration Guest
ESW Opt-In Configuration in the Customer Profile
Customer profiles in SFCC can be used to manage ESW marketing opt-in preferences, enabling merchants to target subscribed shoppers with personalized campaigns such as newsletters, emails, and SMS.
Accessing Customer Profiles
To view and manage opt-in preferences: Navigate to Merchant Tools > Customers > Customer Profile
ESW Opt-In Preferences
Each customer profile includes the following custom attributes:
- ESW Marketing Opt-In: Indicates whether the customer has opted in to ESW marketing emails.
- ESW SMS Marketing Opt-In: Indicates whether the customer has opted in to ESW SMS marketing.
Shopper Experience
This section describes how the ESW Marketing Opt-In and SMS Opt-In features impact the shopper journey during checkout.
First-Time Shopper Experience
For new or guest shoppers who have not previously set their Marketing Opt-In or SMS Marketing Opt-In preferences:
- When they proceed to the ESW checkout, both opt-in checkboxes (Email and SMS) will be unchecked by default.
- Shoppers have the option to manually opt in by checking either or both boxes during checkout.
- Their selections will be captured and stored:
- For guest shoppers, the preferences will be applied to their profile if they register later.
- For returning shoppers, the preferences will be updated in their existing SFCC customer profile.
Repeat / Return Shopper Experience
For returning shoppers who have previously opted in to Marketing and/or SMS communications:
- The corresponding opt-in checkboxes on the ESW checkout will be pre-selected based on their saved preferences.
- Shoppers can still update their preferences during checkout by checking or unchecking the boxes.
- Any changes made will automatically update the customer profile in SFCC, ensuring accurate and up-to-date consent records.
Testing in Sandbox/Staging Environment
To verify the functionality of the Marketing Opt-In and SMS Marketing Opt-In features, follow these steps:
Step 1: Login and Checkout
- Log in as an existing registered customer.
- Add a product to the basket and proceed to Checkout.
- On the ESW checkout page, verify that:
- The Marketing Opt-In checkbox matches the profile attribute.
- The SMS Marketing Opt-In checkbox matches the profile attribute.
Step 2: Update and Place Order
- Check or uncheck the Marketing and SMS Opt-In checkboxes as desired.
- Complete the checkout process and place the order.
Step 3: Verify Profile Update
- After the order is placed, go to:
Business Manager → Customers → Profiles - Open the customer record and confirm that the customer profile attributes have updated.
These updates are triggered automatically by the order confirmation webhook from ESW to SFCC.