Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
В этом руководстве рассказывается, как заставить пользователя подписаться на маркетинговые электронные письма. Использование этой функции регулируется политикой маркетинга и электронной почты The Actions Center , вашими собственными условиями обслуживания и политикой конфиденциальности, а также любыми применимыми нормами в сферах, в которых вы работаете. Если эта функция не включена для вашей интеграции, пользователю все равно может быть показан флажок «Зарезервировать с маркетингом Google».
Пользовательский поток
В рабочей среде пользователи видят маркетинговый флажок (который по умолчанию не установлен) в каждом процессе оформления заказа. до тех пор, пока пользователь не даст свое согласие. Пользователь будет оставаться включенным до тех пор, пока он не откажется от подписки, перейдя по ссылке для отказа от подписки, отправленной в ваших маркетинговых электронных письмах, в соответствии с нашей политикой согласия на участие в партнерском маркетинге . Флажок не будет отображаться для пользователей во время гостевой проверки или когда они используют информацию альтернативной учетной записи.
Как это работает
Пользователь завершает процесс оформления заказа и может отметить или не отметить поле для подписки на маркетинг.
Центр действий позвонит вашему серверу бронирования для завершения оформления заказа ( CreateBooking ).
Центр действий (в зависимости от выбора пользователя) вызывает метод SetMarketingPreference для POST /v3/SetMarketingPreference с выбором пользователя. Пожалуйста, обратитесь к таблице ниже.
Выбор флажка пользователя
SetMarketingPreferenceRequest
Статус подписок пользователя
Выбрать в
user_to_receive_marketing установлено в true
Теперь пользователь подписан (если не требуется двойное согласие ).
Уклоняться
user_to_receive_marketing имеет значение false
Пользователь отписан от подписки. Эта опция в настоящее время недоступна в пользовательском интерфейсе Центра действий. Пользователи должны отказаться от подписки, воспользовавшись ссылкой для отказа от подписки в маркетинговых электронных письмах (партнер должен внедрить и включить эту ссылку в каждое маркетинговое электронное письмо, как указано в политике согласия на партнерский маркетинг ). Отказ от участия осуществляется за пределами Центра действий, и нет необходимости сообщать Центру действий об этом изменении.
Нет выбора
Запрос не отправлен
Последний статус подписки пользователя остается в силе. Если пользователь ранее не выбрал статус подписки (включен или отключен), то статус по умолчанию должен быть «отключен».
Требования к двойному согласию
Двойное согласие может потребоваться в зависимости от региона и типа электронных писем, которые отправляют партнеры. В этом случае партнер должен отправить пользователю электронное письмо со ссылкой для подтверждения согласия. Пользователи не должны считаться подписавшимися до тех пор, пока они не пройдут процесс двойного согласия.
[null,null,["Последнее обновление: 2025-07-24 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."]]