by dev | Apr 21, 2018 | Book
Overview Exclusion scripts enable Subscribers to be conditionally excluded from being sent an email, based on a logical test. This feature is available in the following Marketing Cloud applications: Content Builder Journey Builder Triggered Sends Automation...
by dev | Apr 21, 2018 | Book
Script Block Organization Taking time to organize your AMPscript code blocks has many advantages. Most importantly, it makes your code much easier to debug. It’s also a show of goodwill (and expertise) to those coming after you who will need to make sense of...
by dev | Apr 21, 2018 | Book
Syntax Exclusion scripts use AMPscript expressions which, if they evaluate to true, suppress the sending of an email to the respective Subscriber. The following requirements apply to exclusion scripts: AMPscript blocks or inline AMPscript cannot be included Scripts...
by dev | Apr 21, 2018 | Book
Coding Defensively Coding defensively also flows from experience. Snippets of code that indicate testing and troubleshooting, modularization and contextual output of variable values are the hallmarks of someone who knows what works and how to verify...
by dev | Apr 21, 2018 | Book
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...
by dev | Apr 21, 2018 | Book
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...