Skip to content

Commit f09ec89

Browse files
committed
embed UX image, referrer_id changes
1 parent 69f27f4 commit f09ec89

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docs/activities/development-guides.mdx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ This guide covers creating a customizable [Incentivized Link](#DOCS_ACTIVITIES_D
996996
2. On the Custom Links page, click `Create New` to create a new link.
997997
3. You will need to upload an image with an aspect ratio of 43:24.
998998
4. Title, and description is also required.
999-
5. All other fields are optional but you are able to customize the primary button's label as well as add a referrer_id and custom_id to the link. Explicit referrer_id and custom_id on the link itself will always override the set referrer_id and custom_id.
999+
5. All other fields are optional but you are able to customize the primary button's label as well as acustom_id to the link. An explicit `custom_id` query parameter on the link itself will always override the set custom_id.
10001000
6. Click Save.
10011001
10021002
#### Editing a Link
@@ -1007,7 +1007,7 @@ This guide covers creating a customizable [Incentivized Link](#DOCS_ACTIVITIES_D
10071007
10081008
#### Copying a Link
10091009
1010-
Once you're satisfied with your changes you can click on the copy icon on the row, it'll change colors to green indicating that it copied to your clipboard. You are now able to share this link anywhere. The link will look like: `https://discord.com/activities/<your Activity ID>?link_id=0-123456789`. Even if you've set a `referrer_id` and/or a `custom_id`, it won't be explicitly included in the link but will be loaded once a user clicks on the link. You can then further shorten this URL if you'd like.
1010+
Once you're satisfied with your changes you can click on the copy icon on the row, it'll change colors to green indicating that it copied to your clipboard. You are now able to share this link anywhere. The link will look like: `https://discord.com/activities/<your Activity ID>?link_id=0-123456789`. Even if you've set a `custom_id`, it won't be explicitly included in the link but will be loaded once a user clicks on the link. You can then further shorten this URL if you'd like.
10111011

10121012
#### Deleting a Link
10131013

@@ -1021,6 +1021,12 @@ Once you're satisfied with your changes you can click on the copy icon on the ro
10211021
- Track and validate referrals to prevent abuse
10221022
- Gracefully handle expirations in your activity for any custom links that are limited time but still live off-platform.
10231023
1024+
#### User Experience
1025+
1026+
![custom-link-embed](activities/custom-link-embed.png)
1027+
1028+
Users will see an embed with your information displayed. Clicking "Play" opens the activity and passes through the `custom_id` you've set. A `referrer_id` will be present for links shared on Discord.
1029+
10241030
---
10251031

10261032
### Preventing unwanted activity sessions
162 KB
Loading

0 commit comments

Comments
 (0)