Updated on 2026-08-14

This commit is contained in:
Tangem 2026-02-17 20:07:31 +05:00
parent 3fabe68051
commit 54c160f4f2
14 changed files with 914 additions and 177 deletions

View file

@ -9,6 +9,8 @@ import kotlin.coroutines.suspendCoroutine
object TangemSiteUrlBuilder {
const val NOTE_MIGRATION_URL = "https://tangem.com/en/?promocode=Note10"
suspend fun getUtmTags(campaign: String?): String {
val langCode = Locale.getDefault().language
val utmCampaignPart = campaign?.let { "&utm_campaign=$it-$langCode" }.orEmpty()