Skip to content

Dynamic URL Variables

Inject runtime values into deep links and destinations using #{variable} placeholders.

Syntax

Use #{variableName} inside deep links, web URLs, or template fields where Flinku resolves dynamic segments at click time.

Built-in variables

  • #{slug} — short link slug
  • #{timestamp} — click timestamp (UTC)
  • #{platform} — detected platform (e.g. ios, android, web)
  • #{country} — ISO country code when geo is available

Custom variables from query params

Query keys on the short URL become variables. Example: ?ref=instagram makes #{ref} available as instagram.

Example

javascript
"deepLink": "myapp://promo/#{ref}"

Short URL .../sale?ref=instagram resolves to myapp://promo/instagram.

The modern Firebase Dynamic Links replacement.