Set up and manage consent

ตั้งค่า CookieTractor เพื่อขอรับความยินยอมจากผู้ใช้

หากต้องการบันทึกข้อมูลเชิงลึกที่มีประโยชน์ไปพร้อมกับปกป้องความเป็นส่วนตัวของผู้ใช้ คุณต้องรวบรวมความยินยอมจากผู้ใช้เว็บไซต์ เราขอแนะนำให้ใช้แพลตฟอร์มการจัดการความยินยอม (CMP) หรือทำงานร่วมกับระบบจัดการเนื้อหา (CMS) เพื่อรวบรวมความยินยอมและส่งไปยัง Google


ขั้นตอนที่ 1: ตั้งค่าแบนเนอร์แสดงความยินยอมให้ใช้คุกกี้ทางการตลาด

  1. Sign up on the CookieTractor website.
  2. Configure your banner using the getting started wizard.
    Note: Make sure your banner complies with the requirements in the Google EU User Consent Policy (EUUCP).
Learn more about CookieTractor banner setup.

ขั้นตอนที่ 2: ตั้งค่าโหมดความยินยอม

Set up using Google Tag Manager

  1. Open Google Tag Manager and navigate to your container.
  2. In "Tags", select New and name the tag.
  3. Click Tag Configuration.
  4. Select Tag Configuration > Discover more tag types in the Community Template Gallery.
  5. Search for “CookieTractor CMP (Consent Mode v2)” by CookieTractor.
  6. Click Add > Triggering.
  7. Select Consent Initialization - All Pages.
  8. Add your Website Identifier found which is found under the Installation tab for the website in the CookieTractor Tool.
  9. Match your Language Code with the language configured in CookieTractor (found under the Settings or Installation tab).
  10. Click Save.
  11. Test your container by clicking Preview in the top right corner.
  12. Publish your container.

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

  1. You can implement CookieTractor with a javascript tag that is available in the CookieTractor Tool. On the specific website, select the Installation tab and copy the contents of the “Main Script” text box.
  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 three.
  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 very top of the <head> tag.
This is critical in order to ensure 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 CookieTractor CMP CODE SNIPPET HERE -- >


การทดสอบโดยใช้ผู้ช่วยแท็ก

ดูวิธีแก้ปัญหาเกี่ยวกับโหมดความยินยอมด้วย Google Tag Manager


ลิงก์ที่เกี่ยวข้อง

ข้อมูลนี้มีประโยชน์ไหม

เราจะปรับปรุงได้อย่างไร

หากต้องการความช่วยเหลือเพิ่มเติม

ลองทำตามขั้นตอนต่อไปนี้

true
ค้นหา
ล้างการค้นหา
ปิดการค้นหา
แอป Google
เมนูหลัก
1218454135249637882
true
ค้นหาศูนย์ช่วยเหลือ
false
true
true
true
true
true
102259
false
false
false
false
false