You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en-us/production/promotion/referral-system.md
+11-75Lines changed: 11 additions & 75 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,42 +1,29 @@
1
1
---
2
-
title: Friend referral system
2
+
title: Friend invite reward system
3
3
description: Use referral links to track and reward players that have successfully invited other players into your experience, and players that have joined your experience using a referral link invitation from another player.
4
4
---
5
5
6
6
<Alertseverity="info">
7
-
If you previously used this feature while it was still in beta, make sure to implement the new [customized reward banners](#create-a-reward-banner) to maximize the reach of your friend referral system. Your users will be able to see the customized banners in mid-April 2025.
7
+
This feature is still in beta. If you'd like to provide Roblox with feedback about this feature, join the [User Acquisition Referrals](https://www.guilded.gg/i/EwKQPZWE) Guilded group.
<iframewidth="880"height="495"src="https://www.youtube-nocookie.com/embed/qfWKYgO63OI"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"allowfullscreen></iframe>
11
+
12
+
<br> </br>
18
13
19
14
The friend referral system encourages existing players to bring new players into your experience, increasing player retention and overall engagement. Players can access and share referral links from [player invite prompts](./invite-prompts.md) or directly from the default in-experience invite menu.
20
15
21
-
As a developer, you can create customized banners to advertise your reward system and use shareable referral links to:
16
+
As a developer, you can use these shareable referral links to:
22
17
23
18
- Track which players have successfully invited other players into your experience.
24
19
- Track which players have joined your experience using a referral link invitation from another player.
25
20
- Create and distribute rewards to both inviters and invitees.
To implement a referral system, [set up a referral event](#set-up-a-referral-event) and [create referral rewards](#grant-referral-rewards) in Studio. The `ReferredByPlayerId` property of `Class.Player:GetJoinData()|GetJoinData()` automatically populates for all types of invitations and gives you access to the user ID of the referring player. You can then access this data in the `Players.PlayerAdded` event to identify the inviter and grant rewards to both the inviter and the invitee.
26
+
To implement a friend referral system, [set up a referral event](#set-up-a-referral-event) and [create referral rewards](#grant-referral-rewards). The `ReferredByPlayerId` property of `Class.Player:GetJoinData()|GetJoinData()` automatically populates for all types of invitations and gives you access to the user ID of the referring player. You can then access this data in the `Players.PlayerAdded` event to identify the inviter and grant rewards to the inviter and the invitee.
40
27
41
28
```lua
42
29
functiononPlayerAdded(player)
@@ -50,8 +37,6 @@ end
50
37
Players.PlayerAdded:Connect(onPlayerAdded)
51
38
```
52
39
53
-
To make sure that players understand the reward system, [implement a customized reward banner](#create-a-reward-banner) at the top of your friend invite modal showing them details about the rewards they can earn.
54
-
55
40
## Set up a referral event
56
41
57
42
To set up a referral event:
@@ -128,31 +113,7 @@ end
128
113
Players.PlayerAdded:Connect(onPlayerAdded)
129
114
```
130
115
131
-
## Create a reward banner
132
-
133
-
Reward banners encourage users to invite friends to join your experience by showing them details about the referral rewards they can earn. These banners are displayed at the top of your friend invite modal.
134
-
135
-
To create a customized reward banner:
136
-
137
-
1. In the Creator Hub, go to **Creations** and select the experience that you have set up a referral event for.
138
-
2. Go to **Engagement** > **Referral Rewards**.
139
-
3. Click **Add Reward Details**.
140
-
4. In the **Referral Rewards** page:
141
-
1. Replace the default icon with an image that represents your experience.
142
-
2. Enter a reward name to display on the banner.
143
-
3. Select a start and end date for when you want to show the banner to players.
144
-
4. (Optional) Enter a description with details about the reward.
145
-
5. (Optional) If you want to add reward restrictions, enter a reward limit. For example, a limit of up to 3 rewards per inviter.
146
-
5. Click **Save** to save your changes.
147
-
6. Click **Publish** to make the banner visible to players.
148
-
149
-
You can create many different banners, but only one banner can be published and shown at a time. Make sure that the published banner accurately describes the referral system you have implemented in Studio.
You can implement safeguards to prevent players from exploiting the friend referral system.
158
119
@@ -179,28 +140,3 @@ function onPlayerAdded(player)
179
140
end
180
141
end
181
142
```
182
-
183
-
## Best practices
184
-
185
-
Follow the best practices to get the most out of your friend referral system.
186
-
187
-
- To encourage players in your experience to take advantage of referrals, add an in-experience button to advertise the referral system. Give the button a descriptive title and connect the button click event to the friend invite modal where players can see the reward banner.
188
-
- Update the title and description of your experience to include the referral system. For example, you can add "[Referral reward live]" to your experience's title to make players who are browsing Roblox aware of referral rewards.
189
-
190
-
## Frequently asked questions
191
-
192
-
**Which experiences are eligible to use this feature?**
193
-
194
-
This feature is open to any experience that has been live for at least one day and that doesn't violate the [Community Standards](https://en.help.roblox.com/hc/en-us/articles/203313410-Roblox-Community-Standards).
195
-
196
-
**Which players can take advantage of referrals?**
197
-
198
-
All players are eligible to earn rewards through referrals.
199
-
200
-
**Is the invite restricted to a player's friends on Roblox?**
201
-
202
-
No, players can send an invite to friends they aren't connected with on the Roblox platform yet.
0 commit comments