California Consumer Privacy Act (CCPA) Opt-Out Information
The California Consumer Privacy Act (CCPA) grants California residents the right to control how their personal information is used. You have the option to opt out of having your personal information sold to third parties, as defined by the CCPA. This includes data collected for advertising and other communications purposes. To learn more about CCPA and your privacy rights, visit the official California consumer privacy act (CCPA) website. How to Opt Out
Click the link below to stop the collection and sale of your personal information, whether it is to third parties or for personalization on our website and other communications. For additional details, please refer to our privacy policy.
if (error) {
throw error; const OPT_OUT_TEXT = 'Do not sell my personal information'; const OPT_IN_TEXT = 'Allow my data to be shared with third parties'; const NOT_VISITING_FROM_CALIFORNIA_TEXT = 'To opt out, you must be browsing from California.'
const node = document.getElementById('opt-out-p-id'); if (window.Shopify.customerPrivacy.getRegulation() === 'CCPA') {
const a = document.createElement('a'); a.id = 'opt-out-link'; a.href = '#'; let linkText; if (window.Shopify.customerPrivacy.getCCPAConsent() !== 'no') {
a.setAttribute('data-consent', false); linkText = document.createTextNode(OPT_OUT_TEXT); a.title = OPT_OUT_TEXT; } else {
a.setAttribute('data-consent', true); linkText = document.createTextNode(OPT_IN_TEXT); a.title = OPT_IN_TEXT; a.addEventListener('click', setCCPAConsent); a.appendChild(linkText); node.appendChild(a); node.innerText = NOT_VISITING_FROM_CALIFORNIA_TEXT; function setCCPAConsent(event) {
const consentString = event.srcElement.getAttribute('data-consent'); const consent = consentString === 'true' ? true : false; window.Shopify.customerPrivacy.setCCPAConsent(consent, setConsentCallback); function setConsentCallback() {
const CLICK_FEEDBACK_TEXT = 'Preferences updated'; document.getElementById('opt-out-link').remove(); document.getElementById('opt-out-p-id').innerText = CLICK_FEEDBACK_TEXT; function ccpaOptOutLoader() {
window.Shopify.loadFeatures(
name: 'consent-tracking-api',
version: