The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.

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.