{"section":"announcements","requestedLocale":"en","requestedSlug":"2022-06-21-save-user-opt-in-using-stored-information-for-future-purchases","locale":"en","slug":"2022-06-21-save-user-opt-in-using-stored-information-for-future-purchases","path":"docs/en/announcements/2022/june/2022-06-21-save-user-opt-in-using-stored-information-for-future-purchases.md","branch":"main","content":"To comply with consumer data privacy laws, such as GDPR (General Data Protection Regulation) in Europe and LGPD (General Data Protection Law) in Brazil, VTEX has developed the **Save user data opt-in** feature. With this solution, customers can decide whether to store their data in the store when making a purchase.\n\n## What has changed?\n\nPreviously, after customers entered their information at checkout or after their first purchase, the store automatically saved their data without requiring confirmation. \n\nFrom now on, two checkboxes will be available on the Checkout screen, allowing users to indicate if they want their personal and payment information to be stored and used for future purchases. This will reduce your customers' shopping time. \n\n![ Save user data opt-in EN](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/announcements/2022/june/2022-06-21-save-user-opt-in-using-stored-information-for-future-purchases_1.PNG)\n\nLearn more in [SmartCheckout - Customer information automatic fill-in](/en/tutorial/smartcheckout-customer-information-automatic-fill-in--2Nuu3xAFzdhIzJIldAdtan#).\n\n##  What needs to be done?\n\nTo enable the **Save user data opt-in** feature in your store, you need to change the `savePersonalDataAsOptIn` parameter in the Checkout `orderForm` object. Learn more in the article [Save user data opt-in on Checkout](https://developers.vtex.com/vtex-rest-api/docs/enable-the-save-user-data-opt-in)."}