How can I change default referral message?

Within your campaign setup flow, on the "Edit UI" page ( Fig:2 ) you can set the default referral message ( Fig:3 ). If you would like to dynamically update the default message based on user profile or user's shopping cart then you should add a JavaScript function named overrideNextBeeParams which takes nextbeeItemObj as parameter and in that function you should change the property referralMessage of this object and return the updated object in this function.

Similarly, you can change referralMessageSubject property of this object to dynamically change referral message subject.

Looking for a Referral or a Loyalty Program?
NextBee has robust and feature rich platform
We guarantee your ROI
No long term contract to sign
Hassle free zero cost IT setup

Related Topics