Use coupon code ' + json.offer.couponCode + ', and
get ' + json.offer.discount + '% Off on any Mindler program.
Get INR 500/- off on Mindler Explore – our most popular career guidance program
Buy Now
Offer Expires on '+json.offer.endDate+'
'); $("#offer-popup-collapse").append('
' + json.offer.mobileButtonText + '
'); $("#new-purchase-collapse-mode").append('' + json.offer.mobileButtonTextPurchage + ''); var checkPackage = getCookie("package"); if(localStorage.getItem('p1')=='plus' || checkPackage){ $("#offer-popup").hide(); }else if(!localStorage.getItem('p1')){ $("#offer-popup").show(); } if (json.name) { var package = (json.package == 1) ? 'stream' : 'career'; if (json.sub_package.length > 0 && json.sub_package == 1) { var str = "Learn - world's most-advanced " + package + " assessment. Good choice!"; } else if (json.sub_package.length > 0 && json.sub_package == 2) { var str = 'Explore - our most popular career-guidance program. Great choice!'; } var offerText if (json.offer.PurchaseText) { offerText = '
' + json.offer.PurchaseText; } //$(".new-purchase-banner").show(); $("#new-purchase-banner").empty(); $("#new-purchase-banner").append('
Welcome back, ' + json.name + '
You deserve a
Perfect Career!
You were interested in Mindler ' + str + offerText + '
Continue Your Purchase
'); if(checkPackage){ if(localStorage.getItem('p')=='plus'){ $("#new-purchase-banner").show(); $("#new-purchase-collapse-mode").hide(); }else if(localStorage.getItem('p')=='minus'){ $("#new-purchase-banner").hide(); $("#new-purchase-collapse-mode").show(); }else{ $("#new-purchase-banner").show(); } }else{ $("#new-purchase-collapse-mode").hide(); } // $("#offer-popup").hide(); } } else { $("#offer-popup").hide(); if(localStorage.getItem('p')=='minus'){ $("#new-purchase-banner").hide(); $("#new-purchase-collapse-mode").show(); }else{ $("#new-purchase-banner").show(); } var package = (json.package == 1) ? 'stream' : 'career'; if (json.sub_package.length > 0 && json.sub_package == 1) { var str = "Learn - world's most-advanced " + package + " assessment. Good choice!"; } else if (json.sub_package.length > 0 && json.sub_package == 2) { var str = 'Explore - our most popular career-guidance program. Great choice!'; } //$(".new-purchase-banner").show(); $("#new-purchase-banner").empty(); $("#new-purchase-banner").append('
Welcome back, ' + json.name + '
You deserve a
Perfect Career!
You were interested in Mindler ' + str + '
Continue Your Purchase
'); //$("#new-purchase-banner").show(); $("#new-purchase-collapse-mode").empty(); $("#new-purchase-collapse-mode").append('Continue Your Purchase'); } } }); // Check cookie and set header /mydashboard || form field if (document.cookie.includes('conf_auth_prod')) { $('.menu-holder ul li:last-child a').text('My Dashboard'); $('.menu-holder ul li:last-child a').attr('href', 'https://dashboard.mindler.com/dashboard'); } else { $('.menu-holder ul li:last-child').prepend(''); $('.menu-holder ul li:last-child').prepend('Take the world’s most-advanced career assessment'); $('.menu-holder ul li:last-child a').attr('id', 'startNow'); $(".menu-holder ul li:last-child a").removeAttr('target'); $(".menu-holder ul li:last-child a").attr('href', 'JavaScript:void(0);'); } /*End of loggin session*/ $('.wpb_column .text-center .button').text('Load More'); $('.menu-holder ul li:nth-child(2) a').prepend(''); $('.menu-holder ul li:nth-child(2)').prepend('Career helpline'); $('.mobile-menu li.tel-style a').prepend('Helpline:'); $('.mobile-menu li.free-demo').prepend('
Try the world’s most advanced career assessment!
'); var url = window.location.href; parts = url.split("/"), last_part = parts[parts.length - 2]; //alert(referrerURL.match(/[^\/]*$/)); if (last_part == 'blog') { var BlogName = 'Blog Home'; var BlogRhs = 'Blog Home'; var Inline = 'Blog Home'; } else { var BlogName = 'Blog: ' + $(document).find("title").text(); var BlogRhs = 'RHS Banner:' + $(document).find("title").text(); var Inline = 'Inline banner:' + $(document).find("title").text(); } // $('.menu-holder ul li:last-child').prepend(''); // $('.menu-holder ul li:last-child').prepend('Take the world’s most-advanced career assessment'); // $('.menu-holder ul li:last-child a').attr('id', 'startNow'); // $(".menu-holder ul li:last-child a").removeAttr('target'); // $('.menu-holder ul li:last-child a').attr('onclick', 'ga("send", "event", "Email Only Sign Up", "Header", "' + BlogName + '");'); // $(".menu-holder ul li:last-child a").attr('href', 'JavaScript:void(0);'); $("#rhs-action").attr('onclick', 'ga("send", "event", "Email Only Sign Up", "Blog Page", "' + BlogRhs + '");'); $("#contactUs").attr('onclick', 'ga("send", "event", "Email Only Sign Up", "Blog Page", "' + Inline + '");'); $("#continue-purchase-slider").attr('onclick', 'ga("send", "event", "Continue Purchase Slider", "Banner Close", "' + BlogName + '");'); $("#continue-purchase-slider1").attr('onclick', 'ga("send", "event", "Continue Purchase Slider", "Buy Now", "' + BlogName + '");'); $("#continue-purchase-slider2").attr('onclick', 'ga("send", "event", "Continue Purchase Slider", "Banner Open", "' + BlogName + '");'); $('#rhs-blog-form').attr('onclick', 'ga("send", "event", "Contact Us", "Blog Page", "' + BlogName + '");'); //$(".mobile-menu li:last-child a").attr('href','https://www.mindler.com'); // $(".mobile-menu li:last-child a").attr('target', '_blank'); //$(".menu-holder ul li:last-child a").attr('target', '_blank'); $('.footer-menu li a').attr('target', '_blank'); $('.footer-menu li a').attr('target', '_blank'); /* Start now for free code*/ $('#mobile-menu ul li:last-child a').click(function() { var filter = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/; var email = $(this).parents("li").find(".email-input").val(); $(this).parents("li").find(".email-input").next(".validation").remove(); if (email.length == 0) { $(this).next(".validation").remove(); // remove it $(this).parents("li").find(".email-input").after('
Please enter email address
'); $(this).parents("li").find(".email-input").focus(); } else if (!filter.test(email)) { $(this).parents("li").find(".email-input").next(".validation").remove(); // remove it $(this).parents("li").find(".email-input").after('
Please enter valid email address
'); $(this).parents("li").find(".email-input").focus(); } else { //$(this).next(".validation").remove(); // remove it $('body').prepend('
'); $.ajax({ type: "POST", url: "https://www.mindler.com/login/validateEmail", data: { "email": email }, success: function(responses) { $("div.overlay-box").css("display", "none"); var response = $.parseJSON(responses); if (response.status == '404') { $(this).next(".validation").remove(); // remove it window.location.href = "https://www.mindler.com/login?email=" + email; } else if (response.result == 'invalid' || response.result == 'unknown' || response.result == 'catch_all') { $('#mobile-menu ul li:last-child .email-input').next(".validation").remove(); // remove it $('#mobile-menu ul li:last-child .email-input').after('
The email address you entered is not correct. Please try again.
'); $('#mobile-menu ul li:last-child a').parents("li").find(".email-input").focus(); } else { $.ajax({ type: "POST", url: "https://www.mindler.com/login/emailSignup", data: { "name": "email", "email": email, "SourceMedium":"Blog" }, success: function(response) { $('body').next(".overlay-box").remove(); $('.menu-holder ul li:last-child a').next(".validation").remove(); // remove it var json = $.parseJSON(response); if (json.status == 200) { window.location.href = "https://www.mindler.com/assess/dashboard"; $.ajax({ type: "POST", url: "https://www.mindler.com/login/emailSignupLeadsquare", data: { "source": "Email Only", "email": email, "ProspectStage": "EmailOnly", "SourceMedium": "Blog", "SourceContent": BlogName, "SourceDescription": "Header" }, success: function(response) { } }); } else { $('#mobile-menu ul li:last-child .email-input').next(".validation").remove(); // remove it $('#mobile-menu ul li:last-child .email-input').after('
Aah! something went wrong
'); $('#mobile-menu ul li:last-child a').parents("li").find(".email-input").focus(); } } }); } } }); } }); $('.menu-holder ul li:last-child a').click(function () {var email = $(this).parents("li").find(".email-input").val();var urlee = encodeURIComponent(email);var filter = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/; if (email.length == 0) { $(this).next(".validation").remove(); // remove it $(this).after('
Please enter email address
'); $(this).parents("li").find(".email-input").focus(); } else if (!filter.test(email)) { $(this).next(".validation").remove(); // remove it $(this).after('
Please enter valid email address
'); $(this).parents("li").find(".email-input").focus(); } else { //$(this).next(".validation").remove(); // remove it $('body').prepend('
'); $.ajax({ type: "POST", url: "https://www.mindler.com/login/validateEmail", data: { "email": email }, success: function (responses) { $("div.overlay-box").css("display", "none"); var response = $.parseJSON(responses); if (response.status == '404') { $(this).next(".validation").remove(); // remove it window.location.href = `https://dashboard.mindler.com/onboarding?email=${urlee}`; } else if (response.result == 'invalid' || response.result == 'unknown' || response.result == 'catch_all') { $('.menu-holder ul li:last-child a').next(".validation").remove(); // remove it $('.menu-holder ul li:last-child a').after('
The email address you entered is not correct. Please try again.
'); $('.menu-holder ul li:last-child a').parents("li").find(".email-input").focus(); } else { $.ajax({ type: "POST", url: "https://www.mindler.com/login/emailSignup", data: { "name": "email", "email": email, "SourceMedium": "Blog" }, success: function (response) { $('body').next(".overlay-box").remove(); $('.menu-holder ul li:last-child a').next(".validation").remove(); // remove it var json = $.parseJSON(response); if (json.status == 200) { window.location.href = `https://dashboard.mindler.com/onboarding?email=${urlee}`; $.ajax({ type: "POST", url: "https://www.mindler.com/login/emailSignupLeadsquare", data: { "source": "Email Only", "email": email, "ProspectStage": "EmailOnly", "SourceMedium": "Blog", "SourceContent": BlogName, "SourceDescription": "Header" }, success: function (response) { } }); } else { $('.menu-holder ul li:last-child a').next(".validation").remove(); // remove it $('.menu-holder ul li:last-child a').after('
Aah! something went wrong
'); $('.menu-holder ul li:last-child a').parents("li").find(".email-input").focus(); } } }); } } }); }}); /*for contact us banner*/ $('.email-absolute #contactUs').click(function() { var filter = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/; var email = $(".contact-input").val(); if (email.length == 0) { $(".contact-input").next(".validation").remove(); // remove it $(".contact-input").after('
Please enter email address
'); $(".contact-input").focus(); } else if (!filter.test(email)) { $(".contact-input").next(".validation").remove(); // remove it $(".contact-input").after('
Please enter valid email address
'); $(".contact-input").focus(); } else { $(".new-signup-box").next(".validation").remove(); // remove it //$("div.overlay-box").css("display", "block"); $('body').prepend('
'); $.ajax({ type: "POST", url: "https://www.mindler.com/login/validateEmail", data: { "email": email }, success: function(responses) { $("div.overlay-box").css("display", "none"); var response = $.parseJSON(responses); if (response.status == '404') { $(this).next(".validation").remove(); // remove it window.location.href = "https://www.mindler.com/login?email=" + email; } else if (response.result == 'invalid' || response.result == 'unknown' || response.result == 'catch_all') { $(".contact-input").next(".validation").remove(); // remove it $(".contact-input").after('
The email address you entered is not correct. Please try again.
'); $(".contact-input").focus(); } else { $.ajax({ type: "POST", url: "https://www.mindler.com/login/emailSignup", data: { "name": "email", "email": email, "SourceMedium":"Blog" }, success: function(response) { $('.menu-holder ul li:last-child a').next(".validation").remove(); // remove it $('body').next(".overlay-box").remove(); var json = $.parseJSON(response); if (json.status == 200) { window.location.href = "https://www.mindler.com/assess/dashboard"; $.ajax({ type: "POST", url: "https://www.mindler.com/login/emailSignupLeadsquare", data: { "source": "Email Only", "email": email, "ProspectStage": "EmailOnly", "SourceMedium": "Blog", "SourceContent": BlogName, "SourceDescription": "Inline" }, success: function(response) { } }); } else { $(".contact-input").next(".validation").remove(); // remove it $(".contact-input").after('
Aah! something went wrong
'); $(".contact-input").focus(); } } }); } } }); } }); });
'); $('.rhs-banner').find("#rhs-email").focus(); } else if (!filter.test(email)) { $('.rhs-banner').find("#rhs-email").next(".validation").remove(); // remove it $('.rhs-banner').find("#rhs-email").after('
'); $('.rhs-banner').find("#rhs-email").focus(); } else { $(this).next(".validation").remove(); // remove it $('body').prepend('
'); $.ajax({ type: "POST", url: "https://www.mindler.com/login/validateEmail", data: { "email": email }, success: function(responses) { $("div.overlay-box").css("display", "none"); var response = $.parseJSON(responses); if (response.status == '404') { $('.rhs-banner').find("#rhs-email").next(".validation").remove(); // remove it window.location.href = "https://www.mindler.com/login?email=" + email; } else if (response.result == 'invalid' || response.result == 'unknown' || response.result == 'catch_all') { $('.rhs-banner').find("#rhs-email").next(".validation").remove(); // remove it $('.rhs-banner').find("#rhs-email").after('
The email address you entered is not correct. Please try again.
'); $('.rhs-banner').find("#rhs-email").focus(); } else { $.ajax({ type: "POST", url: "https://www.mindler.com/login/emailSignup", data: { "name": "email", "email": email, "SourceMedium":"Blog" }, success: function(response) { $('.menu-holder ul li:last-child a').next(".validation").remove(); // remove it $('body').next(".overlay-box").remove(); var json = $.parseJSON(response); if (json.status == 200) { window.location.href = "https://www.mindler.com/assess/dashboard"; $.ajax({ type: "POST", url: "https://www.mindler.com/login/emailSignupLeadsquare", data: { "source": "Email Only", "email": email, "ProspectStage": "EmailOnly", "SourceMedium": "Blog", "SourceContent": BlogName, "SourceDescription": "RHS" }, success: function(response) { } }); } else { $('.rhs-banner').find("#rhs-email").next(".validation").remove(); // remove it $('.rhs-banner').find("#rhs-email").after('