Switasसंपर्क करें

फ्री Consent v2 जनरेटर

अपना नोटिस बैनर चुनें
सहमति का प्रकार
रंग पैलेट

अनुपालन को आसान बनाएँ

Switas Consent Widget v2 आपकी वेबसाइट पर उपयोगकर्ता की सहमति प्रबंधित करने का सर्वोत्तम समाधान है। हमारा मुफ़्त, ओपन-सोर्स विजेट निर्बाध यूज़र एक्सपीरियंस देते हुए यह सुनिश्चित करता है कि आप गोपनीयता कानूनों का पालन करते रहें।

अपनी वेबसाइट पर फ्री कुकी कंसेंट कैसे जोड़ें

  1. ऊपर चरण 3 से बना कोड कॉपी करें और उसे अपनी वेबसाइट में जोड़ें।
  2. आप जो भी JavaScript <script> उपयोग कर रहे हैं, उसे टैग करें: type="text/javascript" को बदलकर type="text/plain" करें।
  3. हर टैग किए गए <script> के लिए, संबंधित सहमति स्तर जोड़ें:
    • data-cookie-consent="strictly-necessary" अत्यंत आवश्यक स्क्रिप्ट के लिए, जो उपयोगकर्ता की पसंद की परवाह किए बिना लोड होती हैं
    • data-cookie-consent="functionality" कार्यक्षमता स्क्रिप्ट के लिए, जैसे भाषा प्राथमिकता वाली स्क्रिप्ट
    • data-cookie-consent="tracking" ट्रैकिंग स्क्रिप्ट के लिए, जैसे Google Analytics 4
    • data-cookie-consent="targeting" विज्ञापन टार्गेटिंग स्क्रिप्ट के लिए, जैसे Google Ads Remarketing, Meta Pixel

उपयोग का उदाहरण

<!-- Login Cookies -->
<script type="text/plain" src="/js/login-session.js"></script>
<!-- Google Analytics -->
<script type="text/plain">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', GOOGLE_PROPERTY_ID_GOES_HERE, 'auto');
ga('send', 'pageview');
</script>

Switas Consent Widget v2 क्यों चुनें?

  • उपयोग के लिए मुफ़्त: यह हमेशा मुफ़्त है, और इंटीग्रेशन के बारे में भी बेझिझक पूछें। Github पर देखें: https://github.com/switaslabs/switas-consent-v2
  • आसान इंटीग्रेशन: आसान निर्देशों के साथ इसे मिनटों में अपनी वेबसाइट पर जोड़ें।
  • अनुकूलन योग्य डिज़ाइन: विजेट को अपनी साइट के लुक और फ़ील के अनुसार ढालें।
  • उपयोगकर्ता-अनुकूल इंटरफ़ेस: उपयोगकर्ताओं के लिए सहमति देने या वापस लेने के स्पष्ट विकल्प।
  • नियमन के लिए तैयार: GDPR, CCPA और अन्य प्रमुख गोपनीयता कानूनों के अनुरूप।

मुख्य विशेषताएँ

  • आसान सेटअप: त्वरित और सरल इंस्टॉलेशन प्रक्रिया।
  • लचीला अनुकूलन: अपने ब्रांड के अनुसार रंग, फ़ॉन्ट और टेक्स्ट समायोजित करें।
  • रिस्पॉन्सिव डिज़ाइन: सभी डिवाइस पर निर्बाध रूप से काम करता है।
  • एनालिटिक्स इंटीग्रेशन: उपयोगकर्ता सहमतियों और प्राथमिकताओं को ट्रैक करें।
  • बहु-भाषा समर्थन: कई भाषा विकल्पों के साथ वैश्विक ऑडियंस तक पहुँचें।

उपयोगकर्ता सहमति प्रबंधित करें

उपयोगकर्ताओं को अपनी गोपनीयता सेटिंग आसानी से स्वीकार करने, अस्वीकार करने या अनुकूलित करने में सक्षम बनाएँ। नवीनतम गोपनीयता नियमों का अनुपालन सुनिश्चित करें। इस विजेट की अवधारणा और क्रियान्वयन Free Cookie Consent टूल पर आधारित है

मदद चाहिए?

विस्तृत निर्देशों और समस्या-निवारण सुझावों के लिए हमारे दस्तावेज़ देखें। किसी भी प्रश्न के लिए बेझिझक हमसे संपर्क करें।

Switas के बारे में

Switas में हम ऐसे नवोन्मेषी समाधान देने के लिए समर्पित हैं जो व्यवसायों को डिजिटल परिदृश्य में बढ़ने और फलने-फूलने में सक्षम बनाते हैं। गोपनीयता और यूज़र एक्सपीरियंस के प्रति हमारी प्रतिबद्धता हमें ऐसे टूल बनाने के लिए प्रेरित करती है जो शक्तिशाली भी हों और उपयोग में आसान भी।

