{"id":1720,"date":"2018-09-10T00:44:51","date_gmt":"2018-09-10T00:44:51","guid":{"rendered":"https:\/\/integrateprovideo.com\/?p=218"},"modified":"2021-06-22T22:28:18","modified_gmt":"2021-06-23T05:28:18","slug":"how-to-use-activecampaign-snippets","status":"publish","type":"post","link":"https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/","title":{"rendered":"How to use ActiveCampaign Snippets"},"content":{"rendered":"<p><iframe src=\"https:\/\/www.youtube.com\/embed\/4uJffXsgaX0?rel=0&amp;showinfo=0\" style=\"width: 100%; height: 422px;\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><br \/>\n<\/iframe><\/p>\n<p>Campaign snippets. Snippets or something you can use in campaigns and Active Campaign and they&#8217;re useful for displaying something automatically. Got a use case where somebody wants to be able to call somebody but doesn&#8217;t really want to be asking for a phone number, So we&#8217;re going to show you how to do that in a subtle way using snippets, so let&#8217;s dive right in. Inside your Active Campaign account you can find this snippet thing a majiggy it&#8217;s called message variables under your campaign so if you find that little envelope go to message variables and you&#8217;ll see this and all bit all admit this is a little out of date, this is something Active Campaign I think could improve upon but it definitely works. <\/p>\n<p>So you want to give it a name I&#8217;m going to say missing email, phone as I already have and I&#8217;m gonna do missing underscore phone and I&#8217;m going to apply it to all list and I find this a little bit tricky to work with. So if I go here and click on this, it doesn&#8217;t work. So I want to go to code editor. I&#8217;m going to go to text, place the mouse the cursor back in there, and then insert conditional content. Now this is where it gets a little bit tricky. So in this case, I only want to message somebody or display something if somebody does not have an email address. To do that, I selected phone number and I want to do greater than and I want to leave it blank. No other conditions leave it to all that&#8217;s the important part. Now it&#8217;s going to look a little ugly in here. And I&#8217;m going to make some changes anywhere where this little BR tag This is a kind of a line break. I&#8217;m just going to get rid of it. <\/p>\n<p>So those are going goodbye, and I actually don&#8217;t want to display so the conditions are such that insert content here. If somebody has a phone number, I want that to be blank. So I&#8217;m just gonna leave it empty. Get rid of that, here is what I want to replace. So I want to replace something. They&#8217;re basically it&#8217;s going to be a link to a web form where somebody can provide their email address. <\/p>\n<p>So let me show you how I&#8217;m going to do that. I&#8217;m going to create a form. It looks like I&#8217;ve already done that.<br \/>\nI&#8217;ve got this Are you ready to talk? provide a phone number will call you back shortly, of course, change the messaging fancy up the form a little bit. I&#8217;ve made both of these fields required email by default is required. Phone isn&#8217;t, what you want to do is take this box here, you would think of this is already ticked, it means it&#8217;s required. Nope. You have to have that tick there. So you want to put phone and then, let&#8217;s go to next step. What else was I gonna show you? Oh, showing the thank you page. Nothing fancy. I&#8217;m just showing this message of means, you know, we could probably change that.<\/p>\n<p>Now we want to go to integrate, and I want to just grab the link. I just want to make it super easy for somebody just to click on that link and go there. So I&#8217;m going to replace this with I don&#8217;t want to speak to somebody. Now I&#8217;m gonna have to format this little with a link so watch what I&#8217;m doing. And then I&#8217;m going to put a question mark email equals and then percent capital email percent double quote close the greater than and at the very end do this. So this is going to be a hyperlink to that web form we just created and the nice thing is we&#8217;re going to pass in the context email address so they don&#8217;t have to, so all they have to do literally is type in their phone number submitted and then go the next thing will happen. <\/p>\n<p>So I&#8217;m gonna go ahead and click on Add. I&#8217;m going to take this because I need to include that in my email. So here&#8217;s an email, I&#8217;m going to send, I mean really fancy, nothing big. So I&#8217;m gonna actually put another text block in here, and this is something you could just have in all your emails missed phone missing phone, if it&#8217;s important for you to have their phone number to have something like that. That&#8217;s what we had to do to for creating a snippet we&#8217;ve updated a campaign email we put this in there. Now we want to set up an automation that is triggered by a field change and I want to do this I&#8217;m going to look for phone whenever the phone changes ever. I really just want to do it once I could do it every time we&#8217;ve had to update it because the assumption is at this point somebody doesn&#8217;t have their phone number and now they&#8217;re going to update their contact records. <\/p>\n<p>I&#8217;m gonna go ahead and do that. So this automation will fire based on that phone changing and then what we want to do is notify somebody. That&#8217;s it, So this automation will fire it will send to somebody and they should know that this person would like call and you know what, I&#8217;ve included a link to there or there should actually have that information but let&#8217;s just for sure for fun putting the phone number just to make it super easy in case somebody doesn&#8217;t want to leave this. So that&#8217;s active and then that&#8217;s it so it immediately notifies somebody that a person has updated their phone number and is interested in receiving a phone call. So let&#8217;s go ahead and test this out.<\/p>\n<p>So I&#8217;m going to send an email, test email to myself so. So currently I do not have a phone number. So let&#8217;s just actually put one in. So just to verify that it does work, and not display that message. And 31 or 1130 looks like I just received an email. There&#8217;s nothing about the phone here. So now what I want to do, I want to update my record actually remove it, and this actually might trigger the automation. So that&#8217;s going to be a little problematic. I really want it to happen after I&#8217;ve added it. But in this case, I may trigger the automation that gets sends a notification, so let&#8217;s go ahead and send this test again.<\/p>\n<p>Okay, I just received the next one, and this time I do have a link and if I click here this is already populated and then I can, and that will also trigger the automation to notify somebody to give me a call. That&#8217;s how you can use Active Campaign snippets.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Campaign snippets. Snippets or something you can use in campaigns and Active Campaign and they&#8217;re useful for displaying something automatically. Got a use case where somebody wants to be able to call somebody but doesn&#8217;t really want to be asking for a phone number, So we&#8217;re going to show you how to do that in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":219,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[72],"tags":[91,71,101,102],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to use ActiveCampaign Snippets - Integrate Pro<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to use ActiveCampaign Snippets - Integrate Pro\" \/>\n<meta property=\"og:description\" content=\"Campaign snippets. Snippets or something you can use in campaigns and Active Campaign and they&#8217;re useful for displaying something automatically. Got a use case where somebody wants to be able to call somebody but doesn&#8217;t really want to be asking for a phone number, So we&#8217;re going to show you how to do that in [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/\" \/>\n<meta property=\"og:site_name\" content=\"Integrate Pro\" \/>\n<meta property=\"article:published_time\" content=\"2018-09-10T00:44:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-23T05:28:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/integratepro.com\/blog\/wp-content\/uploads\/ActiveCampaign-Snippets-min.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Dave\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dave\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/\"},\"author\":{\"name\":\"Dave\",\"@id\":\"https:\/\/integratepro.com\/blog\/#\/schema\/person\/45f6269052f93302dd1a55ec93f9e3d5\"},\"headline\":\"How to use ActiveCampaign Snippets\",\"datePublished\":\"2018-09-10T00:44:51+00:00\",\"dateModified\":\"2021-06-23T05:28:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/\"},\"wordCount\":1153,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/integratepro.com\/blog\/#organization\"},\"keywords\":[\"active-campaign\",\"activecampaign\",\"activecampaign snippets\",\"snippets\"],\"articleSection\":[\"activecampaign\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/\",\"url\":\"https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/\",\"name\":\"How to use ActiveCampaign Snippets - Integrate Pro\",\"isPartOf\":{\"@id\":\"https:\/\/integratepro.com\/blog\/#website\"},\"datePublished\":\"2018-09-10T00:44:51+00:00\",\"dateModified\":\"2021-06-23T05:28:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/integratepro.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to use ActiveCampaign Snippets\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/integratepro.com\/blog\/#website\",\"url\":\"https:\/\/integratepro.com\/blog\/\",\"name\":\"Integrate Pro\",\"description\":\"Integrate Business Services\",\"publisher\":{\"@id\":\"https:\/\/integratepro.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/integratepro.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/integratepro.com\/blog\/#organization\",\"name\":\"Integrate Pro\",\"url\":\"https:\/\/integratepro.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/integratepro.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/integratepro.com\/blog\/wp-content\/uploads\/integratepro-logo-1-e1617152697373.png\",\"contentUrl\":\"https:\/\/integratepro.com\/blog\/wp-content\/uploads\/integratepro-logo-1-e1617152697373.png\",\"width\":218,\"height\":40,\"caption\":\"Integrate Pro\"},\"image\":{\"@id\":\"https:\/\/integratepro.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/integratepro.com\/blog\/#\/schema\/person\/45f6269052f93302dd1a55ec93f9e3d5\",\"name\":\"Dave\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/integratepro.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e36ed75c78ec6a9750eb57c6677a1126?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e36ed75c78ec6a9750eb57c6677a1126?s=96&d=mm&r=g\",\"caption\":\"Dave\"},\"sameAs\":[\"dev@integratepro.com\"],\"url\":\"https:\/\/integratepro.com\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to use ActiveCampaign Snippets - Integrate Pro","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:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/","og_locale":"en_US","og_type":"article","og_title":"How to use ActiveCampaign Snippets - Integrate Pro","og_description":"Campaign snippets. Snippets or something you can use in campaigns and Active Campaign and they&#8217;re useful for displaying something automatically. Got a use case where somebody wants to be able to call somebody but doesn&#8217;t really want to be asking for a phone number, So we&#8217;re going to show you how to do that in [&hellip;]","og_url":"https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/","og_site_name":"Integrate Pro","article_published_time":"2018-09-10T00:44:51+00:00","article_modified_time":"2021-06-23T05:28:18+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/integratepro.com\/blog\/wp-content\/uploads\/ActiveCampaign-Snippets-min.jpg","type":"image\/jpeg"}],"author":"Dave","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Dave","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/#article","isPartOf":{"@id":"https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/"},"author":{"name":"Dave","@id":"https:\/\/integratepro.com\/blog\/#\/schema\/person\/45f6269052f93302dd1a55ec93f9e3d5"},"headline":"How to use ActiveCampaign Snippets","datePublished":"2018-09-10T00:44:51+00:00","dateModified":"2021-06-23T05:28:18+00:00","mainEntityOfPage":{"@id":"https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/"},"wordCount":1153,"commentCount":0,"publisher":{"@id":"https:\/\/integratepro.com\/blog\/#organization"},"keywords":["active-campaign","activecampaign","activecampaign snippets","snippets"],"articleSection":["activecampaign"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/","url":"https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/","name":"How to use ActiveCampaign Snippets - Integrate Pro","isPartOf":{"@id":"https:\/\/integratepro.com\/blog\/#website"},"datePublished":"2018-09-10T00:44:51+00:00","dateModified":"2021-06-23T05:28:18+00:00","breadcrumb":{"@id":"https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/integratepro.com\/blog\/how-to-use-activecampaign-snippets\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/integratepro.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to use ActiveCampaign Snippets"}]},{"@type":"WebSite","@id":"https:\/\/integratepro.com\/blog\/#website","url":"https:\/\/integratepro.com\/blog\/","name":"Integrate Pro","description":"Integrate Business Services","publisher":{"@id":"https:\/\/integratepro.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/integratepro.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/integratepro.com\/blog\/#organization","name":"Integrate Pro","url":"https:\/\/integratepro.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/integratepro.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/integratepro.com\/blog\/wp-content\/uploads\/integratepro-logo-1-e1617152697373.png","contentUrl":"https:\/\/integratepro.com\/blog\/wp-content\/uploads\/integratepro-logo-1-e1617152697373.png","width":218,"height":40,"caption":"Integrate Pro"},"image":{"@id":"https:\/\/integratepro.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/integratepro.com\/blog\/#\/schema\/person\/45f6269052f93302dd1a55ec93f9e3d5","name":"Dave","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/integratepro.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e36ed75c78ec6a9750eb57c6677a1126?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e36ed75c78ec6a9750eb57c6677a1126?s=96&d=mm&r=g","caption":"Dave"},"sameAs":["dev@integratepro.com"],"url":"https:\/\/integratepro.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/integratepro.com\/blog\/wp-json\/wp\/v2\/posts\/1720"}],"collection":[{"href":"https:\/\/integratepro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/integratepro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/integratepro.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/integratepro.com\/blog\/wp-json\/wp\/v2\/comments?post=1720"}],"version-history":[{"count":1,"href":"https:\/\/integratepro.com\/blog\/wp-json\/wp\/v2\/posts\/1720\/revisions"}],"predecessor-version":[{"id":2425,"href":"https:\/\/integratepro.com\/blog\/wp-json\/wp\/v2\/posts\/1720\/revisions\/2425"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/integratepro.com\/blog\/wp-json\/wp\/v2\/media\/219"}],"wp:attachment":[{"href":"https:\/\/integratepro.com\/blog\/wp-json\/wp\/v2\/media?parent=1720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/integratepro.com\/blog\/wp-json\/wp\/v2\/categories?post=1720"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/integratepro.com\/blog\/wp-json\/wp\/v2\/tags?post=1720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}