Dynamic text replacement (DTR) is used when you want to customize the content of your messages based on custom variables or cart attributes. For example, when you want to address customers by their name, or display the total value of their current cart in your message.