Stay organized with collections
Save and categorize content based on your preferences.
Users can opt-in to receive marketing emails outside of their ordering
experience. When remarketing opt-in is enabled, the user sees a widget during
checkout that asks if they want to receive marketing emails from you.
The opt-in value is included in the submit order action.
The FoodOrderExtension.optinForRemarketing
attribute holds the opt-in response of the user. This is sent in the
SubmitOrderRequestMessage.
If optinForRemarketing is true, you can subscribe the user to your
marketing emails.
If optinForRemarketing is false or not present, you must keep the
subscription status in your system as-is. Note that users can't opt out
through your Ordering End-to-End integration. They can only opt out through
unsubscription functions provided in your marketing channels.
The following example shows a FoodOrderExtension object in a
SubmitOrderRequestMessage:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["Users can choose to receive marketing emails during checkout through a dedicated widget, requiring prior enablement by contacting Google."],["The `optinForRemarketing` attribute within the `FoodOrderExtension` object indicates the user's marketing email preference and is included in the order submission."],["When `optinForRemarketing` is `true`, partners can add the user to their marketing lists; if `false` or absent, the existing subscription status remains unchanged, and opt-out must be handled through separate channels."],["The remarketing opt-in widget is presented to users only during their initial order attempt with a specific partner through Google."]]],[]]