• star
  • star
  • star
  • star
  • star

Application

Join our Revshare program to promote one of the most unique health oriented products on ClickBank


ATTENTION: All Affiliate advertising must strictly adhere to the standards of truthfulness and compliance with federal and state consumer protection laws, regulations, and guidelines, avoiding any deceptive, misleading, or unsubstantiated content. By submitting this application you agree to our affiliate terms of service.

We will respond to your application within 2 business days. At that time, upon approval, we will send you a link to all of our affiliate resources including email swipes, images and more. If you have any questions please contact us.

Enjoy the day!

The Maca Team

` var v2_bundle_block_html = `
` var v2_qty_discount_block_html = `
` var v2_purchase_crosssell_block_html = `
` var v2_purchase_product_recommendation_block_html = `
` var v2_in_cart_crosssell_block_html = `
` var v2_in_cart_recommendation_block_html = `
` var v2_product_id = $("input[name='product_id']").val() var v2_store_hash = "28d9a"; var v2_product_qty = 1; var v2_trigger_product_variant_id = 0; var v2_trigger_product_variants = []; var v2_offer_id = null; var v2_cart_id = ''; var v2_cart_items = []; var v2_hasOffer = false; var v2_apiUri = "https://recommender.peasisoft.com"; var v2_position = 0; var v2_offer_showed = false; var v2_trigger_product_ids = []; var v2_products_in_cart = []; var v2_offer_type_arr = []; var v2_req_data; // var currency = '$'; var v2_trigger_clicked = false; var v2_loading = true; // task currency var v2_currency_code = ""; var v2_currency = { token_location: "left", token: "$", decimal_token: ".", thousands_token: ",", decimal_places: 2, is_transactional: true, }; var v2_base_currency_code = "USD"; var v2_dest_currency_code = v2_base_currency_code; var v2_rate = 1; var v2_is_user_logged_in = 0; var v2_token_user = '' var v2_check_existed_page_crosssell = false; var v2_check_existed_page_bundle = false; var v2_check_existed_page_qty_discount = false; var v2_check_existed_thank_product_recommendation = false; var v2_check_existed_purchase_crosssell = false; var v2_check_existed_in_cart_crosssell = false; var v2_check_existed_in_cart_recommendation = false; $(function() { var v2_start_time = new Date().getTime(); if(v2_product_id){ // type 2 crosssell // type 3 bundle // type 5 qty discount v2_offer_type_arr = [2, 3, 5]; v2_position = 1; }else if (window.location.pathname.includes("order-confirmation")) { //type 2 crosssell // type 4 product recommendation v2_offer_type_arr = [2, 4]; v2_position = 3; } else if (window.location.pathname.includes("cart.php")) { v2_offer_type_arr = [2, 4]; v2_position = 2; } if (v2_position === 1) { $('head').append(' '); $('head').append(' '); $('head').append(' '); } else if(v2_position === 3) { $('head').append(' '); $('head').append(' '); }else if(v2_position === 2) { $('head').append(' '); $('head').append(' ') } v2_req_data = { id: v2_product_id, store_hash: v2_store_hash, position: v2_position, trigger_product_ids: v2_trigger_product_ids, products_in_cart: v2_products_in_cart, currency_code: v2_currency_code, screen_width: $(window).width(), is_user_logged_in: v2_is_user_logged_in, user_token: v2_token_user }; $.getScript("https://recommender.peasisoft.com/storefront/js/popup-widget.js", () => { $.get({ url: '/customer/current.jwt?app_client_id=ssearhvcx7ny3fefhmjhsqezf55stq1', success: function (response) { v2_req_data.is_user_logged_in = 1 v2_req_data.user_token = response getPopupContent(); }, error: function (error) { console.log('failed to get current user') console.log(error); getPopupContent(); } }) function getPopupContent(){ console.log('get carts') $.get('/api/storefront/carts', function(cart_data) { if (cart_data && cart_data.length > 0) { v2_cart_id = cart_data[0]['id']; v2_cart_items = cart_data[0]["lineItems"]["physicalItems"].concat(cart_data[0]["lineItems"]["digitalItems"]); v2_req_data.products_in_cart = v2_cart_items; v2_req_data.trigger_product_ids = v2_cart_items.map(x => x.productId); localStorage.setItem('v2_cart_items', v2_req_data.trigger_product_ids) if (localStorage.getItem('v2_offer_showed')) { return false } localStorage.removeItem('offer_showed') } if (v2_position === 3 && localStorage.getItem('v2_cart_items')) { v2_req_data.trigger_product_ids = localStorage.getItem('v2_cart_items').split(",") v2_req_data.products_in_cart = v2_req_data.trigger_product_ids.slice() localStorage.removeItem('v2_cart_items') } v2_dest_currency_code = $('.body').attr('data-currency-code'); if (typeof v2_dest_currency_code !== "undefined" && v2_dest_currency_code !== v2_base_currency_code) { localStorage.setItem('v2_dest_currency_code', v2_dest_currency_code); } else if (typeof v2_dest_currency_code !== "undefined" && v2_dest_currency_code === v2_base_currency_code) { v2_dest_currency_code = v2_base_currency_code; localStorage.setItem('v2_dest_currency_code', v2_dest_currency_code); } else { if (localStorage.getItem('v2_dest_currency_code') && localStorage.getItem('v2_dest_currency_code') !== v2_base_currency_code) { v2_dest_currency_code = localStorage.getItem('v2_dest_currency_code'); } else { v2_dest_currency_code = v2_base_currency_code; } } v2_req_data.currency_code = v2_dest_currency_code; if ((v2_req_data.trigger_product_ids.length < 1 && v2_product_id == null) || v2_position === 0) { console.log('Request data invalid. Request fail.') v2_loading = false; v2_hasOffer = false; return false } v2_offer_type_arr.forEach(element => { v2_req_data['type'] = element; $.ajax({ url: v2_apiUri + "/api/popup-content", headers: { "Access-Control-Allow-Headers": "*" }, type: "GET", crossDomain: true, data: v2_req_data, dataType: "json", success: function(res) { v2_loading = false; if (res.responseText) { //set position of offer if (window.location.pathname.includes("cart.php")) { v2_position = 2; $(`.${res.cartPageCrossSell}`).first().after(v2_in_cart_crosssell_block_html) res.cartPageRecommendationClassPosition == 'after' ? $(`.${res.cartPageRecommendation}`).first().after(v2_in_cart_recommendation_block_html) : $(`.${res.cartPageRecommendation}`).first().before(v2_in_cart_recommendation_block_html); } else if (typeof v2_product_id !== "undefined") { res.productPageCrossSellClassPosition == 'before' ? $(`.${res.productPageCrossSell}`).first().before(v2_block_html) : $(`.${res.productPageCrossSell}`).first().after(v2_block_html); res.productPageBundleClassPosition == 'after' ? $(`.${res.productPageBundle}`).first().after(v2_bundle_block_html) : $(`.${res.productPageBundle}`).first().before(v2_bundle_block_html); res.productPageQtyDiscountClassPosition == 'after' ? $(`.${res.productPageQtyDiscount}`).first().after(v2_qty_discount_block_html) : $(`.${res.productPageQtyDiscount}`).first().before(v2_qty_discount_block_html); } else if(window.location.pathname.includes("order-confirmation")){ res.thankPageCrossSellClassPosition == 'after' ? $(`.${res.thankPageCrossSell}`).first().after(v2_purchase_crosssell_block_html) : $(`.${res.thankPageCrossSell}`).first().before(v2_purchase_crosssell_block_html); res.thankPageRecommendationClassPosition == 'after' ? $(`.${res.thankPageRecommendation}`).first().after(v2_purchase_product_recommendation_block_html) : $(`.${res.thankPageRecommendation}`).first().before(v2_purchase_product_recommendation_block_html); } if(res.templateName){ let v2_subStrings = res.templateName.split("-"); if(v2_subStrings[1] === 'page' && v2_subStrings[2] === 'crosssell' && !v2_check_existed_page_crosssell){ $('#ult-upsell-native-block').html(res.responseText); v2_check_existed_page_crosssell = true; }else if(v2_subStrings[2] === 'bundle' && !v2_check_existed_page_bundle){ $('#ult-upsell-native-bundle-block').html(res.responseText); v2_check_existed_page_bundle = true; }else if(v2_subStrings[1] !== 'cart' && v2_subStrings[2] === 'product_recommendation' && !v2_check_existed_thank_product_recommendation){ $('#purchase-product-recommendation-block').html(res.responseText); v2_check_existed_thank_product_recommendation = true; }else if(v2_subStrings[1] === 'purchase' && v2_subStrings[2] === 'crosssell' && !v2_check_existed_purchase_crosssell){ $('#purchase-crosssell-block').html(res.responseText); v2_check_existed_purchase_crosssell = true; }else if(v2_subStrings[1] === 'cart' && v2_subStrings[2] === 'crosssell' && !v2_check_existed_in_cart_crosssell){ $('#in-cart-crosssell-block').html(res.responseText) v2_check_existed_in_cart_crosssell = true; }else if(v2_subStrings[2] === 'discount_quantity' && !v2_check_existed_page_qty_discount){ $('#ult-upsell-native-qty-discount-block').html(res.responseText); v2_check_existed_page_qty_discount = true; }else if(v2_subStrings[1] === 'cart' && v2_subStrings[2] === 'product_recommendation' && !v2_check_existed_in_cart_recommendation){ $('#in-cart-product-recommendation-block').html(res.responseText); v2_check_existed_in_cart_recommendation = true; } v2_hasOffer = true; console.log("(v2) Found offer"); v2_offer_id = res.offer_id v2_product_id = res.trigger_product_id v2ShowOfferBlock(v2_subStrings[1], v2_subStrings[2]); } } console.log("(v2) Load completed. Request time: ", new Date().getTime() - v2_start_time); }, error: function(res) { v2_loading = false; let v2_subStrings = res.templateName.split("-"); if(v2_subStrings[1] === 'page' && v2_subStrings[2] === 'crosssell'){ $('#ult-upsell-native-block').html(res.responseText); }else if(v2_subStrings[2] === 'bundle'){ $('#ult-upsell-native-bundle-block').html(res.responseText); }else if(v2_subStrings[2] === 'product_recommendation'){ $('#purchase-product-recommendation-block').html(res.responseText); }else if(v2_subStrings[1] === 'purchase' && v2_subStrings[2] === 'crosssell'){ $('#purchase-crosssell-block').html(res.responseText); }else if(v2_subStrings[1] === 'cart' && v2_subStrings[2] === 'crosssell'){ $('#in-cart-crosssell-block').html(res.responseText) }else if(v2_subStrings[2] === 'discount_quantity'){ $('#ult-upsell-native-qty-discount-block').html(res.responseText); }else if(v2_subStrings[1] === 'cart' && v2_subStrings[2] === 'product_recommendation'){ $('#in-cart-product-recommendation-block').html(res.responseText); } console.log("(v2) Error occured. Request time: ", new Date().getTime() - v2_start_time); }, }); }) }) } }) });