{"id":705,"date":"2023-08-21T12:05:39","date_gmt":"2023-08-21T12:05:39","guid":{"rendered":"https:\/\/www.smashpops.com\/blog\/?page_id=705"},"modified":"2023-08-21T13:02:25","modified_gmt":"2023-08-21T13:02:25","slug":"how-to-send-the-coupon-via-email-using-omnisend","status":"publish","type":"page","link":"https:\/\/www.smashpops.com\/blog\/how-to-send-the-coupon-via-email-using-omnisend\/","title":{"rendered":"How to send the coupon via email using Omnisend?"},"content":{"rendered":"<p>We&#8217;ll walk you through the steps to send the coupon code via email using your Omnisend account.<\/p>\n<p>1. If not already done, add your Omnisend integration to SmashPops. To do this, go to &#8220;<a href=\"https:\/\/www.smashpops.com\/integrations\">Integrations<\/a>&#8221; and click on &#8220;Omnisend&#8221;. Follow the instructions of the popup that appeared.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-708 \" src=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-1.jpg\" alt=\"\" width=\"1010\" height=\"335\" srcset=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-1.jpg 1377w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-1-300x100.jpg 300w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-1-1024x340.jpg 1024w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-1-768x255.jpg 768w\" sizes=\"auto, (max-width: 1010px) 100vw, 1010px\" \/><\/p>\n<p>2. Now let&#8217;s tell link a popup to Omnisend. To do this, edit a popup, go to &#8220;Settings &gt; Data collection&#8221;, click on &#8220;+ Link another integration&#8221; and select your Omnisend account.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-642 \" src=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/04\/mc-4.jpg\" alt=\"\" width=\"255\" height=\"339\" srcset=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/04\/mc-4.jpg 499w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/04\/mc-4-226x300.jpg 226w\" sizes=\"auto, (max-width: 255px) 100vw, 255px\" \/><\/p>\n<p>From there, add a tag that is specific to your game and that will be added to anyone who plays (I chose &#8220;spps-summer-game&#8221;), then click on &#8220;Advanced fields bindings&#8221; and choose custom property names for &#8220;Coupon code&#8221; and &#8220;Coupon name&#8221; (I chose &#8220;sppsLastCouponCode&#8221; and &#8220;sppsLastCouponName&#8221;).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-709 \" src=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-2.jpg\" alt=\"\" width=\"421\" height=\"550\" srcset=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-2.jpg 675w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-2-230x300.jpg 230w\" sizes=\"auto, (max-width: 421px) 100vw, 421px\" \/><\/p>\n<p>Save everything and then make sure that the game is played at least once before you move on to the next step (the setup on Omnisend&#8217;s side) : this will make sure that the custom properties have been sent at least once and are known to Omnisend. They should appear like this on a contact :<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-716 \" src=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-8.jpg\" alt=\"\" width=\"352\" height=\"391\" srcset=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-8.jpg 547w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-8-270x300.jpg 270w\" sizes=\"auto, (max-width: 352px) 100vw, 352px\" \/><\/p>\n<p>3. On Omnisend, go to &#8220;<a href=\"https:\/\/app.omnisend.com\/audience\/segments\/segments-list\">Segments<\/a>&#8221; and create a new segment based on a tag.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-710 \" src=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-3.jpg\" alt=\"\" width=\"677\" height=\"538\" srcset=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-3.jpg 977w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-3-300x239.jpg 300w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-3-768x611.jpg 768w\" sizes=\"auto, (max-width: 677px) 100vw, 677px\" \/><\/p>\n<p>Set the condition to &#8220;Tag is [what you entered earlier]&#8221; and hit &#8220;Save&#8221;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-715 \" src=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-4.jpg\" alt=\"\" width=\"564\" height=\"246\" srcset=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-4.jpg 940w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-4-300x131.jpg 300w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-4-768x335.jpg 768w\" sizes=\"auto, (max-width: 564px) 100vw, 564px\" \/><\/p>\n<p>4. Now create a new <a href=\"https:\/\/app.omnisend.com\/automation\/create\">custom automation workflow<\/a>. Use the &#8220;Contact enters a segment&#8221; as a trigger for the workflow and set the segment to be entered to the one you just created in step 3 (in my case I named it &#8220;SmashPops summer game players&#8221;).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-711 size-full\" src=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-5.jpg\" alt=\"\" width=\"1092\" height=\"592\" srcset=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-5.jpg 1092w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-5-300x163.jpg 300w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-5-1024x555.jpg 1024w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-5-768x416.jpg 768w\" sizes=\"auto, (max-width: 1092px) 100vw, 1092px\" \/><\/p>\n<p>5. Now you can add a new &#8220;Email&#8221; step in your workflow. We&#8217;ll use it to send the coupon code.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-712 \" src=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-6.jpg\" alt=\"\" width=\"848\" height=\"470\" srcset=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-6.jpg 1092w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-6-300x166.jpg 300w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-6-1024x567.jpg 1024w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-6-768x425.jpg 768w\" sizes=\"auto, (max-width: 848px) 100vw, 848px\" \/><\/p>\n<p>6. Edit the email template and use the &#8220;{&#8230;}&#8221; button to insert the sppsLastCouponCode and sppsLastCouponCodeName properties to your email text. You&#8217;ll see that in the preview, it shows up as [[contact.custom_properties.sppsLastCouponCode]], but in a real email, it will be replaced with real data.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-713 size-full\" src=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-7.jpg\" alt=\"\" width=\"1090\" height=\"790\" srcset=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-7.jpg 1090w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-7-300x217.jpg 300w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-7-1024x742.jpg 1024w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-7-768x557.jpg 768w\" sizes=\"auto, (max-width: 1090px) 100vw, 1090px\" \/><\/p>\n<p>And that&#8217;s it. Save everything, activate the workflow and you should be good to go. Now every time someone plays on your SmashPops popup, he\/she should receive an email with the coupon code in it.<\/p>\n<p>One last thing. By default, the coupon code will still be shown on the game screen.<\/p>\n<p>If you only want to send it via email and NOT show it on the game screen, go to &#8220;Settings &gt; Coupons&#8221; and select &#8220;How will the user receive the coupon? &gt; Via email with my own integration&#8221;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-655 \" src=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/04\/mc-15.jpg\" alt=\"\" width=\"434\" height=\"162\" srcset=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/04\/mc-15.jpg 845w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/04\/mc-15-300x112.jpg 300w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/04\/mc-15-768x286.jpg 768w\" sizes=\"auto, (max-width: 434px) 100vw, 434px\" \/><\/p>\n<p>And of course, if you have any questions, you can still reach us at <a href=\"mailto:support@smashpops.com\">support@smashpops.com<\/a> .<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ll walk you through the steps to send the coupon code via email using your Omnisend account. 1. If not already done, add your Omnisend integration to SmashPops. To do this, go to &#8220;Integrations&#8221; and click on &#8220;Omnisend&#8221;. Follow the instructions of the popup that appeared. 2. Now let&#8217;s tell link a popup to Omnisend. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"powered_cache_disable_cache":false,"footnotes":""},"class_list":["post-705","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v14.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to send the coupon via email using Omnisend? - SmashPops Blog<\/title>\n<meta name=\"robots\" content=\"index, follow\" \/>\n<meta name=\"googlebot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta name=\"bingbot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.smashpops.com\/blog\/how-to-send-the-coupon-via-email-using-omnisend\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to send the coupon via email using Omnisend? - SmashPops Blog\" \/>\n<meta property=\"og:description\" content=\"We&#8217;ll walk you through the steps to send the coupon code via email using your Omnisend account. 1. If not already done, add your Omnisend integration to SmashPops. To do this, go to &#8220;Integrations&#8221; and click on &#8220;Omnisend&#8221;. Follow the instructions of the popup that appeared. 2. Now let&#8217;s tell link a popup to Omnisend. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.smashpops.com\/blog\/how-to-send-the-coupon-via-email-using-omnisend\/\" \/>\n<meta property=\"og:site_name\" content=\"SmashPops Blog\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-21T13:02:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-1.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.smashpops.com\/blog\/#organization\",\"name\":\"SmashPops\",\"url\":\"https:\/\/www.smashpops.com\/blog\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.smashpops.com\/blog\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2020\/04\/icon1024.png\",\"width\":1024,\"height\":1024,\"caption\":\"SmashPops\"},\"image\":{\"@id\":\"https:\/\/www.smashpops.com\/blog\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.smashpops.com\/blog\/#website\",\"url\":\"https:\/\/www.smashpops.com\/blog\/\",\"name\":\"SmashPops Blog\",\"description\":\"Everything you need to know about e-commerce and email collection.\",\"publisher\":{\"@id\":\"https:\/\/www.smashpops.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.smashpops.com\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.smashpops.com\/blog\/how-to-send-the-coupon-via-email-using-omnisend\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2023\/08\/omni-1.jpg\",\"width\":1377,\"height\":457},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.smashpops.com\/blog\/how-to-send-the-coupon-via-email-using-omnisend\/#webpage\",\"url\":\"https:\/\/www.smashpops.com\/blog\/how-to-send-the-coupon-via-email-using-omnisend\/\",\"name\":\"How to send the coupon via email using Omnisend? - SmashPops Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.smashpops.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.smashpops.com\/blog\/how-to-send-the-coupon-via-email-using-omnisend\/#primaryimage\"},\"datePublished\":\"2023-08-21T12:05:39+00:00\",\"dateModified\":\"2023-08-21T13:02:25+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.smashpops.com\/blog\/how-to-send-the-coupon-via-email-using-omnisend\/\"]}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/www.smashpops.com\/blog\/wp-json\/wp\/v2\/pages\/705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.smashpops.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.smashpops.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.smashpops.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.smashpops.com\/blog\/wp-json\/wp\/v2\/comments?post=705"}],"version-history":[{"count":6,"href":"https:\/\/www.smashpops.com\/blog\/wp-json\/wp\/v2\/pages\/705\/revisions"}],"predecessor-version":[{"id":722,"href":"https:\/\/www.smashpops.com\/blog\/wp-json\/wp\/v2\/pages\/705\/revisions\/722"}],"wp:attachment":[{"href":"https:\/\/www.smashpops.com\/blog\/wp-json\/wp\/v2\/media?parent=705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}