{"id":22772,"date":"2023-05-25T10:09:34","date_gmt":"2023-05-25T08:09:34","guid":{"rendered":"https:\/\/www.marketinet.com\/blog\/development-in-salesforce-marketing-cloud-comparison\/"},"modified":"2025-04-22T11:28:27","modified_gmt":"2025-04-22T09:28:27","slug":"development-in-salesforce-marketing-cloud-comparison","status":"publish","type":"post","link":"https:\/\/www.marketinet.com\/en\/blog\/development-in-salesforce-marketing-cloud-comparison\/","title":{"rendered":"Development in Salesforce Marketing Cloud: Ampscript or SSJS? &#8211; Part 2"},"content":{"rendered":"<p>When developing in <a href=\"\/salesforce-marketing-cloud\" rel=\"noopener\">Salesforce Marketing Cloud<\/a>, many times you will come across the question of which language you should choose, and as usual, the answer is it depends. It depends on whether the development is in an email for a simple customization, it is in a cloudpage, if you need to interact with the creation of Data Extensions, or activate automations, etc. And other variables also have an influence, such as whether you prefer one type of encoding and syntax or another or more or less advanced error handling.<\/p>\n<p><!--more--><\/p>\n<p>Before you start, don&#8217;t forget to read the <a href=\"\/en\/thedigitalmarketinglab\/development-in-salesforce-marketing-cloud-introduction\" rel=\"noopener\">first chapter<\/a> of this series &#8220;Development in Salesforce Marketing Cloud&#8221;, where we make a general introduction as well as the main features of the 2 main programming languages.<\/p>\n<p>Once we have that in mind, we can continue with this chapter&#8230;<\/p>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:0,&quot;335559740&quot;:360}\">In Marketing Cloud there are 2 main programming languages, AMPSCRIPT and SSJS (well, there are really 3, there is also GTL \u2013 Guided Template Language, although it is not being widely used).<\/span><\/p>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559685&quot;:0,&quot;335559738&quot;:180,&quot;335559739&quot;:180,&quot;335559740&quot;:360}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"5\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559738&quot;:180,&quot;335559739&quot;:180,&quot;335559740&quot;:360}\"><strong>AMPscript <\/strong>\u2013 Salesforce Marketing Cloud proprietary language.<br \/><\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"5\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"none\"><strong>SSJS<\/strong> \u2013\u202f Syntax similar to JavaScript but runs in the Salesforce Marketing Cloud server environment.<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"5\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"none\"><strong>Guided Template language [GTL]<\/strong> \u2013 to create templates based on JSON.<\/span><\/li>\n<\/ul>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:0,&quot;335559740&quot;:360}\">But let&#8217;s focus again on the differences between Ampscript and SSJS, both can be used almost equally for customization, but this is where if you dive a little deeper into them you will see their most significant differences begin.<\/span><\/p>\n<h3>AMPscript<\/h3>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:0,&quot;335559740&quot;:360}\">It is used for all kinds of customizations in emails (here it has no rival), landing pages, SMS, push notifications, etc. As we have already mentioned, it is proprietary and is executed by the SFMC application itself, it is executed during the sending of the email, so you can customize it as well as include scripts to record sending logs or any other option at the time of sending.\u00a0<\/span><\/p>\n<p>It has many functions made especially for this purpose, both to interact with Data Extensions, and to manage customizations and their formats.<\/p>\n<p><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">{{cta(&#8216;c533b742-eee9-41d5-87e1-81c9a5c7f393&#8242;,&#8217;justifycenter&#8217;)}}<\/span><\/p>\n<h3>Server-Side JavaScript [SSJS]<\/h3>\n<p>Many developers prefer SSJS because of its resemblance to javascript and its quick adaptation to it.<\/p>\n<p>But they don&#8217;t just choose it for this reason, it has certain advantages at the language structure level:<\/p>\n<ul>\n<li><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559738&quot;:180,&quot;335559739&quot;:180,&quot;335559740&quot;:360}\">You can make <strong>use of arrays<\/strong> (AMPSCRIPT NO, and it is one of its great disadvantages).<\/span><\/li>\n<li>SSJS is able to efficiently handle exceptions and errors using the typical javascript structure of Try and Catch.<\/li>\n<li>Math and EVAL functions.<\/li>\n<li>It also has the option of the Core library for landing pages and applications, as well as <strong>WsProxy <\/strong>as an interface to use SOAP.<\/li>\n<\/ul>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559738&quot;:180,&quot;335559739&quot;:180,&quot;335559740&quot;:360}\"><img decoding=\"async\" data-src=\"https:\/\/www.marketinet.com\/wp-content\/uploads\/2024\/06\/articulos\/salesforce-marketing-cloud\/comparativa-ssjs-ampscript.jpg\" alt=\"Ssjs and ampscript comparison\" width=\"700\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 700px; --smush-placeholder-aspect-ratio: 700\/465;\" \/><\/span><\/p>\n<h3>Preferred use cases for each language<\/h3>\n<p>Here we expose use cases and what should be the preferred language to use:<\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"8\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\">For the case of \u201cINLINE\u201d and simple customizations through IF conditionals or Loops, it is better to use AMPscript.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"8\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\">If the developer is not used to either of the 2 languages, then Ampscript offers a faster learning curve.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"8\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\">For application development and landing pages, if there is nothing specific that requires Ampscript, many developers prefer to &#8220;throw&#8221; SSJS.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"8\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\">In the case of sending emails and especially if they are numerous, it is better to avoid SSJS, because it is usually slower in execution than Ampscript and could slow down sending a lot.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"8\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\">If you require JSON in the development, SSJS has many advantages in its handling compared to AMPSCRIPT.<\/li>\n<\/ul>\n<p>However, another aspect to take into account is the level of development and dedication, if your dedication to Marketing Cloud is sporadic or you are not a developer with some experience, you better bet on AMPSCRIPT, because it can generally cover most of General and basic aspects of the platform.<\/p>\n<p>If you still want to delve deeper into all these languages, you can use these links:<\/p>\n<ul>\n<li><a href=\"https:\/\/developer.salesforce.com\/docs\/marketing\/marketing-cloud\/guide\/programmatic-content-overview.html#!\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Introduction to programmatic marketing content<\/span><\/a><\/li>\n<li><a href=\"https:\/\/trailhead.salesforce.com\/es-MX\/content\/learn\/modules\/marketing-cloud-programmatic-languages\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Marketing Cloud programmatic languages<\/span><\/a><\/li>\n<\/ul>\n<hr \/>\n<p><strong>If you liked this article, you may also be interested in: <\/strong><\/p>\n<ul>\n<li><a href=\"\/en\/thedigitalmarketinglab\/development-in-salesforce-marketing-cloud-introduction\" target=\"_blank\" rel=\"noopener\">Development in Salesforce Marketing Cloud: Ampscript or SSJS? &#8211; Introduction (Part 1)<\/a><\/li>\n<li><a href=\"\/en\/thedigitalmarketinglab\/development-in-salesforce-marketing-cloud-performance-analysis\" target=\"_blank\" rel=\"noopener\">Development in Salesforce Marketing Cloud: Ampscript or SSJS? &#8211; Performance Analysis (Part 3)<\/a><\/li>\n<li><a href=\"\/en\/thedigitalmarketinglab\/what-is-the-salesforce-marketing-cloud-contact-model\" target=\"_blank\" rel=\"noopener\">What is the Salesforce Marketing Cloud contact model?<\/a><\/li>\n<\/ul>\n<p>\u00a0<\/p>\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.marketinet.com\/en\/ebooks\/ampscript-for-marketers?utm_source=blog&amp;utm_medium=inbound&amp;utm_campaign=cta_recurso_blog_ebook_ampscript_for_marketers_-_en\"><img decoding=\"async\" width=\"797\" height=\"194\" data-src=\"https:\/\/www.marketinet.com\/wp-content\/uploads\/2023\/05\/Captura7.-en.png\" alt=\"\" class=\"wp-image-27884 lazyload\" data-srcset=\"https:\/\/www.marketinet.com\/wp-content\/uploads\/2023\/05\/Captura7.-en.png 797w, https:\/\/www.marketinet.com\/wp-content\/uploads\/2023\/05\/Captura7.-en-480x117.png 480w\" data-sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 797px, 100vw\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 797px; --smush-placeholder-aspect-ratio: 797\/194;\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>When developing in Salesforce Marketing Cloud, many times you will come across the question of which language you should choose, and as usual, the answer is it depends. It depends on whether the development is in an email for a simple customization, it is in a cloudpage, if you need to interact with the creation [&hellip;]<\/p>\n","protected":false},"author":36,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"off","_et_pb_old_content":"<p>When developing in <a href=\"\/salesforce-marketing-cloud\" rel=\"noopener\">Salesforce Marketing Cloud<\/a>, many times you will come across the question of which language you should choose, and as usual, the <span >answer is it depends<\/span>. It depends on whether the development is in an email for a simple customization, it is in a cloudpage, if you need to interact with the creation of Data Extensions, or activate automations, etc. And other variables also have an influence, such as whether you prefer one type of encoding and syntax or another or more or less advanced error handling.<\/p>\n<p>&nbsp;<\/p>\n<p><!--more--><\/p>\n<p>Before you start, don't forget to read the <a href=\"\/en\/thedigitalmarketinglab\/development-in-salesforce-marketing-cloud-introduction\" rel=\"noopener\" >first chapter<\/a> of this series \"Development in Salesforce Marketing Cloud\", where we make a general introduction as well as the main features of the 2 main programming languages.<\/p>\n<p>&nbsp;<\/p>\n<p>Once we have that in mind, we can continue with this chapter...<\/p>\n<p>&nbsp;<\/p>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:0,&quot;335559740&quot;:360}\">In <span >Marketing Cloud there are 2 main programming languages<\/span>, AMPSCRIPT and SSJS (well, there are really 3, there is also GTL \u2013 Guided Template Language, although it is not being widely used).<\/span><\/p>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559685&quot;:0,&quot;335559738&quot;:180,&quot;335559739&quot;:180,&quot;335559740&quot;:360}\">&nbsp;<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"5\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559738&quot;:180,&quot;335559739&quot;:180,&quot;335559740&quot;:360}\"><strong>AMPscript <\/strong>\u2013 Salesforce Marketing Cloud proprietary language.<br><\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"5\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"none\"><strong>SSJS<\/strong> \u2013\u202f Syntax similar to JavaScript but runs in the Salesforce Marketing Cloud server environment.<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"5\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"none\"><strong>Guided Template language [GTL]<\/strong> \u2013 to create templates based on JSON.<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:0,&quot;335559740&quot;:360}\">But let's focus again on the differences between Ampscript and SSJS, both can be used almost equally for customization, but this is where if you dive a little deeper into them you will see their <span >most significant differences <\/span>begin.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h3 >AMPscript&nbsp;<\/h3>\n<p>&nbsp;<\/p>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:0,&quot;335559740&quot;:360}\">It is used for <span >all kinds of customizations in emails<\/span> (here it has no rival), landing pages, SMS, push notifications, etc. As we have already mentioned, it is proprietary and is executed by the SFMC application itself, it is executed during the sending of the email, so you can customize it as well as include scripts to record sending logs or any other option at the time of sending.&nbsp;<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>It has many functions made especially for this purpose, both to interact with Data Extensions, and to manage customizations and their formats.<\/p>\n<p>&nbsp;<\/p>\n<p><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">{{cta('c533b742-eee9-41d5-87e1-81c9a5c7f393','justifycenter')}}<\/span><\/p>\n<h3 >Server-Side JavaScript [SSJS]\u202f&nbsp;<\/h3>\n<p>&nbsp;<\/p>\n<p>Many developers prefer SSJS because of its resemblance to javascript and its quick adaptation to it.<\/p>\n<p>&nbsp;<\/p>\n<p>But they don't just choose it for this reason, it has certain <span >advantages <\/span>at the language structure level:<\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559738&quot;:180,&quot;335559739&quot;:180,&quot;335559740&quot;:360}\">You can make <strong>use of arrays<\/strong> (AMPSCRIPT NO, and it is one of its great disadvantages).<\/span><\/p>\n<\/li>\n<li>\n<p>SSJS is able to efficiently handle exceptions and errors using the typical javascript structure of Try and Catch.<\/p>\n<\/li>\n<li>\n<p>Math and EVAL functions.<\/p>\n<\/li>\n<li>\n<p>It also has the option of the Core library for landing pages and applications, as well as <strong>WsProxy <\/strong>as an interface to use SOAP.<\/p>\n<\/li>\n<\/ul>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559738&quot;:180,&quot;335559739&quot;:180,&quot;335559740&quot;:360}\"><img src=\"https:\/\/www.marketinet.com\/wp-content\/uploads\/2024\/06\/articulos\/salesforce-marketing-cloud\/comparativa-ssjs-ampscript.jpg\" alt=\"Ssjs and ampscript comparison\" loading=\"lazy\"  width=\"700\"><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h3 ><span>Preferred use cases for each language<\/span><\/h3>\n<p>&nbsp;<\/p>\n<p>Here we expose <span >use cases<\/span> and what should be the preferred language to use:<\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"8\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\">\n<p>For the case of \u201cINLINE\u201d and simple customizations through IF conditionals or Loops, it is better to use AMPscript.<\/p>\n<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"8\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\">\n<p>If the developer is not used to either of the 2 languages, then Ampscript offers a faster learning curve.<\/p>\n<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"8\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\">\n<p>For application development and landing pages, if there is nothing specific that requires Ampscript, many developers prefer to \"throw\" SSJS.<\/p>\n<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"8\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\">\n<p>In the case of sending emails and especially if they are numerous, it is better to avoid SSJS, because it is usually slower in execution than Ampscript and could slow down sending a lot.<\/p>\n<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"8\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\">\n<p>If you require JSON in the development, SSJS has many advantages in its handling compared to AMPSCRIPT.<\/p>\n<\/li>\n<\/ul>\n<p>However, <span >another aspect to take into account is the level of development and dedication<\/span>, if your dedication to Marketing Cloud is sporadic or you are not a developer with some experience, you better bet on AMPSCRIPT, because it can generally cover most of General and basic aspects of the platform.<\/p>\n<p>&nbsp;<\/p>\n<p>If you still want to delve deeper into all these languages, you can use these <span >links<\/span>:<\/p>\n<ul>\n<li><a href=\"https:\/\/developer.salesforce.com\/docs\/marketing\/marketing-cloud\/guide\/programmatic-content-overview.html#!\" rel=\"noopener\" target=\"_blank\"><span data-contrast=\"none\">Introduction to programmatic marketing content<\/span><\/a><\/li>\n<li><a href=\"https:\/\/trailhead.salesforce.com\/es-MX\/content\/learn\/modules\/marketing-cloud-programmatic-languages\" rel=\"noopener\" target=\"_blank\"><span data-contrast=\"none\">Marketing Cloud programmatic languages<\/span><\/a><\/li>\n<\/ul>\n<hr>\n<p>&nbsp;<\/p>\n<p><span><strong>{{cta('52fa9c99-860e-4fbd-b8e0-8084060f20e8','justifycenter')}}<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<hr>\n<p><span><strong>If you liked this article, you may also be interested in: <\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>\n<p><a href=\"\/en\/thedigitalmarketinglab\/development-in-salesforce-marketing-cloud-introduction\" rel=\"noopener\" target=\"_blank\">Development in Salesforce Marketing Cloud: Ampscript or SSJS? - Introduction (Part 1)<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"\/en\/thedigitalmarketinglab\/development-in-salesforce-marketing-cloud-performance-analysis\" rel=\"noopener\" target=\"_blank\">Development in Salesforce Marketing Cloud: Ampscript or SSJS? - Performance Analysis (Part 3)<\/a><\/p>\n<\/li>\n<li><a href=\"\/en\/thedigitalmarketinglab\/what-is-the-salesforce-marketing-cloud-contact-model\" rel=\"noopener\" target=\"_blank\">What is the Salesforce Marketing Cloud contact model?<\/a><\/li>\n<\/ul>\n<br><br><br><a href=\"\/blog\/que-lenguaje-elegir-para-el-desarrollo-en-salesforce-marketing-cloud-3\" rel=\"noopener\" target=\"_blank\"><\/a><span ><span ><\/span><\/span>","_et_gb_content_width":"","footnotes":""},"categories":[1],"tags":[165],"class_list":["post-22772","post","type-post","status-publish","format-standard","hentry","category-sin-categorizar","tag-sf-marketing-cloud"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.marketinet.com\/en\/wp-json\/wp\/v2\/posts\/22772","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.marketinet.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.marketinet.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.marketinet.com\/en\/wp-json\/wp\/v2\/users\/36"}],"replies":[{"embeddable":true,"href":"https:\/\/www.marketinet.com\/en\/wp-json\/wp\/v2\/comments?post=22772"}],"version-history":[{"count":0,"href":"https:\/\/www.marketinet.com\/en\/wp-json\/wp\/v2\/posts\/22772\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.marketinet.com\/en\/wp-json\/wp\/v2\/media?parent=22772"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.marketinet.com\/en\/wp-json\/wp\/v2\/categories?post=22772"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.marketinet.com\/en\/wp-json\/wp\/v2\/tags?post=22772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}