简体   繁体   English

Metaplex 店面中的推荐计划

[英]Referral program in Metaplex storefront

What is the best way to create "Referral program" in Metaplex storefront?在 Metaplex 店面中创建“推荐计划”的最佳方法是什么?

A referral program works by inviting customers to become brand ambassadors.推荐计划通过邀请客户成为品牌大使来发挥作用。 They join the referral marketing program and get a unique code or link to share with their network.他们加入推荐营销计划并获得唯一的代码或链接以与他们的网络共享。 so the referral program tracks the activity of a customers' code or link.因此推荐程序跟踪客户代码或链接的活动。 If someone purchases using it, the referrer will earn a reward.如果有人使用它进行购买,推荐人将获得奖励。

Most likely you'll have to implement this yourself in a traditional web2 way with a database and backend with a login system.很可能您必须以传统的 web2 方式使用数据库和后端使用登录系统自己实现这一点。

When a user makes a purchase via web3 you could modify the purchase function to then also store a referer in your database upon purchase confirmation.当用户通过 web3 进行购买时,您可以修改购买功能,然后在购买确认后在您的数据库中存储推荐人。

Then when a user logs in you could then refer to the database to see how many referals the user has generated for you and show them on a form of dashboard for them to see.然后,当用户登录时,您可以参考数据库以查看用户为您生成了多少推荐,并在仪表板上显示它们以供他们查看。

Unfortuantely do the to broad question in general I can't really give you much more of an elaborate answer than that currently.不幸的是,一般来说,我不能给你一个比目前更详尽的答案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM