AppGallery Connect應用內(nèi)分發(fā)怎樣添加歸因參數(shù)?
我來答

AppGallery Connect應用內(nèi)分發(fā)怎樣添加歸因參數(shù)?

張鞠婧 2021-01-14 提問
1559

AppGallery Connect應用內(nèi)分發(fā)如何添加歸因參數(shù)?

關閉
提交回答
1 個回答
我來答
周靜

可以按照自主定義的邏輯編寫歸因參數(shù)(referer),并添加到華為應用市場支持的deeplink地址中。示例如下:

hiapplink://com.huawei.appmarket?appId=C27162&channelID=HwBrowserSearch&referrer=Keywords

其中Keywords由您自行定義。

目前華為應用市場支持歸因的deeplink地址如下所示:

appmarket://details

示例如下:

appmarket://details?id=pkgName&channelId=yourChannelId&referrer=yourReferrer

pkgName為應用包名。yourChannelId為渠道ID,可以根據(jù)此渠道信息輸出報表。yourReferrer為歸因參數(shù)。

hiapp://com.huawei.appmarket

示例如下:

hiapp://com.huawei.appmarket?activityName=activityUri|appdetail.activity&params=%7B%22params%22%3A%5B%7B%22name%22%3A%22uri%22,%22type%22%3A%22String%22,%22value%22%3A%22package%7Ccom.****.appmarket%22%7D%5D%7D&channelId=yourChannelId&referrer=yourReferrer

activityName應用的Activity名稱。params中包含經(jīng)過urlEncode處理的目標詳情頁包名信息。yourChannelId為渠道ID,可以根據(jù)此渠道信息輸出報表。yourReferrer為歸因參數(shù)。

hiapplink://com.huawei.appmarket

示例如下:

hiapplink://com.huawei.appmarket?appId=yourAppid&channelId=yourChannelId&referrer=yourReferrer

yourAppid為應用ID。yourChannelId為渠道ID,可以根據(jù)此渠道信息輸出報表。yourReferrer為歸因參數(shù)。

回答于 2021-01-14
贊同
評論
掃碼關注
獲取更多出海問答的相關信息
個人VIP
小程序
快出海小程序
公眾號
快出海公眾號
商務合作
商務合作
投稿采訪
投稿采訪
出海管家
出海管家