Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Neste tutorial, mostramos como fazer com que os usuários aceitem receber e-mails de marketing.
O uso desse recurso está sujeito à
política de marketing e de e-mail do Centro de Ações, aos seus próprios Termos de
Serviço e Política de Privacidade e a qualquer regulamentação aplicável das áreas em que
você atua. Se esse recurso não estiver ativado para sua integração, uma caixa de seleção "Reservar com o Google Marketing" ainda poderá ser mostrada ao usuário.
Fluxo de usuário
Na produção, os usuários veem a caixa de seleção de marketing (que é desmarcada por padrão) em todos os fluxos de finalização de compra até que o usuário aceite. O usuário vai permanecer inscrito até
cancelar a inscrição pelo link enviado nos e-mails de marketing de acordo com nossa política de
Inscrições no marketing para parceiros.
A caixa de seleção não será mostrada para os usuários durante a finalização da compra como convidado ou quando eles estiverem usando informações de conta
alternativas.
Como funciona
O usuário conclui o fluxo de finalização da compra e pode ou não marcar a
caixa de ativação de marketing
A Central de ações vai chamar seu servidor de agendamento para concluir o
processo de finalização de compra (CreateBooking).
O Centro de ações (dependendo da seleção do usuário) chama o
método SetMarketingPreference para POST /v3/SetMarketingPreference com
a seleção do usuário. Consulte a tabela abaixo.
Seleção de caixa de seleção do usuário
SetMarketingPreferenceRequest
Status das assinaturas do usuário
Ativar
user_to_receive_marketing teve o endereço definido como true
O usuário está agora inscrito (a menos que
a ativação dupla seja necessária).
Desativar
user_to_receive_marketing teve o endereço definido como false
O usuário cancelou a inscrição. No momento, essa opção não está disponível na
interface do Centro de ações. Os usuários precisam cancelar a inscrição usando o link de cancelamento de inscrição
nos e-mails de marketing. O parceiro precisa implementar e incluir esse link em cada
e-mail de marketing conforme especificado na
política de ativação de marketing do parceiro. A recusa é processada fora do Actions Center
e não é necessário informar essa mudança ao Actions Center.
Nada foi selecionado
Nenhuma solicitação enviada
O status mais recente da assinatura do usuário permanece em vigor. Se o usuário
não tiver feito uma seleção de status de inscrição (ativada ou desativada),
o status padrão será "desativado".
Requisitos da dupla confirmação
A confirmação dupla pode ser necessária dependendo da área e do tipo de e-mails
enviados pelos parceiros. Nesse caso, o parceiro precisa enviar um e-mail ao usuário com um
link para concluir a ativação. Os usuários não serão considerados inscritos
até que concluam o processo de dupla confirmação.
[null,null,["Última atualização 2025-07-26 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."]]