Stay organized with collections
Save and categorize content based on your preferences.
This tutorial walks through how to get user-opt in for marketing emails.
Use of this feature is subject to
The Actions Center's marketing and email policy, your own terms of
service and privacy policy, and any applicable regulation of the areas which
you operate. If this feature is not enabled for your integration a Reserve
with Google marketing checkbox may still be shown to the user.
User flow
In production, users see the marketing checkbox (which will default to
unchecked) in every checkout flow. until the user opts in. The user will remain opted in until
they opt out via the unsubscribe link sent in your marketing emails per our
Partner Marketing Opt-ins policy.
The checkbox will not be shown for users during guest checkout or when they are using alternate
account information.
How it works
The user completes their checkout flow and may or may not check the
marketing opt-in box
The Actions Center will call your booking server to complete the
checkout (CreateBooking)
The Actions Center (depending on the selection of the user), calls the
SetMarketingPreference method to POST /v3/SetMarketingPreference with
the user's selection. Please refer to the below table.
User checkbox selection
SetMarketingPreferenceRequest
User's subscriptions status
Opt in
user_to_receive_marketing set to true
User is now subscribed (unless
double opt-in is required).
Opt out
user_to_receive_marketing set to false
User is unsubscribed. This option is currently not available on the
Actions Center UI. Users should unsubscribe through the unsubscribe
link in the marketing emails (the partner must implement and include this link in each
marketing email as specified in
Partner Marketing Opt-ins policy). Opt-out is handled outside of Actions Center
and there is no need to inform the Actions Center of this change.
No selection
No request sent
User's most recent subscription status remains in effect. If the user
has not previously made a subscription status selection (opted in or out)
then the default status should be “opted out.”
Double opt-in requirements
Double opt-in may be required depending on the area and type of emails
partners send. In this case, the partner must send the user an email with a
link to complete their opt-in. Users should not be considered subscribed
until they complete the double opt-in process.
[null,null,["Last updated 2025-05-20 UTC."],[[["\u003cp\u003eThis tutorial explains how to integrate a marketing email opt-in feature into your Reservations End-to-End integration with Google.\u003c/p\u003e\n"],["\u003cp\u003eUsers can opt in or out of marketing emails via a checkbox during checkout, with the system defaulting to opted-out if no selection is made.\u003c/p\u003e\n"],["\u003cp\u003eThe Actions Center communicates the user's preference to your booking server through the \u003ccode\u003eSetMarketingPreference\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003ePartners may need to implement a double opt-in process where users confirm their subscription via email, depending on regional regulations and email types.\u003c/p\u003e\n"],["\u003cp\u003eFor existing integrations, enabling marketing emails requires contacting Google support through the provided form.\u003c/p\u003e\n"]]],["Users can opt in to marketing emails via a checkbox during checkout. The Actions Center then calls the `SetMarketingPreference` method, sending `true` or `false` based on the user's selection. No selection results in no request, maintaining the user's previous status. Opt-outs are handled via an unsubscribe link in partner marketing emails. Double opt-in may be needed, requiring users to confirm their subscription via email. Enabling marketing emails requires contacting the support team via the provided form.\n"],null,["# Add user marketing preference\n\n| **Note:** Please reach out to our support team via [this](https://actionscenter.google.com/support/cases/open) form if you are interested in enabling marketing emails for your existing Reservations End-to-End integration.\n\nThis tutorial walks through how to get user-opt in for marketing emails.\nUse of this feature is subject to\n[The Actions Center's marketing and email policy](/actions-center/verticals/reservations/e2e/policies/platform-policies#marketing-and-email-policy), your own terms of\nservice and privacy policy, and any applicable regulation of the areas which\nyou operate. If this feature is not enabled for your integration a Reserve\nwith Google marketing checkbox may still be shown to the user.\n\nUser flow\n---------\n\nIn production, users see the marketing checkbox (which will default to\nunchecked) in every checkout flow. until the user opts in. The user will remain opted in until\nthey opt out via the unsubscribe link sent in your marketing emails per our\n[Partner Marketing Opt-ins](/actions-center/verticals/reservations/e2e/policies/platform-policies#partner-marketing-opt-ins) policy.\nThe checkbox will not be shown for users during guest checkout or when they are using alternate\naccount information.\n| **Note:** In sandbox and production, the checkbox shows for every checkout flow for ease of development and testing.\n\nHow it works\n------------\n\n1. The user completes their checkout flow and may or may not check the marketing opt-in box\n2. The Actions Center will call your booking server to complete the checkout (`CreateBooking`)\n3. The Actions Center (depending on the selection of the user), calls the [SetMarketingPreference method](/actions-center/verticals/reservations/e2e/reference/booking-server-api-rest/e2e-methods/setmarketingpreference-method) to `POST /v3/SetMarketingPreference` with the user's selection. Please refer to the below table.\n\n| User checkbox selection | SetMarketingPreferenceRequest | User's subscriptions status |\n|-------------------------|--------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Opt in | `user_to_receive_marketing` set to `true` | User is now subscribed (unless [double opt-in](/actions-center/verticals/reservations/e2e/add-ons/add-marketing-preference#double-opt-in) is required). |\n| Opt out | `user_to_receive_marketing` set to `false` | User is unsubscribed. This option is currently not available on the Actions Center UI. Users should unsubscribe through the unsubscribe link in the marketing emails (the partner must implement and include this link in each marketing email as specified in [Partner Marketing Opt-ins policy](/actions-center/verticals/reservations/e2e/policies/platform-policies#partner-marketing-opt-ins)). Opt-out is handled outside of Actions Center and there is no need to inform the Actions Center of this change. |\n| No selection | No request sent | User's most recent subscription status remains in effect. If the user has not previously made a subscription status selection (opted in or out) then the default status should be \"opted out.\" |\n\n### Double opt-in requirements\n\nDouble opt-in may be required depending on the area and type of emails\npartners send. In this case, the partner must send the user an email with a\nlink to complete their opt-in. Users should not be considered subscribed\nuntil they complete the double opt-in process."]]