کاربران می توانند برای دریافت ایمیل های بازاریابی خارج از تجربه سفارش خود شرکت کنند. هنگامی که بازپرداخت مجدد فعال است، کاربر ویجتی را در حین پرداخت می بیند که از شما می پرسد آیا می خواهد ایمیل های بازاریابی از شما دریافت کند یا خیر. مقدار انتخاب در اقدام ارسال سفارش گنجانده شده است.
ویژگی FoodOrderExtension .optinForRemarketing پاسخ انتخاب کاربر را نگه می دارد. این در SubmitOrderRequestMessage ارسال می شود.
اگر optinForRemarketingtrue باشد، میتوانید کاربر را در ایمیلهای بازاریابی خود مشترک کنید.
اگر optinForRemarketingfalse است یا وجود ندارد، باید وضعیت اشتراک را در سیستم خود همانطور که هست نگه دارید. توجه داشته باشید که کاربران نمیتوانند از طریق ادغام سفارشها از پایان به پایان شما انصراف دهند. آنها فقط می توانند از طریق عملکردهای لغو اشتراک ارائه شده در کانال های بازاریابی شما انصراف دهند.
مثال زیر یک شی FoodOrderExtension را در SubmitOrderRequestMessage نشان می دهد:
تاریخ آخرین بهروزرسانی 2025-01-14 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-14 بهوقت ساعت هماهنگ جهانی."],[[["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"]]