Пользователи могут подписаться на получение маркетинговых писем по электронной почте вне процесса оформления заказа. Если включена подписка на ремаркетинг, во время оформления заказа пользователь видит виджет, который спрашивает, хотят ли они получать от вас маркетинговые электронные письма. Значение согласия включено в действие отправки заказа.
Если optinForRemarketing имеет значение true , вы можете подписаться на рассылку маркетинговых писем.
Если optinForRemarketing имеет значение false или отсутствует, вы должны сохранить статус подписки в своей системе как есть. Обратите внимание, что пользователи не могут отказаться от участия в вашей сквозной интеграции заказов. Они могут отказаться от подписки только с помощью функций отказа от подписки, предусмотренных в ваших маркетинговых каналах.
В следующем примере показан объект FoodOrderExtension в SubmitOrderRequestMessage :
[null,null,["Последнее обновление: 2025-01-14 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"]]