Passing variable values between AMPscript, Server-Side JavaScript and Client-Side JavaScript

A lot of advanced use cases related to building dynamic, highly personalised CloudPages in Salesforce Marketing Cloud require developers to jump between using AMPscript, Server-Side JavaScript and Client-Side JavaScript on one page. This can be a challange, as both AMPscript and Server-Side JavaScript are server-side languages and they are processed on a web server, while …

Continue reading Passing variable values between AMPscript, Server-Side JavaScript and Client-Side JavaScript

Upcoming Changes to AMPscript Processing in Marketing Cloud Email Subject Lines

Starting February 21st 2023, Salesforce Marketing Cloud will stop processing nested AMPscript within email subject lines. The change comes as a result of Salesforce's efforts to provide more efficient and secure processing of customer data. With this change, the subject line will treat any nested AMPscript as content — similar to how AMPScript is processed …

Continue reading Upcoming Changes to AMPscript Processing in Marketing Cloud Email Subject Lines

Generating barcodes and QR codes in Salesforce Marketing Cloud

QR codes and barcodes can make your subscriber's life much easier and drive engagement with your platform. Barcodes are typically used for sending tickets, vouchers and discounts to your subscribers. Similarly, QR codes can also be used for sending tickets, etc., and allowing your subscribers to use their smartphones to easily access information or websites …

Continue reading Generating barcodes and QR codes in Salesforce Marketing Cloud

Masking PII data for display with AMPscript

There are many use cases, especially in the transactional space, where sometimes there is a need to display partially masked data to the end-user – exactly in the same way as you would see it when logging in to Marketing Cloud, when the system tells you which email address it sent the verification code to: …

Continue reading Masking PII data for display with AMPscript

Working with Salesforce Multi-Select Picklists in AMPscript

Custom Multi-Select Picklists in Sales/Service Cloud allow users to select one or more values from a predefined list: When a user picks more than one value, the selected values show in a field separated by a semicolons: The values will be in the same, semicolon-delimited format, if you synchronize the picklist field into Marketing Cloud …

Continue reading Working with Salesforce Multi-Select Picklists in AMPscript