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 리마케팅, 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.'); }); });

더 많은 무료 도구

모든 도구 →

함께 만들어 봅시다, 다음 프로젝트를.

문의하기