CANNABIOTIX21+

STAY
CONNECTED.

Brand news, community updates and upcoming events.

Are you 21 years of age or older?

EXPLORE CBX
$('signup').onsubmit=async e=>{e.preventDefault();if(!config.endpoint){$('status').textContent='Preview only. Email service is not connected; no information was saved.';return}const button=$('submit');button.disabled=true;try{const response=await fetch(config.endpoint,{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({email:$('email').value,consent:true,age21:true,consentVersion:'v1',...attribution})});const data=await response.json();if(!response.ok||data.ok!==true)throw Error();$('signup').reset();$('status').textContent='Thank you! Your signup request was recorded.'}catch{$('status').textContent='Unable to subscribe. Please try again.'}finally{button.disabled=false}};