Cookie Guard
Integrate Cookie Guard in minutes — REST API, WordPress plugin, and embed widgets.
ခြုံငုံသုံးသပ်ချက်
Cookie Guard သည် လာရောက်ကြည့်ရှုသူခွင့်ပြုသည်အထိ ခြေရာခံ scripts များကိုပိတ်ဆို့ကာ၊ လာရောက်ကြည့်ရှုသူ၏ဘာသာစကားကိုရှာဖွေကာ၊ ဘာသာစကား 62 မျိုးဖြင့် တရားဝင်ပြန်လည်သုံးသပ်ထားသောစာသားကိုပြသပြီး စစ်ဆေးရေးအတွက် အနှောင့်အယှက်မရှိသော စာရင်းမှတ်တမ်းကိုသိမ်းဆည်းပေးသော drop-in သဘောတူညီချက် banner တစ်ခုဖြစ်သည်။
အမြန်စတင်ခြင်း
သင့်ဆိုက် ID ဖြင့် အောက်ပါ script tag ကို သင့်ဆိုက်တွင်ထည့်ပါ။ banner သည် ပထမဆုံး paint တွင် ပေါ်လာပြီး လာရောက်ကြည့်ရှုသူလက်ခံသည်အထိ tracker တိုင်းကိုပိတ်ဆို့သည်။
<script
src="https://cookie.api.jetweb.app/widget.js"
data-site-id="YOUR_SITE_ID"
async
></script>
Authentication
API endpoint တိုင်းတွင် Bearer token လိုအပ်ပါသည်။ သက်ဆိုင်ရာ ထုတ်ကုန်အတွက် Dashboard ရှိ "API Keys" အောက်တွင် token တစ်ခုကို ထုတ်လုပ်ပါ။ Token များကို server-side တွင် သိမ်းဆည်းပါ — public repositories များသို့ commit လုပ်ခြင်း သို့မဟုတ် frontend bundles များတွင် ထည့်သွင်းခြင်းကို ရှောင်ကြဉ်ပါ။
Authorization: Bearer YOUR_API_KEY
Endpoints
Base URL: https://cookie.api.jetweb.app
/api/sites
/api/sites/:id/scan
/api/sites/:id/consents
/api/consents
Integrations
WordPress, Shopify နှင့် static ဆိုက်များသည် တစ်ကြောင်း script tag ကိုသုံးသည်။ စိတ်ကြိုက် SPA များအတွက် REST API ကို တိုက်ရိုက်ခေါ်ဆို၍ သဘောတူညီချက်ကိုမှတ်တမ်းတင်ကာ blocklist ကိုအသုံးပြုပါ။