v()

Outputs the value of a variable.

Marketing Cloud Engagement ✅ Yes
Marketing Cloud Next ✅ Yes

This function became available in Marketing Cloud Next during the Summer ’26 release (API version 67.0).

The v() function has one parameter:

  • variableName (string): Required. The variable to output the value of.

This example declares and sets a variable, and then outputs the value of that variable.

The example returns this text.