Opt out of personalized recommendations
This article explains how you can let customers opt out of receiving personalized recommendations in Microsoft Dynamics 365 Commerce.
During account creation, new customers are automatically set up to receive personalized recommendations. However, Dynamics 365 Commerce provides various ways for retailers to let users opt out of receiving these recommendations and restrict the processing of their personal data. Authenticated users who opt out of receiving personalized recommendations will immediately stop seeing personalized lists. Additionally, all personal data that is collected for personalization will be removed from personalized recommendations models.
For more information about personalized product recommendations, see Enable personalized recommendations.
Ways for retailers to implement an opt-out experience
Retailers have three ways to implement an opt-out experience.
Opting out on behalf of users
In Account management in Commerce back office, retailers can opt out on behalf of users.
From the back-office home page, search for all customers.
Search for and select a customer, and then select the Retail FastTab.
Under Privacy, set the Disable personalization option to Yes.
Select Save, and close the page.
Module-based opt-out experience
Retailers can let authenticated users opt out of personalized recommendations by themselves. To provide this opt-out experience, add the user opt-out module to customer account profile pages.
Custom extensions
Retailers can create their own extensions to manage the opt-out experience for users. For more information, see Call Retail Server APIs and Online channel extensibility.
Obtain a digital copy of personalized recommendations data on behalf of an authenticated user
Customers might want to obtain a digital copy of their personal data and also see an exported view of their recommendations results. If a customer requests this information, the retailer must create a customized extension that calls the Retail Server application programming interface (API) and queries for the full results from the Picks for you list, based on the customer's customer ID. The results can then be exported in comma-separated values (CSV) format and shared with the customer.
The following example shows how a retailer can accomplish this task.
The retailer creates a custom extension to pull personal recommendations data on behalf of the user. For information about how to create modules, clone existing modules, call Retail Server APIs, and call data actions, see Online channel extensibility.
The custom extension makes a call to the get-recommendations core data action and passes the required information to it, based on the requirements of the list. In the case of the Picks for you list, the extension must pass the correct list name and customer ID to the data action.
One way to create the custom extension is to clone the existing product collection module that is used to return recommendations results. By cloning this existing module, a retailer can modify the existing code and add a new button that exports the recommendations results to a CSV file. For more information, see Clone a module library module and Product collection modules.
For a full view of the Retail Server API library, see Retail Server Customer and Consumer APIs.
After the custom extension is created, the retailer can export a CSV file of all recommendations results, based on the unique customer ID of the authenticated user.
The retailer can share the exported CSV file that contains the full personalized list of recommended products with the authenticated user.
Additional resources
Product recommendations overview
Enable Azure Data Lake Storage in a Dynamics 365 Commerce environment
Enable product recommendations
Enable personalized recommendations
Enable "shop similar looks" recommendations
Add product recommendations on POS
Add recommendations to the transaction screen
Adjust AI-ML recommendations results
Manually create curated recommendations
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for