उपयोगकर्ता, ऑर्डर करने के अनुभव के अलावा, मार्केटिंग वाले ईमेल पाने के लिए ऑप्ट-इन कर सकते हैं. रीमार्केटिंग के लिए ऑप्ट-इन करने की सुविधा चालू होने पर, उपयोगकर्ता को चेकआउट के दौरान एक विजेट दिखता है. इसमें उससे पूछा जाता है कि क्या उसे आपसे मार्केटिंग ईमेल चाहिए.
ऑप्ट-इन वैल्यू, ऑर्डर सबमिट करने की कार्रवाई में शामिल होती है.
FoodOrderExtension.optinForRemarketing एट्रिब्यूट में, उपयोगकर्ता के ऑप्ट-इन के जवाब की जानकारी होती है. इसे SubmitOrderRequestMessage में भेजा जाता है.
अगर optinForRemarketing की वैल्यू true है, तो उपयोगकर्ता को मार्केटिंग ईमेल पाने के लिए सदस्य बनाया जा सकता है.
अगर optinForRemarketingfalse है या मौजूद नहीं है, तो आपको अपने सिस्टम में सदस्यता की स्थिति को पहले जैसा ही रखना होगा. ध्यान दें कि उपयोगकर्ता, ऑर्डरिंग के एंड-टू-एंड इंटिग्रेशन की मदद से ऑप्ट आउट नहीं कर सकते. वे सिर्फ़ आपके मार्केटिंग चैनलों में दिए गए, सदस्यता छोड़ने के फ़ंक्शन की मदद से ऑप्ट आउट कर सकते हैं.
इस उदाहरण में, SubmitOrderRequestMessage में FoodOrderExtension ऑब्जेक्ट दिखाया गया है:
[null,null,["आखिरी बार 2024-11-26 (UTC) को अपडेट किया गया."],[[["Users can opt-in to receive marketing emails during checkout through a widget that's enabled upon request to Google."],["The `optinForRemarketing` attribute within the `FoodOrderExtension` object indicates the user's opt-in choice, sent with the `SubmitOrderRequestMessage`."],["If `optinForRemarketing` is true, you can add the user to your marketing email list; if false or not present, maintain their existing subscription status."],["Users can only opt out of marketing emails via your provided unsubscribe methods, not through the Ordering End-to-End integration."],["The remarketing opt-in widget is only displayed to users on their initial order attempt with a specific partner via Google."]]],["Users can opt into marketing emails via a checkout widget, enabled through a Google consultant. The `optinForRemarketing` attribute in the `SubmitOrderRequestMessage` indicates the user's choice. A `true` value allows subscription; `false` or absence requires maintaining the current status. Users cannot opt out through this integration, only through the partner's marketing channels. The widget is displayed on a user's first order attempt with a specific partner via Google.\n"]]