by dev | Apr 21, 2018 | Book
Syntax The content syndication syntax uses an HTTPGet command suffixed with a URL. This string should be contained within %% delimiters. The syndicated content will be returned where the string appears in the email or landing page. NOTE: Content Syndication is only...
by dev | Apr 21, 2018 | Book
Shared Content Areas Suppose you have a loyalty email campaign that includes a section above the footer displaying the current reward level. If that element needs to be included in all of the loyalty messaging, the block would be a good candidate isolation as a...
by dev | Apr 21, 2018 | Book
IsNull Similar to the Empty function, this function provides a conditional evaluation of an expression. If the expression evaluates as null, the function will output true, otherwise it will output false. Argument IsNull(1) Ordinal Type Required Description 1 String...
by dev | Apr 21, 2018 | Book
Variables & Functions AMPscript variables or inline functions are not supported in syndicated content URLs. The URL should be a constant. To set the URL based on a logical condition, use if and elseif statements to output the respective content syndication...
by dev | Apr 21, 2018 | Book
Dynamic Content Area Paths Taking the Shared Content Areas concept a bit further, you can also ‘calculate’ the key or path to a specific Content Area dynamically. One advantage this has over the previous method, is that it’s more explicit in intent...
by dev | Apr 21, 2018 | Book
IsPhoneNumber This function confirms whether or not a value is a valid US phone number. The function returns true if the syntax is valid or false if it’s not. Any non-numeric characters are ignored on evaluation. Sample phone number strings and their resulting...