{"id":13637,"date":"2024-03-20T16:58:04","date_gmt":"2024-03-20T15:58:04","guid":{"rendered":"https:\/\/helpcenter.blendee.com\/article\/how-to-insert-contextual-values-in-emails-thanks-to-the-built-in-editor\/"},"modified":"2024-03-20T16:58:05","modified_gmt":"2024-03-20T15:58:05","slug":"how-to-insert-contextual-values-in-emails-thanks-to-the-built-in-editor","status":"publish","type":"article","link":"https:\/\/helpcenter.streamwise.it\/en\/article\/how-to-insert-contextual-values-in-emails-thanks-to-the-built-in-editor\/","title":{"rendered":"How to insert contextual values in emails thanks to the built-in editor"},"content":{"rendered":"\n<p>With Blendee&#8217;s new email editor, it&#8217;s now very easy to enter contextual values associated with, for example, a customer or brand or order data.<\/p>\n\n<p>Going back to the example created in the article &#8220;<a href=\"https:\/\/helpcenter.blendee.com\/article\/modificare-elementi-tramite-e-mail-editor\/\">Editing elements via email editor&#8221;<\/a> we are going to insert contextual values that allow us, once the communication has been sent, to make the email personalized.<\/p>\n\n<p>One of the first things we usually include in communications is the ability to view the email online. Let&#8217;s see how.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img data-original=\"https:\/\/helpcenter.blendee.com\/wp-content\/uploads\/2018\/10\/Schermata-2021-07-15-alle-14.36.48.png\" alt=\"\" class=\"wp-image-7353\"\/><\/figure><\/div>\n<p>Drag the text block into the email,<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"alignleft\"><a href=\"https:\/\/helpcenter.blendee.com\/wp-content\/uploads\/2018\/10\/Screenshot-2022-10-26-alle-17.22.54.png\" data-lbwps-width=\"59\" data-lbwps-height=\"38\" data-lbwps-srcsmall=\"https:\/\/helpcenter.blendee.com\/wp-content\/uploads\/2018\/10\/Screenshot-2022-10-26-alle-17.22.54.png\"><img loading=\"lazy\" decoding=\"async\" width=\"59\" height=\"38\" src=\"https:\/\/helpcenter.blendee.com\/wp-content\/uploads\/2018\/10\/Screenshot-2022-10-26-alle-17.22.54.png\" alt=\"\" class=\"wp-image-8393\"\/><\/a><\/figure><\/div>\n<p>After that we go to select the text to create our link and we can choose default settings, which we will find on the left once we have clicked on the icon  <\/p>\n\n<p>that appears in our text editing tools.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/helpcenter.blendee.com\/wp-content\/uploads\/2018\/10\/Screenshot-2022-10-26-alle-17.23.43.png\" data-lbwps-width=\"795\" data-lbwps-height=\"56\" data-lbwps-srcsmall=\"https:\/\/helpcenter.blendee.com\/wp-content\/uploads\/2018\/10\/Screenshot-2022-10-26-alle-17.23.43.png\"><img loading=\"lazy\" decoding=\"async\" width=\"795\" height=\"56\" src=\"https:\/\/helpcenter.blendee.com\/wp-content\/uploads\/2018\/10\/Screenshot-2022-10-26-alle-17.23.43.png\" alt=\"\" class=\"wp-image-8394\" srcset=\"https:\/\/helpcenter.streamwise.it\/wp-content\/uploads\/2018\/10\/Screenshot-2022-10-26-alle-17.23.43.png 795w, https:\/\/helpcenter.streamwise.it\/wp-content\/uploads\/2018\/10\/Screenshot-2022-10-26-alle-17.23.43-300x21.png 300w, https:\/\/helpcenter.streamwise.it\/wp-content\/uploads\/2018\/10\/Screenshot-2022-10-26-alle-17.23.43-768x54.png 768w\" sizes=\"(max-width: 795px) 100vw, 795px\" \/><\/a><\/figure><\/div>\n<p>Among them are the two special links <strong>&#8220;Unsubscribe&#8221;<\/strong> and <strong>&#8220;View in browser&#8221;.<\/strong><\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/helpcenter.blendee.com\/wp-content\/uploads\/2018\/10\/Screenshot-2022-10-26-alle-17.18.53.png\" data-lbwps-width=\"382\" data-lbwps-height=\"713\" data-lbwps-srcsmall=\"https:\/\/helpcenter.blendee.com\/wp-content\/uploads\/2018\/10\/Screenshot-2022-10-26-alle-17.18.53.png\"><img loading=\"lazy\" decoding=\"async\" width=\"382\" height=\"713\" src=\"https:\/\/helpcenter.blendee.com\/wp-content\/uploads\/2018\/10\/Screenshot-2022-10-26-alle-17.18.53.png\" alt=\"\" class=\"wp-image-8391\" srcset=\"https:\/\/helpcenter.streamwise.it\/wp-content\/uploads\/2018\/10\/Screenshot-2022-10-26-alle-17.18.53.png 382w, https:\/\/helpcenter.streamwise.it\/wp-content\/uploads\/2018\/10\/Screenshot-2022-10-26-alle-17.18.53-161x300.png 161w\" sizes=\"(max-width: 382px) 100vw, 382px\" \/><\/a><\/figure><\/div>\n<p>Another usual use of this feature is to customize the recipient&#8217;s name.<\/p>\n\n<p>Let&#8217;s take an email with this text as an example:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"134\" src=\"https:\/\/helpcenter.blendee.com\/wp-content\/uploads\/2024\/01\/Schermata-2024-01-18-alle-17.28.18-1024x134.png\" alt=\"\" class=\"wp-image-10453\" style=\"width:413px;height:auto\" srcset=\"https:\/\/helpcenter.streamwise.it\/wp-content\/uploads\/2024\/01\/Schermata-2024-01-18-alle-17.28.18-1024x134.png 1024w, https:\/\/helpcenter.streamwise.it\/wp-content\/uploads\/2024\/01\/Schermata-2024-01-18-alle-17.28.18-300x39.png 300w, https:\/\/helpcenter.streamwise.it\/wp-content\/uploads\/2024\/01\/Schermata-2024-01-18-alle-17.28.18-768x100.png 768w, https:\/\/helpcenter.streamwise.it\/wp-content\/uploads\/2024\/01\/Schermata-2024-01-18-alle-17.28.18.png 1196w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n<p>If we were to send the email to multiple users now we will have to hope that all the customers are called Mario in order to seem credible.<\/p>\n\n<p>Obviously, thanks to contextual values we can insert variables that correctly enter the name of our customer. Let&#8217;s see how.<\/p>\n\n<p>Let&#8217;s select Mario and move to the customization bar where we have the option to choose between different values. In our specific case, select the &#8220;tag&#8221; drop-down menu and select &#8220;Username&#8221;<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"78\" height=\"68\" src=\"https:\/\/helpcenter.blendee.com\/wp-content\/uploads\/2024\/01\/Schermata-2024-01-18-alle-17.29.53.png\" alt=\"\" class=\"wp-image-10454\"\/><\/figure><\/div>\n<p>In the text, we will now find the variable {} instead of the word Mario{nomeutente}.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"36\" src=\"https:\/\/helpcenter.blendee.com\/wp-content\/uploads\/2018\/10\/Schermata-2022-03-01-alle-17.35.19-300x36.png\" alt=\"\" class=\"wp-image-7877\" srcset=\"https:\/\/helpcenter.streamwise.it\/wp-content\/uploads\/2018\/10\/Schermata-2022-03-01-alle-17.35.19-300x36.png 300w, https:\/\/helpcenter.streamwise.it\/wp-content\/uploads\/2018\/10\/Schermata-2022-03-01-alle-17.35.19-580x69.png 580w, https:\/\/helpcenter.streamwise.it\/wp-content\/uploads\/2018\/10\/Schermata-2022-03-01-alle-17.35.19.png 582w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/figure><\/div>\n<p>The contextual values that we can enter for the user are:<\/p>\n\n<ul class=\"wp-block-list\">\n<li>Email address;<\/li>\n\n\n\n<li>User ID;<\/li>\n\n\n\n<li>Registration Date;<\/li>\n\n\n\n<li>Username;<\/li>\n\n\n\n<li>User Surname;<\/li>\n\n\n\n<li>City;<\/li>\n\n\n\n<li>Province;<\/li>\n\n\n\n<li>Region;<\/li>\n\n\n\n<li>State;<\/li>\n\n\n\n<li>Action Name;<\/li>\n\n\n\n<li>Company Category;<\/li>\n\n\n\n<li>Secure Code;<\/li>\n\n\n\n<li>Unsubscribe Code;<\/li>\n<\/ul>\n\n<p>We then have the possibility to enter contextual values referring to the customer&#8217;s order by selecting the menu with the icon <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7876\" src=\"https:\/\/helpcenter.blendee.com\/wp-content\/uploads\/2018\/10\/Schermata-2022-03-01-alle-17.34.10.png\" alt=\"\" width=\"114\" height=\"51\"\/> and choosing the value we are interested in from the drop-down.<\/p>\n\n<p>The contextual values that we can enter for the order are:<\/p>\n\n<ul class=\"wp-block-list\">\n<li>Order number;<\/li>\n\n\n\n<li>First product name of the order;<\/li>\n\n\n\n<li>Total amount;<\/li>\n\n\n\n<li>Date of Purchase;<\/li>\n\n\n\n<li>Total number of products;<\/li>\n\n\n\n<li>Coupon Code;<\/li>\n<\/ul>\n\n<p>Using the contextual values above, you can customize your email marketing campaigns and triggers to attract more customers.<\/p>\n\n<p>In the next article <a href=\"https:\/\/helpcenter.blendee.com\/en\/article\/how-to-insert-product-content-recommendations-in-emails-with-the-built-in-editor\/\">&#8220;How to Insert Product\/Content Recommendations in Emails with the Built-in Editor&#8221;<\/a> we will see how to insert a recommendation within our template.<\/p>\n<div class=\"wrap-post-useful post_useful_13637\">\n<p><div style=\"color: black; margin-bottom: 15px;\"><strong>Was this content useful?<\/strong><\/div><\/p>\n<p class=\"post_useful_success post_useful_success_13637\">Thanks for contributing!<\/p>\n<div class=\"post-useful-buttons post_useful_buttons_13637\">\n<a href=\"javascript:;\" style=\"border:0px;\" title=\"Yes\" class=\"post-useful-vote post-useful-vote-yes\" data-id=\"13637\" data-rate=\"1\">Yes<\/a>\n<a href=\"javascript:;\" style=\"border:0px;\" title=\"No\" class=\"post-useful-vote post-useful-vote-no\" data-id=\"13637\" data-rate=\"0\">No<\/a>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>With Blendee&#8217;s new email editor, it&#8217;s now very easy to enter contextual values associated with, for example, a customer or brand or order data. Going back to the example created in the article &#8220;Editing elements via email editor&#8221; we are going to insert contextual values that allow us, once the communication has been sent, to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"template":"","format":"standard","article-category":[585,564],"article-tag":[587,588,586,746],"class_list":["post-13637","article","type-article","status-publish","format-standard","hentry","article-category-e-mail-editor-en","article-category-e-mail-marketing","article-tag-e-mail-marketing-en","article-tag-email-campaigns","article-tag-email-editor-en","article-tag-newsletter-en"],"_links":{"self":[{"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/article\/13637"}],"collection":[{"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/article\/13637\/revisions"}],"predecessor-version":[{"id":13649,"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/article\/13637\/revisions\/13649"}],"wp:attachment":[{"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/media?parent=13637"}],"wp:term":[{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/article-category?post=13637"},{"taxonomy":"article-tag","embeddable":true,"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/article-tag?post=13637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}