AMPscript & Guide Template Language

Overview Marketing Cloud provides templating features through Guide Template Language (also referred to as ‘Guide’ or ‘GTL’) which is based on the Mustache and Handlebars.js template engines. Mustache, aptly named after its curly brace syntax...

Leveraging the AttributeValue and Empty Functions

Leveraging the AttributeValue and Empty Functions It is good practice to assume that any of the contextual personalization variables/strings in an email or web page might not exist or be blank. If you reference a Profile Attribute or Data Extension column name that...

Syntax

Syntax Guide uses tags to define where data or content should appear on a page. The most basic type of tag is a Simple Tag. Referred to as a ‘variable’ in Mustache or an ‘expression’ in Handlebars, a Simple Tag is represented in curly braces;...

Proactively using RaiseError

Proactively Using RaiseError Often in the development stage, the primary sending audiences are incomplete or based completely on fictitious data. Making assumptions about sending audience attributes and external data can get you into trouble. One way to approach this...

AMPscript and Guide

AMPscript and Guide AMPscript functions can be included as inline functions in Guide tags. To include an AMPscript function in a Guide tag, prefix the function with a = character. NOTE: When using Guide in CloudPages with AMPscript, it is necessary to escape OMM...

Debugging

Debugging If your code isn’t working the way you think it should, there are a few techniques you can use to narrow the problem.