{"id":121072,"date":"2021-10-14T10:09:20","date_gmt":"2021-10-14T14:09:20","guid":{"rendered":"https:\/\/optinmonster.com\/?post_type=optinmonster_docs&#038;p=121072"},"modified":"2025-08-06T12:00:26","modified_gmt":"2025-08-06T16:00:26","slug":"how-to-use-actions-for-success-view-and-more","status":"publish","type":"optinmonster_docs","link":"https:\/\/optinmonster.com\/docs\/how-to-use-actions-for-success-view-and-more\/","title":{"rendered":"How to Use Actions to Show Success View and More"},"content":{"rendered":"\n<p>OptinMonster makes it easy to control what happens after your campaign&#8217;s form is submitted, or button is selected. That includes redirecting the visitor to another URL, showing the Success View, closing the campaign, or reloading the page.<\/p>\n\n\n\n<p>In this article, you&#8217;ll learn how to configure the Success Action for your campaign&#8217;s form and\/or button elements.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Before You Start<\/h2>\n\n\n\n<p>Here are some things to know before you begin:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can configure a Success Action for single buttons, <a href=\"https:\/\/optinmonster.com\/docs\/how-to-create-a-yes-no-optin-with-optinmonster\/\" target=\"_blank\" rel=\"noopener\" title=\"\">yes\/no buttons<\/a>, optin fields and <a href=\"https:\/\/optinmonster.com\/docs\/create-countdown-timer-optin\/\">count<\/a><a href=\"https:\/\/optinmonster.com\/docs\/create-countdown-timer-optin\/\" target=\"_blank\" rel=\"noopener\" title=\"\">d<\/a><a href=\"https:\/\/optinmonster.com\/docs\/create-countdown-timer-optin\/\">own<\/a> elements.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Configure Form Action<\/strong><\/h2>\n\n\n\n<p>When using one of our native integrations, you can configure your optin form&#8217;s Success Action on submission.<\/p>\n\n\n\n<p>To configure the optin form Action, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>From the&nbsp;<strong>Design<\/strong> view of the campaign builder, directly select the submit button of the optin form to edit the settings.<\/li>\n\n\n\n<li>Next, locate the <strong>Button Click Action<\/strong> setting in the sidebar panel and choose the option you want to use from the dropdown field.<br><img decoding=\"async\" width=\"800\" height=\"455\" class=\"alignnone size-large wp-image-170634\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/10\/Configure-the-Success-Action-for-your-optin-form-to-show-the-Success-View-OptinMonster.png\" alt=\"Configure the Success Action for your optin form to show the Success View\"><\/li>\n\n\n\n<li>When you&#8217;re finished, click&nbsp;<strong>Save<\/strong>.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Configure Button Action<\/h2>\n\n\n\n<p>You can add button elements to your campaign that have different actions when selected.<\/p>\n\n\n\n<p>To configure the button&#8217;s Action, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>From the&nbsp;<strong>Design<\/strong> view of the campaign builder, directly select the submit button of the optin form to edit the settings.<\/li>\n\n\n\n<li>Next, locate the <strong>Button Click Action<\/strong> setting in the sidebar panel and choose the option you want to use from the dropdown field.<br><img decoding=\"async\" width=\"800\" height=\"530\" class=\"alignnone size-full wp-image-170045\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/10\/button-redirect-success-action.jpg\" alt=\"Configure the Success View button to redirect to a URL.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/10\/button-redirect-success-action.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/10\/button-redirect-success-action-300x199.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/10\/button-redirect-success-action-768x509.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>When you&#8217;re finished, click&nbsp;<strong>Save<\/strong>.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Options<\/h3>\n\n\n\n<p>At this time, you can choose from the following Actions:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to a <a href=\"https:\/\/optinmonster.com\/docs\/glossary-of-terms\/#view\" target=\"_blank\" rel=\"noopener noreferrer\">view<\/a> <em>(<a href=\"https:\/\/optinmonster.com\/docs\/glossary-of-terms\/#yesnooptin\" title=\"\">Yes\/No<\/a>, <a href=\"https:\/\/optinmonster.com\/docs\/glossary-of-terms\/#optinform\" title=\"\">Optin<\/a>, <a href=\"https:\/\/optinmonster.com\/docs\/glossary-of-terms\/#successview\" title=\"\">Success<\/a>, or any <a href=\"https:\/\/optinmonster.com\/docs\/how-to-add-multiple-views-to-your-campaigns\/\" title=\"\">custom view<\/a> you&#8217;ve added)<\/em><\/li>\n\n\n\n<li>Redirect to a <a href=\"https:\/\/optinmonster.com\/docs\/glossary-of-terms\/#urlredirect\" title=\"\">url<\/a><\/li>\n\n\n\n<li>Open email client<\/li>\n\n\n\n<li><a href=\"https:\/\/optinmonster.com\/docs\/how-to-create-a-click-to-call-button\/\" title=\"\">Click to call<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/optinmonster.com\/docs\/how-to-create-a-click-to-copy-button\/\" title=\"\">Click to copy text<\/a><\/li>\n\n\n\n<li>Close the campaign&nbsp;<em>(not available for <a href=\"https:\/\/optinmonster.com\/docs\/how-to-create-an-after-post-or-in-line-optin\/\" title=\"\">Inline campaigns<\/a>)<\/em><\/li>\n\n\n\n<li>Reload the page<\/li>\n\n\n\n<li>Open in a new Window<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">FAQs<\/h3>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"success-script\">How do I run scripts when the campaign is submitted?<\/h5>\n\n\n\n<p>You can run scripts when the form is submitted or button selected <a href=\"https:\/\/optinmonster.com\/docs\/how-to-use-success-triggered-scripts\/\" target=\"_blank\" rel=\"noopener\" title=\"\">using our Success Scripts feature<\/a>.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Can I save a video block once I customize it to re-use it later on?<\/h5>\n\n\n\n<p>Yes! <a href=\"https:\/\/optinmonster.com\/docs\/how-to-create-and-use-saved-blocks-in-optinmonster\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Learn how to create and use saved blocks<\/a>.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>OptinMonster makes it easy to control what happens after your campaign&#8217;s form is submitted, or button is selected. That includes redirecting the visitor to another URL, showing the Success View, closing the campaign, or reloading the page. In this article, you&#8217;ll learn how to configure the Success Action for your campaign&#8217;s form and\/or button elements.&nbsp;&hellip;<\/p>\n","protected":false},"author":4657,"comment_status":"open","ping_status":"closed","template":"","documentation\/categories":[8],"documentation\/tags":[31407,31399,31409,31408,31401,31410,31405,31406],"class_list":["post-121072","optinmonster_docs","type-optinmonster_docs","status-publish","hentry","categories-getting-started"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/121072","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/types\/optinmonster_docs"}],"author":[{"embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/users\/4657"}],"replies":[{"embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/comments?post=121072"}],"version-history":[{"count":33,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/121072\/revisions"}],"predecessor-version":[{"id":203145,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/121072\/revisions\/203145"}],"wp:attachment":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/media?parent=121072"}],"wp:term":[{"taxonomy":"categories","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/categories?post=121072"},{"taxonomy":"internal_tags","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/tags?post=121072"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}