Empty Created with Sketch. Full Created with Sketch. Half Created with Sketch.

Add to qualify for free shipping

My Cart

0

Your cart is empty.

<link rel="stylesheet" type="text/css" href="//c.zmags.com/static/styles.css" />
<div id="form_here" style="display: none;">
<script src="https://static.klaviyo.com/onsite/js/klaviyo.js?company_id=Hfd7BP&amp;shop=bioclarity.myshopify.com"></script>
<div class="klaviyo-form-K3kFg5"></div>
</div>
<div class="zmags-viewer-container" data-group="5dc21c25ad042327a4cd18aa"></div>
<script defer="defer" type="text/javascript" src="//c.zmags.com/static/manifest.js"></script>
<script defer="defer" type="text/javascript" src="//c.zmags.com/static/vendor.js"></script>
<script defer="defer" type="text/javascript" src="//c.zmags.com/static/client.js"></script>
<script>
var userData = "N/A";

$(document).ready(function () {
    $.fn.serializeObject = function()
    {
    var o = {};
    var a = this.serializeArray();
    $.each(a, function() {
    if (o[this.name]) {
    if (!o[this.name].push) {
    o[this.name] = [o[this.name]];
    }
    o[this.name].push(this.value || '');
    } else {
    o[this.name] = this.value || '';
    }
    });
    return o;
    };
});

function sendToSheets(){
var currentdate = new Date(); 
var datetime = "Quiz taken on: " + currentdate.getDate() + "/"
                + (currentdate.getMonth()+1)  + "/" 
                + currentdate.getFullYear() + " @ "  
                + currentdate.getHours() + ":"  
                + currentdate.getMinutes() + ":" 
                + currentdate.getSeconds();

var userAnswers = {
form_field_1: userData, 
form_field_2: datetime, 
form_field_3: globalVar.inputs[0], 
form_field_4: globalVar.inputs[1],
form_field_5: globalVar.inputs[2],
form_field_6: globalVar.inputs[3],
form_field_7: globalVar.inputs[4],
form_field_8: globalVar.inputs[5],
form_field_9: globalVar.inputs[6],
form_field_10: globalVar.inputs[7],
form_field_11: globalVar.inputs[8],
form_field_12: globalVar.inputs[9],
form_field_13: globalVar.inputs[10],
form_field_14: globalVar.inputs[11],
form_field_15: globalVar.inputs[12],
form_field_16: globalVar.inputs[13],
form_field_17: sceneNumber
};

var url = 'https://script.google.com/macros/s/AKfycbxmSnNLdW0EkBLrTvUUKtDwwe-A3qKs8q1-5D726ONXEFgo-xs/exec'

  var jqxhr = $.ajax({
    url: url,
    method: "GET",
    dataType: "json",
    data: userAnswers
  }).success(
    // do something
  );
  
var label;  
if ("ga" in window) {
	tracker = ga.getAll()[0];
	if (tracker)
		for(i=0;i<13;i++){
			label = "Question " + (i+1) + " - Scene #" + (i+2) +  " - Answer: " +globalVar.inputs[i];
			window.console.log(label);
			tracker.send('event', 'zmags-quiz', 'answer-selected', label, '0');		
		}
	}
  
}
</script>
<script>
function loadClick(){
	$( ".fUoMLP" ).click(function() {
		if(!(($('input[placeholder="Name"').val() == "") && ($('input[name="email"').val() == ""))){
			//window.alert("click initiated");
			$("#form_here").fadeOut();
			$(".zmags-viewer-container").fadeIn();
			userData = _learnq.identify().$first_name + " <"+_learnq.identify().$email+">";
			sendToSheets();
		}
	});
$( ".eUOZZf" ).click(function() {
			//window.alert("click initiated");
			$("#form_here").fadeOut();
			$(".zmags-viewer-container").fadeIn();
			sendToSheets();
	});
}


function showForm(){
    window.scrollTo(0,0);
    $(".zmags-viewer-container").fadeOut();
    $("#form_here").fadeIn();
	loadClick();
}
</script>
Add More & Save!

Save 15% on one-time add-ons to your first box.