{"id":571,"date":"2020-05-10T15:30:40","date_gmt":"2020-05-10T15:30:40","guid":{"rendered":"https:\/\/sweepwidget.com\/docs\/?p=571"},"modified":"2026-11-19T10:30:52","modified_gmt":"2026-11-19T10:30:52","slug":"secret-code-entry-methods","status":"publish","type":"post","link":"https:\/\/sweepwidget.com\/docs\/secret-code-entry-methods","title":{"rendered":"Secret Code Entry Methods"},"content":{"rendered":"<p>Learn how to run a giveaway that uses secret codes. Secret codes need the Pro plan or higher.<\/p>\n<p>There are 2 ways to add a secret code:<\/p>\n<ul>\n<li>In the login steps: <strong>Login Fields<\/strong> tab &gt; <strong>Add a Custom Login Field<\/strong> &gt; <strong>Secret Code<\/strong>.<\/li>\n<li>In the entry methods: <strong>Entry Methods<\/strong> tab. This article covers this one.<\/li>\n<\/ul>\n<h2 id=\"admin-view\">Admin view<\/h2>\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"308\" src=\"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2020\/05\/secret-code-1024x308.jpg\" alt=\"\" class=\"wp-image-572\" srcset=\"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2020\/05\/secret-code-1024x308.jpg 1024w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2020\/05\/secret-code-300x90.jpg 300w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2020\/05\/secret-code-768x231.jpg 768w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2020\/05\/secret-code-1536x462.jpg 1536w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2020\/05\/secret-code-2048x616.jpg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<ol type=\"1\">\n<li>Open the <strong>Entry Methods<\/strong> tab and click <strong>Add a Way to Enter<\/strong>.<\/li>\n<li>Choose <strong>Secret Code<\/strong>.<\/li>\n<li>Fill in <strong>Question Title<\/strong>, for example &#8220;What is the secret code?&#8221;.<\/li>\n<li>In <strong>Accepted Secret Codes (comma separated)<\/strong>, enter the code. To accept several codes, separate them with commas.<\/li>\n<li>Optional: tick <strong>Must be Correct<\/strong> so users only get credit if the code is right.<\/li>\n<li>Optional: tick <strong>Prohibit duplicate secret codes<\/strong> so the same user cannot enter the same code twice.<\/li>\n<li>Optional: add <strong>Additional Instructions<\/strong>. For example:\n<ul>\n<li>A link to a web page with instructions on finding the code.<\/li>\n<li>A link to a video, and a note to listen for the code.<\/li>\n<li>A link to a page that shows a code for only a few hours a day, so users keep checking your site.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1000\" height=\"788\" src=\"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2023\/12\/secret-code.png\" alt=\"\" class=\"wp-image-2210\" srcset=\"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2023\/12\/secret-code.png 1000w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2023\/12\/secret-code-300x236.png 300w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2023\/12\/secret-code-768x605.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n<h2 id=\"public-view\">Public view<\/h2>\n<p>The user enters the code and clicks the button to confirm.<\/p>\n<ul>\n<li>With <strong>Must be Correct<\/strong> on, a wrong code is not accepted and the user can try again.<\/li>\n<li>With it off, the user gets credit even if the code is wrong.<\/li>\n<\/ul>\n<figure class=\"wp-block-image size-large width_500\"><img decoding=\"async\" width=\"1024\" height=\"508\" src=\"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2020\/05\/secret-code-3-1024x508.png\" alt=\"\" class=\"wp-image-575\" srcset=\"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2020\/05\/secret-code-3-1024x508.png 1024w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2020\/05\/secret-code-3-300x149.png 300w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2020\/05\/secret-code-3-768x381.png 768w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2020\/05\/secret-code-3.png 1159w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<p>Example Secret Code Giveaway<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to run a giveaway that uses secret codes. Secret codes need the Pro plan or higher. There are 2 ways to add a secret code: In the login steps: Login Fields tab &gt; Add a Custom Login Field &gt; Secret Code. In the entry methods: Entry Methods tab. This article covers this one. Admin view Open the Entry Methods tab and click Add a Way to Enter. Choose Secret Code. Fill in Question Title, for example &#8220;What is the secret code?&#8221;. In Accepted Secret Codes (comma separated), enter the code. To accept several codes, separate them with commas. Optional: tick Must be Correct so users only get credit if the code is right. Optional: tick Prohibit duplicate secret codes so the same user cannot enter the same code twice. Optional: add Additional Instructions. For example: A link to a web page with instructions on finding the code. A link to a video, and a note to listen for the code. A link to a page that shows a code for only a few hours a day, so users keep checking your site. Public view The user enters the code and clicks the button to confirm. With Must be Correct on, a wrong code is not accepted and the user can try again. With it off, the user gets credit even if the code is wrong. Example Secret Code Giveaway<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-571","post","type-post","status-publish","format-standard","hentry","category-entry-methods"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Secret Code Entry Method | SweepWidget<\/title>\n<meta name=\"description\" content=\"Learn how to setup a giveaway that allows secret codes using SweepWidget. Enable the option to only accept correct codes and set it to daily.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sweepwidget.com\/docs\/secret-code-entry-methods\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Secret Code Entry Method | SweepWidget\" \/>\n<meta property=\"og:description\" content=\"Learn how to setup a giveaway that allows secret codes using SweepWidget. Enable the option to only accept correct codes and set it to daily.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sweepwidget.com\/docs\/secret-code-entry-methods\" \/>\n<meta property=\"og:site_name\" content=\"SweepWidget Help Docs\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-10T15:30:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-19T10:30:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2020\/05\/secret-code.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2245\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"SweepWidget\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"SweepWidget\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/secret-code-entry-methods#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/secret-code-entry-methods\"},\"author\":{\"name\":\"SweepWidget\",\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/#\\\/schema\\\/person\\\/4cca2bc9c600116750eca1bfff6648e0\"},\"headline\":\"Secret Code Entry Methods\",\"datePublished\":\"2020-05-10T15:30:40+00:00\",\"dateModified\":\"2026-11-19T10:30:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/secret-code-entry-methods\"},\"wordCount\":234,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/secret-code-entry-methods#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/secret-code-1024x308.jpg\",\"articleSection\":[\"Entry Methods\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/secret-code-entry-methods\",\"url\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/secret-code-entry-methods\",\"name\":\"Secret Code Entry Method | SweepWidget\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/secret-code-entry-methods#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/secret-code-entry-methods#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/secret-code-1024x308.jpg\",\"datePublished\":\"2020-05-10T15:30:40+00:00\",\"dateModified\":\"2026-11-19T10:30:52+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/#\\\/schema\\\/person\\\/4cca2bc9c600116750eca1bfff6648e0\"},\"description\":\"Learn how to setup a giveaway that allows secret codes using SweepWidget. Enable the option to only accept correct codes and set it to daily.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/secret-code-entry-methods#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/secret-code-entry-methods\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/secret-code-entry-methods#primaryimage\",\"url\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/secret-code.jpg\",\"contentUrl\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/secret-code.jpg\",\"width\":2245,\"height\":675},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/secret-code-entry-methods#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Secret Code Entry Methods\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/#website\",\"url\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/\",\"name\":\"SweepWidget Help Docs\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/#\\\/schema\\\/person\\\/4cca2bc9c600116750eca1bfff6648e0\",\"name\":\"SweepWidget\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d91c2f57672b440838a4205ff021607b3d77efd9ac80a80984ce065da067e51e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d91c2f57672b440838a4205ff021607b3d77efd9ac80a80984ce065da067e51e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d91c2f57672b440838a4205ff021607b3d77efd9ac80a80984ce065da067e51e?s=96&d=mm&r=g\",\"caption\":\"SweepWidget\"},\"sameAs\":[\"https:\\\/\\\/sweepwidget.com\\\/docs\"],\"url\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/author\\\/sweepwidget\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Secret Code Entry Method | SweepWidget","description":"Learn how to setup a giveaway that allows secret codes using SweepWidget. Enable the option to only accept correct codes and set it to daily.","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:\/\/sweepwidget.com\/docs\/secret-code-entry-methods","og_locale":"en_US","og_type":"article","og_title":"Secret Code Entry Method | SweepWidget","og_description":"Learn how to setup a giveaway that allows secret codes using SweepWidget. Enable the option to only accept correct codes and set it to daily.","og_url":"https:\/\/sweepwidget.com\/docs\/secret-code-entry-methods","og_site_name":"SweepWidget Help Docs","article_published_time":"2020-05-10T15:30:40+00:00","article_modified_time":"2026-11-19T10:30:52+00:00","og_image":[{"width":2245,"height":675,"url":"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2020\/05\/secret-code.jpg","type":"image\/jpeg"}],"author":"SweepWidget","twitter_card":"summary_large_image","twitter_misc":{"Written by":"SweepWidget","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sweepwidget.com\/docs\/secret-code-entry-methods#article","isPartOf":{"@id":"https:\/\/sweepwidget.com\/docs\/secret-code-entry-methods"},"author":{"name":"SweepWidget","@id":"https:\/\/sweepwidget.com\/docs\/#\/schema\/person\/4cca2bc9c600116750eca1bfff6648e0"},"headline":"Secret Code Entry Methods","datePublished":"2020-05-10T15:30:40+00:00","dateModified":"2026-11-19T10:30:52+00:00","mainEntityOfPage":{"@id":"https:\/\/sweepwidget.com\/docs\/secret-code-entry-methods"},"wordCount":234,"commentCount":0,"image":{"@id":"https:\/\/sweepwidget.com\/docs\/secret-code-entry-methods#primaryimage"},"thumbnailUrl":"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2020\/05\/secret-code-1024x308.jpg","articleSection":["Entry Methods"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/sweepwidget.com\/docs\/secret-code-entry-methods","url":"https:\/\/sweepwidget.com\/docs\/secret-code-entry-methods","name":"Secret Code Entry Method | SweepWidget","isPartOf":{"@id":"https:\/\/sweepwidget.com\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sweepwidget.com\/docs\/secret-code-entry-methods#primaryimage"},"image":{"@id":"https:\/\/sweepwidget.com\/docs\/secret-code-entry-methods#primaryimage"},"thumbnailUrl":"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2020\/05\/secret-code-1024x308.jpg","datePublished":"2020-05-10T15:30:40+00:00","dateModified":"2026-11-19T10:30:52+00:00","author":{"@id":"https:\/\/sweepwidget.com\/docs\/#\/schema\/person\/4cca2bc9c600116750eca1bfff6648e0"},"description":"Learn how to setup a giveaway that allows secret codes using SweepWidget. Enable the option to only accept correct codes and set it to daily.","breadcrumb":{"@id":"https:\/\/sweepwidget.com\/docs\/secret-code-entry-methods#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sweepwidget.com\/docs\/secret-code-entry-methods"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sweepwidget.com\/docs\/secret-code-entry-methods#primaryimage","url":"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2020\/05\/secret-code.jpg","contentUrl":"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2020\/05\/secret-code.jpg","width":2245,"height":675},{"@type":"BreadcrumbList","@id":"https:\/\/sweepwidget.com\/docs\/secret-code-entry-methods#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sweepwidget.com\/docs\/"},{"@type":"ListItem","position":2,"name":"Secret Code Entry Methods"}]},{"@type":"WebSite","@id":"https:\/\/sweepwidget.com\/docs\/#website","url":"https:\/\/sweepwidget.com\/docs\/","name":"SweepWidget Help Docs","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sweepwidget.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/sweepwidget.com\/docs\/#\/schema\/person\/4cca2bc9c600116750eca1bfff6648e0","name":"SweepWidget","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d91c2f57672b440838a4205ff021607b3d77efd9ac80a80984ce065da067e51e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d91c2f57672b440838a4205ff021607b3d77efd9ac80a80984ce065da067e51e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d91c2f57672b440838a4205ff021607b3d77efd9ac80a80984ce065da067e51e?s=96&d=mm&r=g","caption":"SweepWidget"},"sameAs":["https:\/\/sweepwidget.com\/docs"],"url":"https:\/\/sweepwidget.com\/docs\/author\/sweepwidget"}]}},"_links":{"self":[{"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/posts\/571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/comments?post=571"}],"version-history":[{"count":5,"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/posts\/571\/revisions"}],"predecessor-version":[{"id":7876,"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/posts\/571\/revisions\/7876"}],"wp:attachment":[{"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/media?parent=571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/categories?post=571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/tags?post=571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}