Welcome Message


Referral programs are a great marketing strategy to let your existing customers claim their rewards and incentives whenever they refer your brand to their closed ones and acquaintances. Welcome Message is the first step to prompt your existing customers to let them refer the brand to their friends and acquaintances. The message includes a referral link or a code that the customers can further share.

Read the below steps to launch the different components of Referral program

Show Welcome Message

Show​ ​welcome​ ​message​ ​to​ ​customer​ ​if​ ​he​ ​comes​ ​through​ ​referral​ ​of​ ​his​ ​friend.




Get Referrer Code

A referrer code refers to the unique combination of numbers and letters which is assigned by the brand to its customers which they can share as a referral code to their friends and acquaintances.

This function will provide referrer code in callback, if it's available in the SDK.

Show​ ​welcome​ ​message​ ​to​ ​customer​ ​if​ ​he​ ​comes​ ​through​ ​referral​ ​of​ ​his​ ​friend.

Invitereferrals.shared.getReferrerCode().then((value) {
       // do your useful task

Get Referring Params

This function is a return type function, which provides JSON data in return. It has all UTM data, if it is captured from the application.

              // referring parameters in JSON String

Example -

Invitereferrals.shared.getReferringParams().then((value) {
                       // do your task



Show Pop-Up

This method is used when you want to show, how it works or terms & conditions content in your app’s screen. Pop-up will be shown in alert dialog box in your screen.

Invitereferrals.shared.showPopUp((String)rule, (int)CampaignId);


Invitereferrals.shared.showPopUp("tnc", 27990);

Parameters :

PopUp (string)Call to action button on which user will click and converte.g. START
Campaign id (integer)Unique identification number of the campaign25XXXX