Welcome Message


Referral programs are a great way to empower your brand by further empowering your loyal customers. The welcome message is a way to prompt the customers to refer the brand to their friends and acquaintances. The message contains a referral link or a code that the customers can share further.

Below are methods to show the welcome message and its important components :

Show Welcome Message

You can show​ ​the welcome​ ​message​ ​to​ ​the customer​ ​if​ ​he​ ​comes​ ​through​ ​the referral​ ​of​ ​his​ ​friend.

[InviteReferrals welcomeMessage];

Get Referrer Code

You can get the value of referrer code by using the following method.

InviteReferrals.getReferrerCode { (irReferrerCode: String?) in
print("irReferrerCode = \(irReferrerCode!)")
[InviteReferrals getReferrerCode:^(NSString * irReferrerCode) {
NSLog(@"irReferrerCode= %@", irReferrerCode);

Get Referring Params

You can get the value of referring parameters by using the following method.

InviteReferrals.getReferringParams { (irReferringParams : [AnyHashable : Any]?) in
print("irReferringParams = \(irReferringParams!)")
[InviteReferrals getReferringParams:^(NSDictionary * irReferringParams) {
NSLog(@"irReferringParams = %@", irReferringParams);

Response Sample