Home

Klaviyo Variable Generator

Use this tool to generate Klaviyo template variables for:

  1. All available profile properties synced by memberr
  2. All available Store Credit event properties

The generator always prefers parsed amount values (*_formatted) over:

  • Lowest-denominator values (for example amount)
  • With-symbol values (for example amount_with_symbol)

This is the recommended format for calculations and comparisons in Klaviyo templates.

By default, No conversion is selected and generated variables do not use exchange-rate conversion.

When you select a target currency in the generator, parsed amount properties automatically use the exchange-rate feed:

feeds.memberr_exchange_rates.rates.<CURRENCY>

The generator also applies the correct decimal precision automatically:

  • 0 decimals for zero-decimal currencies
  • 3 decimals for three-decimal currencies
  • 2 decimals for all other currencies

Variable Generator

Keep "No conversion" selected to generate variables without exchange-rate feed conversion.

Profile parsed amount properties

memberr_current_balance_formatted
{{ person|lookup:"memberr_current_balance_formatted"|default:0 }}
memberr_upcoming_balance_formatted
{{ person|lookup:"memberr_upcoming_balance_formatted"|default:0 }}

Profile other properties

memberr_currency_code
{{ person|lookup:"memberr_currency_code"|default:'' }}
memberr_ref_link
{{ person|lookup:"memberr_ref_link"|default:'' }}
memberr_birthday
{{ person|lookup:"memberr_birthday"|default:'' }}

Notes

  • Profile variables use person|lookup
  • Event variables use event|lookup
  • Profile and event property sets are generated separately (they are not identical)
  • For event properties, choose a specific event or generate a union set for all events
  • Keep No conversion selected to generate parsed variables without feed conversion
  • Select a currency to include multiply:feeds.memberr_exchange_rates.rates.<CURRENCY>

Example


_10
{{ person|lookup:"memberr_current_balance_formatted"|default:0 }}


_10
{{ person|lookup:"memberr_current_balance_formatted"|default:0|multiply:feeds.memberr_exchange_rates.rates.GBP|floatformat:2 }}


_10
{{ event|lookup:"amount_formatted"|default:0 }}


_10
{{ event|lookup:"amount_formatted"|default:0|multiply:feeds.memberr_exchange_rates.rates.GBP|floatformat:2 }}