Modern Alternatives to Pop-Up Windows for Use on CloudPages

I recently stumbled upon Jörn Berkefeld's comment under a LinkedIn post describing how to add a pop-up window to a CloudPage. Jörn wrote: Main issue with approach is that 9 times out 10 the user's browser will block that these days. There was a time when code like yours was used to open hundreds of …

Continue reading Modern Alternatives to Pop-Up Windows for Use on CloudPages

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

Salesforce-style spinner for use on CloudPages

Spinners are loading indicators that can be shown when retrieving data or performing other operations. We will use a common spinner that Salesforce Lightening users are familiar with - the full documentation can be found here. This spinner is a Lightning component, which means that it cannot be directly used on a CloudPage. My awesome …

Continue reading Salesforce-style spinner for use on CloudPages