1. On your Wix website, add a Themed Button or Text Button

 

2. Edit the button text to say 'Do Not Sell My Info' (Make sure the text is case sensitive, it must also include the spaces.)


3. Open Tracking Tools & Analytics on your Wix portal. Copy the snippet code below and paste into a custom script.

<script>

window.addEventListener("onWidgetLoadComplete",function(){let e=document.querySelectorAll('div[role="button"]');for(let o of e)"Do Not Sell My Info"===o.innerText&&window.displayPreferenceModal&&(o.onclick=window.displayPreferenceModal);let o=document.querySelectorAll('button[aria-label="Do Not Sell My Info"]');for(let e of o)e.onclick=window.displayPreferenceModal}); 

</script>


a. Next, choose the specific page you want your cookie preference button.

b. Then select Body - end.


Your cookie preference center should now be accessible on your Wix site!


If you are still experiencing issues, please reach out to support@termly.io for more help.


Access the Cookie Consent Manager.