<div class="calculator">
<div class="calculator__fields">
<div class="calculator__field">
<div class="calculator__field-box">
<label class="field-label" for="conversion-rate">Conversion Rate</label>
<div class="rangevalue"><span class="form-range-value">1.33</span>%</div>
</div>
<input type="range" value="1.5" min="0.05" max="15" step="0.01" class="form-range" id="conversion-rate" style="background: linear-gradient(to right, #9900FF 0%, #9900FF 8.866666666666667%, #F2F0EC 8.866666666666667%, white 100%)">
</div>
<div class="calculator__field">
<div class="calculator__field-box">
<label for="average-order-value" class="field-label">Average Order Value</label>
<div class="rangevalue">$<span class="form-range-value">125</span></div>
</div>
<input type="range" value="125" min="10" max="1000" step="1" class="form-range" id="average-order-value" style="background: linear-gradient(to right, #9900FF 0%, #9900FF 12.5%, #F2F0EC 12.5%, white 100%)">
</div>
<div class="calculator__field">
<div class="calculator__field-box">
<label for="monthly-sessions" class="field-label">Monthly Sessions</label>
<div class="rangevalue"><span class="form-range-value">200,000</span></div>
</div>
<input type="range" value="200000" min="50000" max="1000000" step="100" class="form-range" id="monthly-sessions" style="background: linear-gradient(to right, #9900FF 0%, #9900FF 12.5%, #F2F0EC 21.5%, #F2F0EC 100%)">
</div>
<div class="calculator__revenue">
<div><span class="field-label" style="line-height:100%;">Annual Revenue</span></div>
<div><span class="field-label">$</span><span class="annual-revenue">3,990,000</span></div>
</div>
</div>
<div class="calculator__result">
<div class="field-label">A/B Test Impact</div>
<fieldset class="calculator__radios">
<div class="radios__box">
<input type="radio" id="impact-3" name="impact[]" value="0.03" class="revenue-radio" aria-labelledby="impact-3">
<label for="impact-3" class="revenue-label">
<span>+3%</span>
</label>
<input checked="" type="radio" id="impact-5" name="impact[]" value="0.05" class="revenue-radio" aria-labelledby="impact-5">
<label for="impact-5" class="revenue-label">
<span>+5%</span>
</label>
<input type="radio" id="impact-10" name="impact[]" value="0.1" class="revenue-radio" aria-labelledby="impact-10">
<label for="impact-10" class="revenue-label">
<span>10%</span>
</label>
</div>
</fieldset>
<p class="singlesuccess">A single successful A/B test can add <b>$<span class="test-impact">119,700</span></b> annually. </p>
<p class="werun">We run lots of tests.</p>
<p class="calcdisclaim">This calculator is a tool, not a guarantee of results.</p>
<a href="/contact/" class="cta outlined oncalc"><span style="z-index:5">Get started</span>
<svg class="arrowrightsvg" width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1.66666 7.83336H10.975L6.90833 11.9C6.58333 12.225 6.58333 12.7584 6.90833 13.0834C7.23333 13.4084 7.75833 13.4084 8.08333 13.0834L13.575 7.59169C13.6522 7.5146 13.7135 7.42302 13.7554 7.32221C13.7972 7.2214 13.8187 7.11333 13.8187 7.00419C13.8187 6.89505 13.7972 6.78698 13.7554 6.68617C13.7135 6.58536 13.6522 6.49379 13.575 6.41669L8.09166 0.91669C8.01451 0.839539 7.92292 0.778339 7.82211 0.736584C7.72131 0.69483 7.61327 0.67334 7.50416 0.67334C7.39505 0.67334 7.28701 0.69483 7.18621 0.736584C7.08541 0.778339 6.99381 0.839539 6.91666 0.91669C6.83951 0.993842 6.77831 1.08543 6.73656 1.18624C6.6948 1.28704 6.67331 1.39508 6.67331 1.50419C6.67331 1.6133 6.6948 1.72134 6.73656 1.82214C6.77831 1.92295 6.83951 2.01454 6.91666 2.09169L10.975 6.16669H1.66666C1.20833 6.16669 0.833328 6.54169 0.833328 7.00003C0.833328 7.45836 1.20833 7.83336 1.66666 7.83336Z" fill="#F2F0EC"></path>
</svg>
</a>
</div>
</div><script src="https://d3e54v103j8qbb.cloudfront.net/js/jquery-3.5.1.min.dc5e7f18c8.js?site=5f497d8a2dbf8969b0cff0ff" type="text/javascript" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script><script src="https://cdn.prod.website-files.com/5f497d8a2dbf8969b0cff0ff/js/webflow.d59d92670.js" type="text/javascript"></script><!-- Outplay start -->
<script async>
(function(o, u, t, p, l, a, y, _, h, q) {
if (!o[p] || !o[p]._q) {
for (; _ < y.length; ) l(a, y[_++]);
q = u.getElementsByTagName(t)[0];h = u.createElement(t);h.async = 1;
h.src = "https://us4-cx.outplayhq.com/js/build.min.js";q.parentNode.insertBefore(h, q);o[p] = a;
}
})(window,document,"script","outplayhq",function(g, r) {
g[r] = function() {g._q.push([r, arguments]);};
},{ _q: [], _v: 1 },["init"],0);
outplayhq.init("f089aa1bc3399ae7db93e26759230464");
</script>
<!-- Outplay end -->
<!-- HubSpot Start -->
<script async type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/20188432.js"></script>
<!-- HubSpot End -->
<!-- RB2B End -->
<script>!function () {var reb2b = window.reb2b = window.reb2b || []; if (reb2b.invoked) return;reb2b.invoked = true;reb2b.methods = ["identify", "collect"]; reb2b.factory = function (method) {return function () {var args = Array.prototype.slice.call(arguments); args.unshift(method);reb2b.push(args);return reb2b;};}; for (var i = 0; i < reb2b.methods.length; i++) {var key = reb2b.methods[i];reb2b[key] = reb2b.factory(key);} reb2b.load = function (key) {var script = document.createElement("script");script.type = "text/javascript";script.async = true; script.src = "https://s3-us-west-2.amazonaws.com/b2bjsstore/b/" + key + "/reb2b.js.gz"; var first = document.getElementsByTagName("script")[0]; first.parentNode.insertBefore(script, first);}; reb2b.SNIPPET_VERSION = "1.0.1";reb2b.load("VN080H41RD6J");}();</script>
<!-- RB2B End -->
<!-- Clearbit start -->
<script async src="https://tag.clearbitscripts.com/v1/pk_7b7fccdd8a6d26c03cad135ffd990f11/tags.js" referrerpolicy="strict-origin-when-cross-origin"></script>
<!-- Clearbit End -->
<!-- Hotjar Start -->
<script async>
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:3189538,hjsv:6};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
</script>
<!-- Hotjar End -->
<!-- LinkedIn Start -->
<script type="text/javascript">
_linkedin_partner_id = "5271252";
window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
window._linkedin_data_partner_ids.push(_linkedin_partner_id);
</script><script type="text/javascript">
(function(l) {
if (!l){window.lintrk = function(a,b){window.lintrk.q.push([a,b])};
window.lintrk.q=[]}
var s = document.getElementsByTagName("script")[0];
var b = document.createElement("script");
b.type = "text/javascript";b.async = true;
b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js";
s.parentNode.insertBefore(b, s);})(window.lintrk);
</script>
<noscript>
<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=5271252&fmt=gif" />
</noscript>
<!-- LinkedIn End -->
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TWHSQSH7"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) --><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" integrity="sha512-894YE6QWD5I59HgZOGReFYm4dnWc1Qt5NtvYSaNcOP+u1T9qYdvdihz0PPSiiqn/+/3e7Jo4EaG7TubfWGUrMQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/8.3.1/swiper-bundle.min.js"></script>
<!-- [Attributes by Finsweet] CMS Filter -->
<script async src="https://cdn.jsdelivr.net/npm/@finsweet/attributes-cmsfilter@1/cmsfilter.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js" integrity="sha512-16esztaSRplJROstbIIdwX3N97V1+pZvV33ABoG1H2OyTttBxEGkTsoIVsiP1iaTtM8b3+hu2kB6pQ4Clr5yug==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script>
var swiper = new Swiper(".swiper", {
slidesPerView: 1,
spaceBetween: 30,
pagination: {
el: ".swiper-pagination",
clickable: true,
dynamicBullets: true,
},
breakpoints: {
499: {
slidesPerView: 1,
spaceBetweenSlides: 30
},
// when window width is <= 999px
999: {
slidesPerView: 2,
spaceBetweenSlides: 40
}
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
})
var swiper2 = new Swiper(".swiper2", {
slidesPerView: 1,
spaceBetween: 30,
pagination: {
el: ".swiper-pagination1",
clickable: true,
},
breakpoints: {
499: {
slidesPerView: 1,
spaceBetweenSlides: 30
},
// when window width is <= 999px
999: {
slidesPerView: 2,
spaceBetweenSlides: 40
}
},
navigation: {
nextEl: '.swiper-button-next1',
prevEl: '.swiper-button-prev1',
},
})
$(".filter__outline").click(function(){
console.log("hello");
swiper2.slideTo(0);
});
</script>
<script>
$('.form-range').on('change mousemove touchmove', function () {
$(this).parent().find('.form-range-value').text(numberWithCommas($(this).val()));
if($(this).attr('id') == 'conversion-rate'){
$(this).attr('style', 'background: linear-gradient(to right, #9900FF 0%, #9900FF '+ $(this).val()/0.15 +'%, #F2F0EC ' + $(this).val()/0.15 + '%, white 100%)')
}else if($(this).attr('id') == 'average-order-value'){
$(this).attr('style', 'background: linear-gradient(to right, #9900FF 0%, #9900FF '+ $(this).val()/10 +'%, #F2F0EC ' + $(this).val()/10 + '%, white 100%)')
}else if($(this).attr('id') == 'monthly-sessions'){
var modifier = ($(this).val()-50000)/900000
var lowerLimit = (50000*(1 - modifier))
var upperLimit = (900000*modifier)
var sessionsPercent = ((lowerLimit + upperLimit - 50000)/(900000))*100;
$(this).attr('style', 'background: linear-gradient(to right, #9900FF 0%, #9900FF '+ sessionsPercent +'%, #F2F0EC ' + sessionsPercent + '%, white 100%)')
}
croCalculator();
});
$('input[name="impact[]"]').on('change', function () {
var annualRevenue = croCalculator();
var testImpact = annualRevenue * $(this).val();
testImpact = testImpact.toFixed(0);
$('.test-impact').text(numberWithCommas(testImpact));
});
function croCalculator(){
var conversionRate = $('#conversion-rate').val();
var averageOrderValue = $('#average-order-value').val();
var monthlySessions = $('#monthly-sessions').val();
var annualRevenue = (conversionRate/100)*averageOrderValue*monthlySessions*12;
annualRevenue = annualRevenue.toFixed(0)
$('.annual-revenue').text(numberWithCommas(annualRevenue));
var testImpact = annualRevenue * $('input[name="impact[]"]:checked').val();
testImpact = testImpact.toFixed(0);
$('.test-impact').text(numberWithCommas(testImpact));
return annualRevenue;
}
function numberWithCommas(x) {
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
}
// Create a GSAP timeline
const timeline = gsap.timeline({ repeat: -1, paused: false }); // Set repeat to -1 for continuous looping
// Add animations to the timeline
timeline.to("#circle1", { opacity: 1, duration: 0, ease: "none" });
timeline.to("#circle1", { opacity: 0, duration: 0, ease: "none", delay: 1.5});
timeline.to("#circle2", { opacity: 1, duration: 0, ease: "none" }, "<");
timeline.to("#circle2", { opacity: 0, duration: 0, ease: "none", delay: 1.5});
timeline.to("#circle3", { opacity: 1, duration: 0, ease: "none" }, "<");
timeline.to("#circle3", { opacity: 0, duration: 0, ease: "none", delay: 1.5});
timeline.to("#circle4", { opacity: 1, duration: 0, ease: "none" }, "<");
timeline.to("#circle4", { opacity: 0, duration: 0, ease: "none", delay: 1.5});
timeline.to("#circle5", { opacity: 1, duration: 0, ease: "none" }, "<");
timeline.to("#circle5", { opacity: 0, duration: 0, ease: "none", delay: 1.5});
// Hover triggers
const hoverTriggers = document.querySelectorAll(".hover-trigger");
hoverTriggers.forEach((trigger, index) => {
trigger.addEventListener("mouseenter", () => {
timeline.pause();
timeline.seek(index * 1.5);
});
trigger.addEventListener("mouseleave", () => {
timeline.play();
});
});
// Start the timeline
timeline.play();
</script>