कुकी कंसेंट का पूर्वावलोकन
कुकी कंसेंट का पूर्वावलोकन
"use strict"; var _BASE_URL = ''; var script_config = void 0, user_scripts = [], use_php = !0, php_result_path = _BASE_URL + "consent-preview.php", properties_changed = document.createEvent("Event"); function create_demo(b) { for (var c = document.querySelectorAll("iframe"), a = 0; a < c.length; a++) { var d = c[a]; !0 === use_php ? (d.src = php_result_path + "?data=" + b64EncodeUnicode(b)) : (d.src = _BASE_URL + "result/" + b64EncodeUnicode(b)); } } function b64EncodeUnicode(a) { return btoa( encodeURIComponent(a).replace(/%([0-9A-F]{2})/g, function (b, a) { return String.fromCharCode("0x" + a); }) ); } function clean_script_code_types(a) { return (a = (a = a.replace(new RegExp(" type=('|\")(.*?)('|\")", "g"), "")).replace(new RegExp("=('|\")(.*?)('|\")", "g"), "")); } function prepare_script_code(a, b) { return a.replace(new RegExp("" + d.type + ")"; var c = document.createElement("button"); c.classList.add("btn"), c.classList.add("btn-primary"), (c.innerHTML = "Delete"), b.appendChild(e), b.appendChild(c), a.appendChild(b), c.addEventListener("click", function () { delete user_scripts[f], display_scripts(), document.dispatchEvent(properties_changed); }); }); } properties_changed.initEvent("properties_changed", !0, !0), document.addEventListener("properties_changed", function () { var a = JSON.stringify(script_config), b = _BASE_URL.replace("http:", ""); b = b.replace("https:", ""); var c = compile_user_scripts(); (document.querySelector("#user_code").innerHTML = '\n<\/script>\n\ndocument.addEventListener(\'DOMContentLoaded\', function () {\ncookieconsent.run(' + a + ");\n});\n<\/script>" + c + '\n\nUpdate cookies preferences\n'), create_demo(a); }), (function () { script_config = { notice_banner_type: "headline", consent_type: "express", palette: "dark", language: "en", page_load_consent_levels: ["strictly-necessary"] }; var d = document.querySelector("#website_name"); d.addEventListener("input", function () { (script_config.website_name = d.value), document.dispatchEvent(properties_changed); }); var e = document.querySelectorAll('[name="notice_banner"]'); [].forEach.call(e, function (a) { a.addEventListener("change", function () { (script_config.notice_banner_type = a.value), document.dispatchEvent(properties_changed); }); }); var f = document.querySelectorAll('[name="consent_type"]'); [].forEach.call(f, function (a) { a.addEventListener("change", function () { (script_config.consent_type = a.value), "implied" == a.value ? (script_config.page_load_consent_levels = ["strictly-necessary", "functionality", "tracking", "targeting"]) : "express" == a.value && (script_config.page_load_consent_levels = ["strictly-necessary"]), document.dispatchEvent(properties_changed); }); }); var b = document.querySelectorAll('input[name="palette"]'); for (let a = 0; a < b.length; a++) { let g = b[a]; g.addEventListener("click", function () { (script_config.palette = g.value), document.dispatchEvent(properties_changed); }); } var h = document.querySelector('[name="language"]'); h.addEventListener("change", function () { (script_config.language = h.value), document.dispatchEvent(properties_changed); }); var i = document.querySelector("#include_privacy_policy"), j = document.querySelector("#privacy_policy_link"), k = document.querySelector("#privacy_policy_link_input"); (j.style.display = "none"), i.addEventListener("change", function () { !0 === i.checked ? ((j.style.display = "block"), (k.value = "")) : (delete script_config.website_privacy_policy_url, document.dispatchEvent(properties_changed), (j.style.display = "none")); }), k.addEventListener("input", function () { (script_config.website_privacy_policy_url = k.value), document.dispatchEvent(properties_changed); }); var c = document.querySelector("#addUserScript"); c && c.addEventListener("click", function () { var c = document.querySelector('[name="script_name"]'), a = c.value, b = document.querySelector('[name="script_type"]:checked'), d = "strictly-necessary"; d = null !== b ? b.value || "strictly-necessary" : (b = document.querySelector('[name="script_type"]')).value; var e = document.querySelector('[name="script_code"]'), f = e.value, h = f.indexOf(" -1) { (g.innerHTML = ""), a.length < 1 && (a = "Unnamed script"); var i = clean_script_code_types(f); user_scripts.push({ name: a, type: d, code: i }), (c.value = ""), (e.value = ""), display_scripts(), document.dispatchEvent(properties_changed); } else g.innerHTML = "Invalid code error"; }), (script_config.notice_banner_reject_button_hide = !1), (script_config.preferences_center_close_button_hide = !1), (script_config.page_refresh_confirmation_buttons = !1), document.dispatchEvent(properties_changed); })(); document.getElementById('user-code-copy-button').addEventListener('click', function(e) { var clipboard = new ClipboardJS('#user-code-copy-button', { text: function(trigger) { return document.getElementById('user_code').value; } }); clipboard.on('success', function(e) { alert('Copied.'); }); });

और मुफ़्त टूल

सभी टूल →

आइए बनाएँ अगला प्रोजेक्ट।

संपर्क करें