Как настроить получение согласия пользователей в Sourcepoint

Собирайте согласие посетителей вашего сайта, чтобы защитить их конфиденциальность и при этом собирать ценную статистику. Рекомендуем использовать платформу для запросов согласия (CMP) или систему управления контентом (CMS), чтобы собирать согласие и отправлять его в Google.

Шаг 1. Настройте баннер с запросом согласия

  1. Sign up at Sourcepoint.
  2. Configure your banner using the “Getting started” wizard.
  3. Be sure your banner complies with the requirements in the Google EU User Consent Policy (EUUCP).

For more details on Sourcepoint banner setup, read this article.

Шаг 2. Настройте режим согласия

Set up using Google Tag Manager

  1. Open Google Tag Manager and navigate to your container.
  2. In Tags, click New.
  3. Name the tag.
  4. Click Tag Configuration.
  5. Click Discover more tag types in the Community Template Gallery.
  6. Search for “Sourcepoint CMP - Consent Mode V2 by Source Point USA”
  7. Configure the default settings you’d like to use under “Google consent mode default values by region”. Add a row for global settings with regions blank and add additional rows for region-specific settings using comma-separated ISO 3166-2 country codes in the “Region” box.
  8. Click Add.
  9. Click Triggering.
  10. Select Consent Initialization - All Pages.
  11. Click Save.
  12. Test your container by clicking Preview in the top right corner (see instructions for testing below).
  13. Publish your container.

Set up using another platform or directly from your website’s code

  1. In the Sourcepoint console, navigate to “Properties” and click the copy code button associated with the desired property ID to receive a CMP code snippet.
  2. If you use a website builder, review their documentation to find out how to implement code in the <head> tag of each page. Otherwise, skip to step 3.
  3. In the <head> tag of each page (see step 2 if you use a website builder), paste the following code followed by the CMP script you copied in step 1 at the top of the <head> tag. Note: This ensures the CMP functions properly.

<script>

// Define dataLayer and the gtag function.

window.dataLayer = window.dataLayer || [];

function gtag(){dataLayer.push(arguments);}

// Set default consent for specific regions according to your requirements

gtag('consent', 'default', {

'ad_storage': 'denied',

'ad_user_data': 'denied',

'ad_personalization': 'denied',

'analytics_storage': 'denied',

'regions':[<list of ISO 3166-2 region codes>]

});

// Set default consent for all other regions according to your requirements

gtag('consent', 'default', {

'ad_storage': 'denied',

'ad_user_data': 'denied',

'ad_personalization': 'denied',

'analytics_storage': 'denied'

});

</script>

<!-- PASTE YOUR SOURCEPOINT CMP CODE SNIPPET HERE -- >

<!-- It should look like the snippet below -- >

<!--

<script>

window._sp_queue = [];

window._sp_ = {

config: {

accountId: 9999,

baseEndpoint: 'https://cdn.privacy-mgmt.com',

gdpr: { },

events: {

onMessageReady: function() {

console.log('[event] onMessageReady',arguments);

},

}

}

}

</script>

<script src='https://cdn.privacy-mgmt.com/unified/wrapperMessagingWithoutDetection.js' async></script>

-->

After you’ve enabled your consent banner, consent mode is enabled automatically.

Эта информация оказалась полезной?

Как можно улучшить эту статью?
true
Achieve your advertising goals today!

Attend our Performance Max Masterclass, a livestream workshop session bringing together industry and Google ads PMax experts.

Register now

Поиск
Очистить поле поиска
Закрыть поиск
Приложения Google
Главное меню
13187562804346073719
true
Поиск по Справочному центру
true
true
true
true
true
73067
false
false
false