Referral link updates#77
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| queries - for example, by spreading `location.search` params into a | ||
| listings query - referral link parameters may be unintentionally | ||
| included. Filter them out before making API calls. See | ||
| [SearchPage.duck.js](https://github.com/sharetribe/web-template/blob/cb2d59c91d101c33b276368315be8ff2b4519359/src/containers/SearchPage/SearchPage.duck.js#L282-L291) |
There was a problem hiding this comment.
I would advise against linking to a specific line in code – these links break if the file is updated.
There was a problem hiding this comment.
Good point! I'll remove the specific lines
| sign-up. For more information on setting up referrals, refer to the | ||
| [Help Center article](). {/* TODO: Add Help Center article link */} | ||
|
|
||
| ## How referral links work |
There was a problem hiding this comment.
Looking at this as someone not familiar with this feature, is there sense in including an example of what the referral URL structure looks like? Is it always static or is the exact structure defined via user type?
There was a problem hiding this comment.
Good point! I'll add an example there.
The structure is static → userType.referralSources has parameter/label but the content of those depend on dynamic definitions set in Console
Updates for upcoming referral link feature. Includes a new article describing the feature (how it works, notes for customizers) and updates to line numbers of affected files.
There are still two TODO's for content/concepts/users-and-authentication/referral-links/index.mdx: