Once you register, you will receive a confirmation via SMS text* with your
account information and a link to download the App. Once you download the App, you can submit
referrals on the go.
(*Msg. & data rates may apply)
Start earning
rewards for your referrals!
Submit
referrals with the App!
(Company Code: 19415)
Download the App and create your account
Download the App from iTunes or Google play store. You can then select a sales
rep if one referred you or choose none. Enter contact info and agree to the terms.
You’re ready to go!
Start sending referrals!
Select the product you would like to refer, add referrals – import the contact
from your contacts list, add a call back time or other info. Submit, you’re all
done!
Follow the status of your referrals and your rewards
Once your referral makes a purchase, the referral moves to a Sold Referral. Make
sure that you have notifications enabled for the App, so that you’re alerted when
you receive rewards or when you’ve earned a bonus!
function shareOverriddenData() { FB.ui({ method: 'share_open_graph', action_type: 'og.shares', action_properties: JSON.stringify({ object: { 'og:url': "https://webapp.getthereferral.com/partnerPages.php?companyCode=19415", 'og:title': "GetTheReferral", 'og:description': "Like our product? Do you know others who might like it too? Share us with your friends and family and if they sign up with us, you will earn rewards!", 'og:image': "https://advocator.getthereferral.com/upload/admin/web_logo1676651812.png" } }) }, function (response) { // Action after response }); }
$(document).ready(function () { API_URL = 'https://restapi.getthereferral.com/api/'; TOKEN = 'Basic Z3RydjVhZG1pbkBhZG1pbi5jb206MTU5QDM1Nw=='; verifiedText = 'Verified Referral'; soldText = 'Sold Referral';
verified_quote = "Once we have qualified your referral"; sold_quote = "Once your referral makes a purchase";
companyCode = '19415'; getCompanyData(); partnerPageDetails(companyCode); resLangWebData(companyCode);
$("#facebook_share").on("click", function () { var text = encodeURIComponent($(this).data("url")); window.open("https://www.facebook.com/sharer/sharer.php?u=" + text, "", "width=550,height=350"); }); $("#twitter_share").on("click", function () { var text = encodeURIComponent($("#twitter_text").val() + " " + $(this).data("url")); window.open("https://twitter.com/intent/tweet?source=webclient&text=" + text, "", "width=550,height=350"); }); });
function getCompanyData() { $.ajax({ type: "GET", url: API_URL + "companyCode/" + companyCode + "?app_type=WebApp", headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': TOKEN }, success: function (res) { if (res.success == '1') { if (res.result.companyData.is_active == 0) { $("#warningSection").show(); $("#content").hide(); $("#slider").hide(); } $("#googlePlayLink").attr('href', res.result.companyData.google_play_link); $("#appStoreLink").attr('href', res.result.companyData.apple_app_link); company_id = res.result.companyData.company_id; product_percent_sale = res.result.companyData.product_percent_sale; productsList(company_id); } else { $("#warningSection").show(); $("#content").hide(); $("#slider").hide(); } }, error: function (e) { // } }); }
function partnerPageDetails(company_code) { $.ajax({ type: "GET", url: API_URL + "getPartnerPageDetails/" + company_code, headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': TOKEN }, success: function (res) { if (res.success == '1') { verified_quote = res.result.verified_quote; sold_quote = res.result.sold_quote;
$("#logo").css('text-align', res.result.logo_align); $("#bannerTitle").html(res.result.sec1_title); $("#bannerTitle").css('color', res.result.sec1_text_color);
//.css('background-color', res.result.sec1_bg_color) $("#bannerContent").html(res.result.sec1_content); $("#bannerContent").css('color', res.result.sec1_text_color);
bannerContent = $("#bannerContent").text(); if (bannerContent == "") { $("#bannerContent").css("background", "none"); $(".overlay").hide(); } else { // change hex to rgb rgbcolor = hexToRgb(res.result.sec1_bg_color); $("#bannerContent").css('background-color', "rgba(" + rgbcolor.r + "," + rgbcolor.g + "," + rgbcolor.b + ",0.5)"); $(".overlay").show(); }
$("#regLeftContent").html(res.result.sec2_left_content); $("#refTitle").html(res.result.sec3_title); $("#refRightContent").html(res.result.sec3_right_content); $("#footerText").html(res.result.footer_text); $("#productSection").css('background-color', res.result.product_bg_color); $("#product-text").css('color', res.result.product_text_color); $("#footerSection").css('background-color', res.result.footer_bg_color); $("#registerBtn").css('background-color', res.result.sec2_btn_color); if (res.result.type == "youtube") { video = ''; } else { video = ''; } if (res.result.code_visibility == 1) $("#company-code-section").show(); else $("#company-code-section").hide();
if (res.result.show_disclaimer == 1) $("#disclaimer-sec").show(); else $("#disclaimer-sec").hide();
$("#disclaimer").html(res.result.disclaimer);
$("#footerVideo").html(video); } }, error: function (e) { } }); }
function resLangWebData(companyCode) { $.ajax({ type: "post", data: {'company_code': companyCode}, url: API_URL + "reslangwebdata", headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': TOKEN }, success: function (response) { response = JSON.parse(response); verifiedText = response.tab_verified; soldText = response.tab_sold;
}, error: function (e) { } }); }
function hexToRgb(hex) { var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex); return result ? { r: parseInt(result[1], 16), g: parseInt(result[2], 16), b: parseInt(result[3], 16) } : null; }
function productsList(company_id) { $.ajax({ type: "GET", url: API_URL + "refPageProducts/" + company_id, headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': TOKEN }, success: function (res) { if (res.success == '1') { content = ''; $.each(res.result, function (i, product) { if (product.show_product == 1) { content += '
'; if (i == 0) { content += '
'; } if (product.show_verified == 1) { content += '
' + verifiedText + '
' + verified_quote + '
'; if (product.product_tiers.length < 3) content += '
' + '
'; } if (product.show_sold == 1) { content += '
if (product.product_type == 2) { content += '
' + soldText + '
' + sold_quote + '
'; if (product.product_referral_tiers.length <= 3) content += '
' + '
' + '
'; } }); $("#accordion").html(content); } else { $("#accordion").html(res.message); } }, error: function (e) { $("#accordion").html("Something went wrong!"); } }); }
function ordinal_suffix_of(i) { var j = i % 10, k = i % 100; if (j == 1 && k != 11) { return i + "st"; } if (j == 2 && k != 12) { return i + "nd"; } if (j == 3 && k != 13) { return i + "rd"; } return i + "th"; }