Overview of SSJS in Marketing Cloud
Let's start with an explanation of what SSJS is. SSJS is basically a server-run version of JavaScript to interact with the server and related objects. As it is not run in the browser (client side), it does not have access to the Document Object Model (DOM) or similar aspects. Before getting too much further into SSJS, we wanted to address the topic itself.
Now, although we are a huge fans and lover a of SSJS, there are many people out there who avoid the topic at all costs or even just refuse to admit it exists. Our thought is that there is a stigma that has been put on this language that causes people to view it as a dead language in Marketing Cloud, or at least a less useful one.
This stigma has likely stemmed from the fact that AMPscript is newer, easier to use— especially for email personalization—and can be more efficient. This is what is touted around as the reason SSJS is not so great. Although all those points are...