Basic AMPscript Syntax
To use AMPscript, you insert it into the content body of your messages at the point where you want it to render. When you send a message that contains AMPscript, Marketing Cloud Engagement interprets the code and substitutes it with the output of the AMPscript function.
Learn more about using AMPscript in your content.