Sample code
// get a value from a custom key
var greeting = Txt.get('greeting')

// get a value from a default key
var city = Txt.get('geo.city')

Retrieving a key returns the value from the visitor's data specified by a key. Here's a full list of default available keys.

Txt.get(key)

The arguments of the get function are as follows:

ArgumentTypeDescription
keystring
required
The key to request.