是否可以使用branch.io (例如https://example.app.link/fzmLEhobLD )创建自定义链接,所以我可以使用自定义的10位参数(如amitpp8888 )来控制、fzmLEhobLD、。我们基本上希望这样做,因为我们为每个客户提供了唯一的参考url,并且我们希望保持它尽可能简单。他们可以记住他们的推荐代码,这是他们的名字和道布的组合。
发布于 2018-02-14 17:12:01
您可以使用自定义别名创建分支链接。
1.对于分支快速链接(在分支仪表板上创建):
您可以在Configure Options选项卡中添加自定义别名。

2.通过SDK:创建链接时
可以在链接属性中指定自定义别名。
例如,在Android中:
LinkProperties lp = new LinkProperties()
.setChannel("facebook")
.setFeature("sharing")
.setCampaign("content 123 launch")
.setStage("new user")
.setAlias("hello");2.通过HTTP:创建链接时
可以在链接参数中指定自定义别名。
curl -XPOST https://api.branch.io/v1/url \
-d '{
"branch_key": "key_live_xxxxxxxxxx",
"channel": "facebook",
"feature": "onboarding",
"campaign": "new product",
"stage": "new user",
"tags": ["one", "two", "three"],
"alias": "hello",
"data": {
"$canonical_identifier": "content/123",
"custom_boolean": true,
"custom_integer": 1243,
"custom_string": "everything",
"custom_array": [1,2,3,4,5,6],
"custom_object": { "random": "dictionary" }
}
}'PS:如果您尝试使用已经存在的别名和与前一个链接不同的链接参数创建一个链接,则不会生成该链接,您将收到一个异常。
发布于 2018-02-14 09:11:24
对于企业帐户,我不确定,但是对于基本的包使用来说,需要使用所需的名称fzmLEhobLD来创建一个存储库,然后链接将是https://<github_username>.github.io/<fzmLEhobLD>/。
我也会建议为它制作一个github页面。
https://stackoverflow.com/questions/48783157
复制相似问题