Updated on 2026-08-14

This commit is contained in:
Tangem 2026-05-08 20:52:21 +02:00
parent b01ede005a
commit 03ae5e3331
6 changed files with 29 additions and 20 deletions

View file

@ -11,6 +11,9 @@ object TangemSiteUrlBuilder {
const val NOTE_MIGRATION_URL = "https://tangem.com/en/?promocode=Note10"
const val HELP_CENTER_SWAP_URL =
"https://tangem.com/en/help-center/tangem-wallet-core-functionality/how-to-swap-coins-and-tokens/"
suspend fun getUtmTags(campaign: String?): String {
val langCode = Locale.getDefault().language
val utmCampaignPart = campaign?.let { "&utm_campaign=$it-$langCode" }.orEmpty()