This article helps you:
Add personalization variables to guides and surveys
The Personalize with variables feature (also called interpolation) lets you dynamically display user properties to customize content within a guide or survey. Use this to customize content for each individual user, for example displaying their first name or user_id. You can add personalized variables to:
You can use user property variables in CTA links to personalize URLs. For example, you could create a link like:
www.example.com/path?user_id={{property.user_id}}&country={{property.country}}
When a user clicks on the CTA link, Amplitude replaces the user property variables with actual values:
www.example.com/path?user_id=12345&country=US
Create a user property to display the user's first name, like firstName. Then place this user property in any guide or survey where you want to address each of your users by name.
Sometimes a user property isn't available for all users or all times. In that case, you can use fallback values as a safe default. For example, if you wanted to say "Hey there" instead of "Hey {firstName}" in case a user hasn't provided their name, you could use a fallback value like .

User properties must be shared client-side during the session with either the Amplitude SDK or the Engagement SDK. Properties shared from prior sessions or properties only stored on the server aren't yet supported.
To set user properties, use the _setUserProperties method in the Engagement SDK, or use amplitude.identify() in the Amplitude SDK.
user_id and device_id for you. These variables are always available without additional setup.July 22nd, 2025
Need help? Contact Support
Visit Amplitude.com
Have a look at the Amplitude Blog
Learn more at Amplitude Academy
© 2025 Amplitude, Inc. All rights reserved. Amplitude is a registered trademark of Amplitude, Inc.