{"id":4117,"date":"2018-06-14T00:00:00","date_gmt":"2018-06-14T00:00:00","guid":{"rendered":"https:\/\/www.litmus.com\/blog\/automate-your-emails-in-two-ways-snippets-vs-partials\/"},"modified":"2020-04-21T14:53:55","modified_gmt":"2020-04-21T14:53:55","slug":"automate-your-emails-in-two-ways-snippets-vs-partials","status":"publish","type":"post","link":"https:\/\/www.litmus.com\/blog\/automate-your-emails-in-two-ways-snippets-vs-partials","title":{"rendered":"Automate Your Email Builds in Two Ways: Snippets vs. Partials"},"content":{"rendered":"<p>Designing and coding emails often involves manual, arduous editing processes that are not only mundane and tiresome, but can easily leave room for <a rel=\"noopener\" href=\"https:\/\/litmus.com\/blog\/how-to-recover-from-email-marketing-mistakes\">a mistake<\/a> (it happens to the best of us).<\/p>\n<p>It doesn\u2019t have to be that way.<\/p>\n<p>The percentage of marketers that code emails from scratch or copy and paste content from one email to another has been falling in recent years. Instead, marketers are embracing email coding approaches that involve the potential for less error.<\/p>\n<p>For example, nearly 18% of email marketers say that when building a new email, they reuse the same header and footer and largely build emails using snippets of code from previous emails, according to <a rel=\"noopener\" href=\"https:\/\/litmus.com\/blog\/2018-state-of-email-workflows-how-marketers-plan-build-approve-send-emails\">Litmus\u2019 2018 State of Email Workflows<\/a>. Another 23% say they build emails using a library of standard email components or modules.<\/p>\n<figure id=\"post-20972 media-20972\" class=\"alignnone nudged\"><a rel=\"noopener\" href=\"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/litmus-modular_email_templates_and_wysiwyg_editors_on_the_rise.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"\" src=\"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/litmus-modular_email_templates_and_wysiwyg_editors_on_the_rise.png\" alt=\"Modular Email Templates and WYSIWYG Editors on the Rise\"><\/a><\/figure>\n<p>Tools like <a rel=\"noopener\" href=\"https:\/\/litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design\">snippets<\/a> and <a rel=\"noopener\" href=\"https:\/\/litmus.com\/blog\/create-and-manage-dynamic-code-blocks-easily-with-partials\">partials<\/a>&nbsp;in <a rel=\"noopener\" href=\"https:\/\/litmus.com\/email-builder\">Litmus Builder<\/a> are key to these less risky approaches. They can speed up your email development workflow, allowing you to focus more on other parts of email creation.<\/p>\n<p>Let\u2019s break down the differences between the two tools and how they can help you automate your workflow\u2014and get to the fun part faster.<\/p>\n<div class=\"cta\">\n<table>\n<tbody>\n<tr>\n<td class=\"block-1\"><img decoding=\"async\" src=\"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/logo.png\" alt=\"\"><\/td>\n<td class=\"block-2\">\n<h2>The Code Editor Made for Email<\/h2>\n<p>Preview your email as you code, and build better emails faster with Litmus Builder, the web-based editor built specifically for email.<\/p>\n<p class=\"zero\"><a class=\"btn medium orange button\" rel=\"noopener\" href=\"https:\/\/litmus.com\/email-builder\" target=\"_blank\" rel=\"noopener noreferrer\">Learn more \u2192<\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>&nbsp;<\/p>\n<h2>What are snippets?<\/h2>\n<p>Snippets quickly generate HTML or CSS and allow you to customize and edit that code for an individual email. This reduces redundancy and potential coding errors for common elements in your email designs, such as images or bulletproof buttons. Rather than having to re-write the code each time you use one of these elements, you can use a snippet to automatically generate that piece of code inside the email you\u2019re working on.<\/p>\n<p>Let\u2019s take the example of a <a rel=\"noopener\" href=\"https:\/\/litmus.com\/blog\/a-guide-to-bulletproof-buttons-in-email-design\">bulletproof button<\/a>:<\/p>\n<figure id=\"post-8305 media-8305\" class=\"aligncenter\"><img decoding=\"async\" class=\" shaded\" src=\"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/button-padding-border.jpg\" alt=\"button-padding-border\"><\/figure>\n<p>Here\u2019s the piece of HTML we use for a bulletproof button:<\/p>\n<pre><code style=\"background: #444;color: #fff\">&lt;table border=\"0\" cellspacing=\"0\" cellpadding=\"0\"&gt;\n  &lt;tr&gt;\n&nbsp;&nbsp;  &lt;td&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;  &lt;table border=\"0\" cellspacing=\"0\" cellpadding=\"0\"&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  &lt;tr&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  &lt;td align=\"{align}\" bgcolor=\"{bgcolor}\"\n            &lt;a rel=\"noopener\" target=\"_blank\" href=\"{link}\" target=\"_blank\" style=\"font-size: {font-size}px; color: {color}; text-decoration: {decoration}; padding: {padding}; border: {border}px solid {color}; display: inline-block;\"&gt;I am a button &amp;rarr;\n            &lt;\/a&gt;\n          &lt;\/td&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;\/tr&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;\/table&gt;\n&nbsp;&nbsp;&nbsp; &lt;\/td&gt;\n&nbsp; &lt;\/tr&gt;\n&lt;\/table&gt;<\/code><\/pre>\n<p>Bulletproof buttons serve as a staple in our email designs for our <a rel=\"noopener\" href=\"https:\/\/litmus.com\/blog\/designing-the-perfect-call-to-action\">calls-to-action (CTA)<\/a>. However, each button needs customization for each individual email: different copy, a different link, and different placement. Snippets solve the problem of constantly re-creating the bulletproof button code by hand, saving it in our <a rel=\"noopener\" href=\"https:\/\/litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design\">Snippet library<\/a> by way of a shortcut trigger. In this example, we\u2019ll name it \u2018bb,\u2019 short for bulletproof button.<\/p>\n<p>Then, whenever you want to add a bulletproof button, you can use the shortcut trigger \u2018bb.\u2019<\/p>\n<figure id=\"post-15030 media-15030\" class=\"aligncenter\"><img decoding=\"async\" class=\" shaded\" src=\"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/bb-gif.gif\" alt=\"bb-gif\"><\/figure>\n<p>We can even incorporate edit points to allow for quicker customization. Edit points define the various places that require customization in an individual snippet so that you can edit faster:<\/p>\n<pre><code style=\"background: #444;color: #fff\">&lt;p style=\"Margin: 0; font-size: {fs}; line-height: {lh};\"&gt;{text}&lt;\/p&gt;<\/code><\/pre>\n<p>In the example above, once we trigger the snippet, the editor will automatically jump to the first edit point of {fs}. That way you can edit that content and jump to the next edit point (in this example {lh}) by hitting tab instead of scrolling to find every place you need to customize. (Just remember, every editor handles edit points syntax differently.)<\/p>\n<figure id=\"post-15029 media-15029\" class=\"aligncenter\"><img decoding=\"async\" class=\" shaded\" src=\"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/text-gif.gif\" alt=\"text-gif\"><\/figure>\n<p>You can use snippets in:<\/p>\n<ul>\n<li><a rel=\"noopener\" href=\"https:\/\/litmus.com\/email-builder\">Litmus Builder<\/a><\/li>\n<li>Sublime Text<\/li>\n<li>Atom<\/li>\n<li>Dreamweaver<\/li>\n<li>Coda<\/li>\n<\/ul>\n<p>For more on using code shortening and snippets, watch this talk from The Email Design Conference 2015:<\/p>\n<div class=\"wistia_responsive_padding\" style=\"padding: 56.25% 0 0 0\">\n<div class=\"wistia_responsive_wrapper\" style=\"height: 100%;width: 100%\"><\/div>\n<\/div>\n<p><script src=\"\/\/fast.wistia.net\/assets\/external\/E-v1.js\"><\/script><\/p>\n<p>Or dive deeper into how to use snippets <a rel=\"noopener\" href=\"https:\/\/litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design\">with this blog post<\/a>.<\/p>\n<h2>What are partials?<\/h2>\n<p>Partials are global, dynamic, reusable blocks of code that can be used across multiple emails. Partials live globally and any change made to a partial will apply to every single email where that partial is referenced.<\/p>\n<p>Partials work well for items such as headers, footers, reset CSS, and commonly used CTAs\u2014anything that you need to reuse across multiple emails, but the content does not change for those individual components.<\/p>\n<p>Usage of partials has been steadily increasing, spurred by the growth in the use of automated emails, which benefit greatly from the use of partials.<\/p>\n<figure id=\"post-20973 media-20973\" class=\"alignnone nudged\"><a rel=\"noopener\" href=\"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/litmus-partials_usage_increasing.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"\" src=\"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/litmus-partials_usage_increasing.png\" alt=\"Partials Usage Increasing\"><\/a><\/figure>\n<p>Let\u2019s take an example of a header for an email. We use this same header across all of our emails at Litmus:<\/p>\n<figure id=\"post-15016 media-15016\" class=\"aligncenter\"><img decoding=\"async\" class=\" shaded\" src=\"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/partial1.png\" alt=\"partial1\"><\/figure>\n<p>We can take the code of this header:<\/p>\n<pre><code style=\"background: #444;color: #fff\">&lt;table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"100%\"&gt;\n    &lt;tr&gt;\n        &lt;td bgcolor=\"#33373e\" align=\"center\"&gt;\n            &lt;!--[if (gte mso 9)|(IE)]&gt;\n            &lt;table width=\"500\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\"&gt;\n            &lt;tr&gt;\n            &lt;td&gt;\n            &lt;![endif]--&gt;\n                &lt;table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\" style=\"max-width: 500px;\"&gt;\n                    &lt;tr&gt;\n                        &lt;td style=\"padding: 15px 0;\" align=\"center\"&gt;\n                            &lt;a rel=\"noopener\" target=\"_blank\" href=\"http:\/\/litmus.com\" target=\"_blank\"&gt;\n                                &lt;img src=\"logo.png\" width=\"130\" height=\"48\" alt=\"Litmus\" border=\"0\" style=\"display: block; color: #ffffff; font-size: 20px; border: 0px;\"&gt;\n                            &lt;\/a&gt;\n                        &lt;\/td&gt;\n                    &lt;\/tr&gt;\n                &lt;\/table&gt;\n            &lt;!--[if (gte mso 9)|(IE)]&gt;\n            &lt;\/td&gt;\n            &lt;\/tr&gt;\n            &lt;\/table&gt;\n            &lt;![endif]--&gt;\n        &lt;\/td&gt;\n    &lt;\/tr&gt;\n&lt;\/table&gt;\n<\/code><\/pre>\n<p>And create a partial for this header. Instead of using the actual HTML and CSS of the header in the email, we can use a partial reference:<\/p>\n<pre><code style=\"background: #444;color: #fff\">&lt;table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"100%\"&gt;\n    &lt;tr&gt;\n        &lt;td align=\"center\"&gt;\n            {{header}}\n        &lt;\/td&gt;\n    &lt;\/tr&gt;\n&lt;\/table&gt;\n<\/code><\/pre>\n<p><em>*Note: the above reference is using Handlebars syntax, which is used in <a rel=\"noopener\" href=\"https:\/\/litmus.com\/email-builder\">Litmus Builder<\/a>.<\/em><\/p>\n<p>Now, whenever we need make a change or update to our header, instead of manually going into every single email that uses that component and updating the HTML and CSS one-by-one (our worst nightmare), we can simply update the partial. Updating it then applies that change to every email where that partial is used. It makes managing and maintaining your emails much easier, faster, and more scaleable.<\/p>\n<figure id=\"post-15022 media-15022\" class=\"aligncenter\"><img decoding=\"async\" style=\"border-bottom: 1px solid #ddd\" src=\"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/partials.png\" alt=\"partials\"><\/figure>\n<p>In order to use partials, you need to be leveraging a build system and static site generator such as Handlebars, Middleman, or Assemble. Without having one of these tools in place, you cannot use partials or leverage its functionality. These generators support the functionality of partials by automatically compiling the partial syntax references into their final outputted HTML file that is valid to use for email. We highly recommend using <a rel=\"noopener\" href=\"https:\/\/litmus.com\/email-builder\">Litmus Builder<\/a> (no setup required) or <a rel=\"noopener\" target=\"_blank\" href=\"https:\/\/github.com\/leemunroe\/grunt-email-workflow\">Lee Munroe\u2019s Grunt Email Workflow<\/a> (Grunt-based task runner workflow) to use partials.<\/p>\n<h2>So again, what\u2019s the difference?<\/h2>\n<p>Snippets live in an individual email, whereas partials are global and dynamic. You can customize snippets in individual emails, but you can\u2019t customize a partial\u2014any change you make to it will apply to every email in which it is used.<\/p>\n<p>What happens when we flip-flop our examples above?<\/p>\n<h3>Let\u2019s make the header a snippet.<\/h3>\n<p>We could certainly do this, but this would require us to manually output a snippet of the header in every single email build. Additionally, snippets are not dynamic like partials, meaning there is no link between them. Making an update to a snippet does not update any of your previous snippets, only future ones. That means that once you\u2019ve made a snippet, you have to use HTML or CSS to make manual edits in every single email to customize it. Not so ideal for a header that you want to be the same in every email! Therefore, a partial is more ideal for this use case of a header.<\/p>\n<h3>Let\u2019s make the bulletproof button a partial.<\/h3>\n<p>If we made the bulletproof button a partial, this means that the button copy, link, and styling will be the same for every single email in which you use that button partial. If you ever want to update and customize that button copy, link, or styling in an individual email, you won\u2019t be able to do this with a partial because any update you make happens across every email. It\u2019s better to use partials in modular components with static content, such as headers or footers, and use a snippet to implement something customizable like a button.<\/p>\n<p>Find out more about how to use partials in your email workflow with <a rel=\"noopener\" href=\"https:\/\/litmus.com\/blog\/create-and-manage-dynamic-code-blocks-easily-with-partials\">this blog post<\/a>.<\/p>\n<h2>Automate Your Emails With Snippets and Partials<\/h2>\n<p>Both tools come in handy when it comes time to build your next email campaign. Don\u2019t have Litmus Builder yet? No worries. Try it today\u2014free:<\/p>\n<p><a class=\"btn medium orange\" style=\"color: #fff;font-size: 16px;font-weight: bold\" rel=\"noopener\" href=\"https:\/\/litmus.com\/email-builder\">Automate your workflow \u2192<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Designing and coding emails can be a manual, arduous process, but it doesn&#8217;t have to be. Snippets and partials can help you automate your email workflow, speed up development time, and reduce the chance of errors. Here&#8217;s how.<\/p>\n","protected":false},"author":3,"featured_media":4118,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"tags":[478,1419,499,1163],"blog_category":[61,549],"class_list":["post-4117","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","tag-design","tag-email-authentication","tag-email-coding","tag-snippets","blog_category-features-updates","blog_category-product"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Automate Your Email Builds in Two Ways: Snippets vs. Partials - Litmus<\/title>\n<meta name=\"description\" content=\"Designing and coding emails can be a manual, arduous process, but it doesn&#039;t have to be. Snippets and partials can help you automate your email workflow, speed up development time, and reduce the chance of errors. Here&#039;s how.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.litmus.com\/blog\/automate-your-emails-in-two-ways-snippets-vs-partials\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Automate Your Email Builds in Two Ways: Snippets vs. Partials\" \/>\n<meta property=\"og:description\" content=\"Designing and coding emails can be a manual, arduous process, but it doesn&#039;t have to be. Snippets and partials can help you automate your email workflow, speed up development time, and reduce the chance of errors. Here&#039;s how.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.litmus.com\/blog\/automate-your-emails-in-two-ways-snippets-vs-partials\" \/>\n<meta property=\"og:site_name\" content=\"Litmus\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/litmusapp\" \/>\n<meta property=\"article:published_time\" content=\"2018-06-14T00:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-04-21T14:53:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/featured-partials-vs-snippets.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1380\" \/>\n\t<meta property=\"og:image:height\" content=\"724\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@litmusapp\" \/>\n<meta name=\"twitter:site\" content=\"@litmusapp\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Automate Your Email Builds in Two Ways: Snippets vs. Partials - Litmus","description":"Designing and coding emails can be a manual, arduous process, but it doesn't have to be. Snippets and partials can help you automate your email workflow, speed up development time, and reduce the chance of errors. Here's how.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.litmus.com\/blog\/automate-your-emails-in-two-ways-snippets-vs-partials","og_locale":"en_US","og_type":"article","og_title":"Automate Your Email Builds in Two Ways: Snippets vs. Partials","og_description":"Designing and coding emails can be a manual, arduous process, but it doesn't have to be. Snippets and partials can help you automate your email workflow, speed up development time, and reduce the chance of errors. Here's how.","og_url":"https:\/\/www.litmus.com\/blog\/automate-your-emails-in-two-ways-snippets-vs-partials","og_site_name":"Litmus","article_publisher":"https:\/\/www.facebook.com\/litmusapp","article_published_time":"2018-06-14T00:00:00+00:00","article_modified_time":"2020-04-21T14:53:55+00:00","og_image":[{"width":1380,"height":724,"url":"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/featured-partials-vs-snippets.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_creator":"@litmusapp","twitter_site":"@litmusapp","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.litmus.com\/blog\/automate-your-emails-in-two-ways-snippets-vs-partials#article","isPartOf":{"@id":"https:\/\/www.litmus.com\/blog\/automate-your-emails-in-two-ways-snippets-vs-partials"},"author":{"name":"","@id":""},"headline":"Automate Your Email Builds in Two Ways: Snippets vs. Partials","datePublished":"2018-06-14T00:00:00+00:00","dateModified":"2020-04-21T14:53:55+00:00","mainEntityOfPage":{"@id":"https:\/\/www.litmus.com\/blog\/automate-your-emails-in-two-ways-snippets-vs-partials"},"wordCount":1203,"commentCount":0,"publisher":{"@id":"https:\/\/www.litmus.com\/#organization"},"image":{"@id":"https:\/\/www.litmus.com\/blog\/automate-your-emails-in-two-ways-snippets-vs-partials#primaryimage"},"thumbnailUrl":"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/featured-partials-vs-snippets.png","keywords":["Design","Email Authentication","Email Coding","Snippets"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.litmus.com\/blog\/automate-your-emails-in-two-ways-snippets-vs-partials#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.litmus.com\/blog\/automate-your-emails-in-two-ways-snippets-vs-partials","url":"https:\/\/www.litmus.com\/blog\/automate-your-emails-in-two-ways-snippets-vs-partials","name":"Automate Your Email Builds in Two Ways: Snippets vs. Partials - Litmus","isPartOf":{"@id":"https:\/\/www.litmus.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.litmus.com\/blog\/automate-your-emails-in-two-ways-snippets-vs-partials#primaryimage"},"image":{"@id":"https:\/\/www.litmus.com\/blog\/automate-your-emails-in-two-ways-snippets-vs-partials#primaryimage"},"thumbnailUrl":"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/featured-partials-vs-snippets.png","datePublished":"2018-06-14T00:00:00+00:00","dateModified":"2020-04-21T14:53:55+00:00","description":"Designing and coding emails can be a manual, arduous process, but it doesn't have to be. Snippets and partials can help you automate your email workflow, speed up development time, and reduce the chance of errors. Here's how.","breadcrumb":{"@id":"https:\/\/www.litmus.com\/blog\/automate-your-emails-in-two-ways-snippets-vs-partials#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.litmus.com\/blog\/automate-your-emails-in-two-ways-snippets-vs-partials"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.litmus.com\/blog\/automate-your-emails-in-two-ways-snippets-vs-partials#primaryimage","url":"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/featured-partials-vs-snippets.png","contentUrl":"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/featured-partials-vs-snippets.png","width":1380,"height":724},{"@type":"BreadcrumbList","@id":"https:\/\/www.litmus.com\/blog\/automate-your-emails-in-two-ways-snippets-vs-partials#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.litmus.com\/"},{"@type":"ListItem","position":2,"name":"Automate Your Email Builds in Two Ways: Snippets vs. Partials"}]},{"@type":"WebSite","@id":"https:\/\/www.litmus.com\/#website","url":"https:\/\/www.litmus.com\/","name":"Litmus","description":"Are you getting the most out of your email marketing?","publisher":{"@id":"https:\/\/www.litmus.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.litmus.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.litmus.com\/#organization","name":"Litmus Software","url":"https:\/\/www.litmus.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.litmus.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.litmus.com\/wp-content\/uploads\/2025\/04\/featured-image.png","contentUrl":"https:\/\/www.litmus.com\/wp-content\/uploads\/2025\/04\/featured-image.png","width":600,"height":314,"caption":"Litmus Software"},"image":{"@id":"https:\/\/www.litmus.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/litmusapp","https:\/\/x.com\/litmusapp"]},{"@type":"Person","@id":""}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/www.litmus.com\/wp-json\/wp\/v2\/posts\/4117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.litmus.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.litmus.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.litmus.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.litmus.com\/wp-json\/wp\/v2\/comments?post=4117"}],"version-history":[{"count":0,"href":"https:\/\/www.litmus.com\/wp-json\/wp\/v2\/posts\/4117\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.litmus.com\/wp-json\/wp\/v2\/media\/4118"}],"wp:attachment":[{"href":"https:\/\/www.litmus.com\/wp-json\/wp\/v2\/media?parent=4117"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.litmus.com\/wp-json\/wp\/v2\/tags?post=4117"},{"taxonomy":"blog_category","embeddable":true,"href":"https:\/\/www.litmus.com\/wp-json\/wp\/v2\/blog_category?post=4117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}