by dev | Apr 21, 2018 | Book
TreatAsContent This function forces AMPscript and personalization strings to be evaluated in the specified input string. Argument TreatAsContent(1) Ordinal Type Required Description 1 String True String to evaluate Example 1 %%[ var @contentMath set @contentMath =...
by dev | Apr 21, 2018 | Book
BeginImpressionRegion This function marks the beginning of a region to be tracked within the impression tracking infrastructure. It has no output. Argument BeginImpressionRegion(1) Ordinal Type Required Description 1 String True Name of the Impression Region to track...
by dev | Apr 21, 2018 | Book
TreatAsContentArea This function creates a static Content Area that is stored by key for the duration of the send. It will evaluate AMPscript included in the content retrieved, with a limit of 300 unique variations. If there are more than 300 unique variations, any...
by dev | Apr 21, 2018 | Book
BuildOptionList This function outputs elements for use inside , or HTML elements. Arguments BuildOptionList(1,2,3,[4a,4b]) Ordinal Type Required Description 1 String True Default option value 2 String True Option value 3 String True Option name 4a String True...
by dev | Apr 21, 2018 | Book
WAT This function returns a specific set of Web Analytics Tracking parameters and values. Once the WAT parameters and values are returned, they can be manually appended to any URLs as needed. By default, parameter names and values must be static values. Arguments...
by dev | Apr 21, 2018 | Book
Using Variables Variables aren’t required in AMPscript. It’s possible to achieve the same result by just using functions, conditional statements and operators. However, without variables: functions and constants would need to be defined multiple times,...