Updated on 2026-08-14
This commit is contained in:
commit
e2f9535a05
7 changed files with 27 additions and 4 deletions
|
|
@ -17,6 +17,10 @@ object TangemSiteUrlBuilder {
|
|||
return "utm_source=tangem-app&utm_medium=app$utmCampaignPart$utmContent$appInstanceIdPart"
|
||||
}
|
||||
|
||||
fun getRefCodeTag(refCode: String?): String {
|
||||
return refCode?.let { "promocode=$it" }.orEmpty()
|
||||
}
|
||||
|
||||
suspend fun url(path: String, campaign: String): String {
|
||||
val normalizedPath = path.trim('/')
|
||||
return "https://tangem.com/$normalizedPath?${getUtmTags(campaign)}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue