Donotsell Página Giratoria 1500ms y AlternarDesvanecimiento Documento

Tu privacidad es importante para nosotros. Como se detalla en nuestra Política de Privacidad, recopilamos cierta información personal a través de tus interacciones con nuestro sitio web, incluyendo cookies y tecnologías de seguimiento similares. Podemos compartir estos datos con terceros, como socios publicitarios, para ofrecer anuncios personalizados y mejorar tu experiencia en línea.

Bajo ciertas leyes de privacidad estatales de EE. UU., compartir datos personales para publicidad dirigida puede considerarse una "venta", "compartición" o "publicidad dirigida". Dependiendo de tu ubicación, tienes el derecho de optar por no participar en estas actividades.

Cómo optar por no participar

  • Haz clic en "Opt Out" para evitar que tu navegador comparta datos personales.
  • Marque la casilla e ingrese su correo electrónico para extender esta baja a su cuenta de cliente.

Si su navegador soporta Global Privacy Control (GPC) y lo tiene habilitado, procesaremos automáticamente su solicitud como una baja cuando la ley lo requiera.


Doy mi consentimiento para la recopilación de mi correo electrónico y dirección IP con el propósito de procesar esta solicitud. Para más información, consulte la Política de Privacidad &amp Términos de Servicio.

'; var isEmailValid = function(email) { let regex = /^(([^()\[\]\\.,;:\s@"]+(\.[^()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; if (email == '' || email == undefined) { return false; } else { return regex.test(email); } } var usSendRequest = function(callback) { fetch('https://www.cloudflare.com/cdn-cgi/trace', { method: 'GET' , headers: { 'Content-Type': 'text/plain', }, }) .then(resp => resp.text()) .then(resp => { if (!resp.error) { let ipInfo = resp; let formData = new FormData(); if (type === 'customer/do-not-sell') { isenseGDPR.Cookies.set('cookieconsent_preferences_disabled', 'analytics,marketing,functionality,', { expires: 365 }); isenseGDPR.Cookies.set('cookieconsent_status', 'accept_selected', { expires: 365 }); if (typeof window.Shopify.customerPrivacy !== 'undefined' && typeof window.Shopify.customerPrivacy.setTrackingConsent === 'function') { if (typeof localStorage.getItem("gdprCache") !== 'undefined' && localStorage.getItem("gdprCache") !== null) { let gdprCache = JSON.parse(localStorage.getItem("gdprCache")); if (typeof gdprCache.userIsInSaleOfDataRegion !== 'undefined' && (gdprCache.userIsInSaleOfDataRegion === 'true' || gdprCache.userIsInSaleOfDataRegion === true)) { window.Shopify.customerPrivacy.setTrackingConsent( { "sale_of_data": false, }, () => { console.log('sale_of_data: false')} ); } } } else { console.log('La API de Privacidad del Cliente no está definida en la página actual'); } if (document.querySelector('.cc-window')) { document.querySelector('.cc-window').style.display = 'none'; } // reiniciar texto emergente document.querySelector('#donotsell-modal-container-text').innerHTML = 'Doy mi consentimiento para la recopilación de mi correo electrónico y dirección IP con el propósito de procesar esta solicitud. Para más información, consulte Política de Privacidad &amp Términos de Servicio.'; } formData.append('shop', Shopify.shop); formData.append('email', email); formData.append('type', type); formData.append('sourceOfRequest', 7); formData.append('ipAddress', ipInfo); formData.append('consentGiven', consentGiven); formData.append('page', 'us laws'); formData.append('lang', Shopify.locale ? Shopify.locale : ''); formData.append('gtranslateLang', isenseGDPR.Cookies.get('googtrans') ? isenseGDPR.Cookies.get('googtrans') : ''); fetch('https://gdpr.apps.isenselabs.com/gdprRequests/submitRequest', { method: 'POST', body: formData }) .then(resp => resp.json()) .then(resp => { if (!resp.error) { usSlideUpAll(); if (resp.message.length) { alert(resp.message); } else { alert('Su solicitud ha sido enviada con éxito. Por favor, revise su correo electrónico para más información.'); } } else { alert(resp.message); } if (typeof callback == 'function') { callback(resp); } }) .catch(error => { alert(error.message); }) } else { alert(resp.message); } }) } // Añade el modal al body, porque de lo contrario no se mantendrá centrado (incluso si la posición es fija) document.querySelector("body").insertAdjacentHTML( 'beforeend', verificationModalContent); document.addEventListener("DOMContentLoaded", function() { let searchParams = new URLSearchParams(window.location.search); let param = searchParams.get('id'); if(param) { document.getElementById(param).scrollIntoView(); } // When the user clicks on (x), close the modal document.querySelector('.data-verification-close').addEventListener('click', function(e) { e.preventDefault(); closeVerificationModal(); }); document.querySelector('#data-verification-icon, #data-verification-container p').addEventListener('click', function(e) { e.preventDefault(); // Detecta un clic en href, porque está sobrescrito. if(e.target.tagName === "A") { window.open(e.target.href, '_blank'); return; } document.querySelector('#data-verification-icon').classList.add("clicked"); setTimeout(()=>{ toggleFadeiSense(document.querySelector("#data-verification-modal"), false); document.querySelector('#data-verification-background .loading').style.display = 'inline-block'; consentGiven = true; usSendRequest(function(resp) { consentGiven = false; closeVerificationModal(); }); }, 400); }); }); function openVerificationModal(){ if(!isEmailValid(email)) { alert('Correo electrónico inválido'); return; } toggleFadeiSense(document.querySelector("#data-verification-modal"), true); toggleFadeiSense(document.querySelector('#data-verification-background'), true); document.querySelector('#data-verification-container input').focus(); } function closeVerificationModal(){ toggleFadeiSense(document.querySelector("#data-verification-background"), false); document.querySelector('#data-verification-icon').classList.remove("clicked"); document.querySelector('#data-verification-background .loading').style.display = 'none'; // Enfocar el botón del tipo de solicitud que fue seleccionado let usLawsForms = document.querySelectorAll('.form-donotsell-request'); usLawsForms.forEach(function(usLawsForm) { if (usLawsForm.style.display !== "none") { let usLawsFormLinks = usLawsForm.previousElementSibling.querySelectorAll('li'); if (usLawsFormLinks.length === 1) { usLawsFormLinks[0].querySelector('button').focus(); } else { // Lógica de enfoque para solicitudes de Portabilidad de Datos usLawsFormLinks = usLawsForm.parentElement; if (usLawsFormLinks.nodeName === 'LI') { usLawsFormLinks.querySelector('button').focus(); } } } }); } document.querySelector('#btn-donotsell-do-not-sell-request').addEventListener('change', function(e) { e.preventDefault(); let isExpanded = this.checked; usSlideUpAll(); if(isExpanded) { slideDown(document.querySelector('#form-donotsell-do-not-sell-request'), 200); } else { slideUp(document.querySelector('#form-donotsell-do-not-sell-request'), 200); } }); document.querySelector('#form-donotsell-do-not-sell-request-submit').addEventListener('click', function(e) { e.preventDefault(); email = document.querySelector('#form-donotsell-do-not-sell-request-email').value; type = 'customer/do-not-sell'; // Verificar si el cliente ha iniciado sesión if (__st.cid != undefined) { document.querySelector('#donotsell-modal-container-text').innerHTML = 'Doy mi consentimiento para la recopilación de mi correo electrónico y dirección IP con el propósito de procesar esta solicitud. Para más información, consulte Política de Privacidad &amp Términos de Servicio.'; } else { document.querySelector('#donotsell-modal-container-text').innerHTML = 'Doy mi consentimiento para la recopilación de mi correo electrónico y dirección IP con el propósito de procesar esta solicitud. Para más información, consulte Política de Privacidad &amp Términos de Servicio. Nota: Si usted es un usuario invitado o no ha iniciado sesión en su cuenta, su elección de exclusión solo será efectiva para esta sesión del navegador.'; } openVerificationModal(); }); // Navegación por teclado en el modal de verificación de datos para accesibilidad document.querySelector('#data-verification-modal').addEventListener('keydown', function(e) { let isTabPressed = e.keyCode === 9 || e.key === "Tab" || e.code === "Tab"; let isEscapePressed = e.keyCode === 27 || e.key === "Escape" || e.code === "Escape"; let isSpacePressed = event.keyCode === 32 || e.key === " " || event.code === "Space"; let isEnterPressed = event.keyCode === 13 || e.key === "Enter" || event.code === "Enter"; let dataVerificationCloseButton = document.querySelector('.data-verification-close'); let dataVerificationCheckbox = document.querySelector('#data-verification-container input'); let dataVerificationLink = document.querySelector('#data-verification-container a'); // Esta función nos ahorra la molestia de llamar a e.preventDefault() después de cada enfoque let executeFocus = (focusElement) => {focusElement.focus();e.preventDefault();} if (isEscapePressed) { if (dataVerificationCloseButton) { dataVerificationCloseButton.click(); } } if (isSpacePressed || isEnterPressed) { if (document.activeElement === dataVerificationCheckbox) { document.querySelector('#data-verification-container #data-verification-icon').click(); } } if (isTabPressed) { if (e.shiftKey) { if (dataVerificationCloseButton && document.activeElement === dataVerificationCloseButton) { executeFocus(dataVerificationLink); } } else { if (dataVerificationLink && document.activeElement === dataVerificationLink) { executeFocus(dataVerificationCloseButton); } } } }); function showSuccessMessage() { var successMessageh3 = document.getElementById('pc--opt-out-success'); var successMessageEle = successMessageh3.getElementsByTagName('span')[0]; var successMessage = 'Exclusión realizada con éxito'; successMessageEle.innerHTML = successMessage; successMessageh3.style.display = 'flex'; } function showErrorMessage() { document.getElementById('pc--opt-out-error').style.display = 'flex'; } function showNotApplicableMessage() { document.getElementById('pc--opt-out-not-applicable').style.display = 'block'; } function configurarFormulario() { var formContainer = document.getElementById('pc--opt-out-form-container'); formContainer.style.display = 'block'; } function cargarCallbackDeFuncionalidad(error) { if (error) { throw error; } configurarFormulario(); } function ccpaOptOutLoader() { window.Shopify.loadFeatures( [ { nombre: 'consent-tracking-api', versión: '0.1', }, ], cargarCallbackDeFuncionalidad, ); } ccpaOptOutLoader(); document.getElementById('btn-donotsell-opt-out').addEventListener('click', function (e) { e.preventDefault(); window.Shopify.customerPrivacy.setTrackingConsent({"sale_of_data": false}, () => { mostrarMensajeDeÉxito(); }); }); if (typeof window.Shopify.customerPrivacy !== 'undefined') { var values = window.Shopify.customerPrivacy.currentVisitorConsent(); }