{"id":1782,"date":"2022-09-02T10:41:52","date_gmt":"2022-09-02T10:41:52","guid":{"rendered":"https:\/\/sweepwidget.com\/docs\/?p=1782"},"modified":"2026-11-19T10:28:50","modified_gmt":"2026-11-19T10:28:50","slug":"turn-widget-into-a-modal-popup-in-embedded-pages","status":"publish","type":"post","link":"https:\/\/sweepwidget.com\/docs\/turn-widget-into-a-modal-popup-in-embedded-pages","title":{"rendered":"Turn Widget Into a Modal Popup in Embedded Pages"},"content":{"rendered":"<p>After you publish your giveaway you land on the &#8220;Your Giveaway is Ready!&#8221; page. It has all the options for sharing, embedding and showing your giveaway.<\/p>\n<h2 id=\"how-to-get-to-this-page\">How to get to this page<\/h2>\n<ul>\n<li>After creating a new giveaway: click <strong>Publish<\/strong> at the bottom of the builder.<\/li>\n<li>For an existing giveaway: open it from your Dashboard (<strong>Edit<\/strong>) and click <strong>Save Changes<\/strong>.<\/li>\n<\/ul>\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"596\" src=\"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2022\/09\/modal-popup-1-1024x596.png\" alt=\"\" class=\"wp-image-7214\" srcset=\"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2022\/09\/modal-popup-1-1024x596.png 1024w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2022\/09\/modal-popup-1-300x175.png 300w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2022\/09\/modal-popup-1-768x447.png 768w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2022\/09\/modal-popup-1.png 1500w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<h2 id=\"page-overview\">Page overview<\/h2>\n<p>The page says &#8220;You can edit it anytime before or while it&#8217;s running.&#8221; At the top there are two buttons:<\/p>\n<ul>\n<li><strong>View Live Giveaway<\/strong>: opens your giveaway&#8217;s hosted landing page.<\/li>\n<li><strong>Make Changes<\/strong>: returns to the builder.<\/li>\n<\/ul>\n<p>A live preview of your giveaway is on the right.<\/p>\n<h2 id=\"embedding-options\">Embedding options<\/h2>\n<h3 id=\"quick-embed-into-your-shopify-store\">Quick-embed into your Shopify store<\/h3>\n<p>If your account is connected to Shopify:<\/p>\n<ol type=\"1\">\n<li>Enter a page name (the end of the page address, for example &#8220;summer-giveaway&#8221;).<\/li>\n<li>Click <strong>Create Page &amp; Embed<\/strong>.<\/li>\n<li>SweepWidget creates a new page in your Shopify store with the giveaway embedded. If a page with that address already exists, it is overwritten.<\/li>\n<\/ol>\n<p>The page address is <code>your-store\/pages\/[page-name]<\/code>.<\/p>\n<h3 id=\"embed-into-your-website-html\">Embed into your website (HTML)<\/h3>\n<p>For any website (WordPress, Squarespace, Wix, custom HTML and so on), copy the embed code and paste it into your page&#8217;s HTML:<\/p>\n<pre class=\"html\"><code>&lt;div id=&quot;82760-d97i26tq&quot; class=&quot;sw_container&quot;&gt;&lt;script type=&quot;text\/javascript&quot; src=&quot;https:\/\/sweepwidget.com\/w\/j\/w_init.js&quot;&gt;&lt;\/script&gt;&lt;\/div&gt;<\/code><\/pre>\n<p>Click <strong>View instructions<\/strong> for platform guides.<\/p>\n<h3 id=\"wordpress-shortcode\">WordPress shortcode<\/h3>\n<p>Copy the shortcode in <strong>Embed Into WordPress Site<\/strong>, for example <code>[sweepwidget id=\"82760\" url=\"d97i26tq\"]<\/code>, into any post or page.<\/p>\n<h2 id=\"turn-the-giveaway-into-a-popup\">Turn the giveaway into a popup<\/h2>\n<p>Plan required: Pro or higher.<\/p>\n<p>The giveaway can appear as a modal popup after a delay, which catches attention without sending visitors to another page.<\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"567\" src=\"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2022\/09\/modal-popup-3-1024x567.png\" alt=\"\" class=\"wp-image-7215\" srcset=\"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2022\/09\/modal-popup-3-1024x567.png 1024w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2022\/09\/modal-popup-3-300x166.png 300w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2022\/09\/modal-popup-3-768x425.png 768w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2022\/09\/modal-popup-3.png 1500w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<h3 id=\"how-to-enable-popup-mode\">How to enable popup mode<\/h3>\n<ol type=\"1\">\n<li>Tick <strong>Turn giveaway into a popup<\/strong>.<\/li>\n<li>Under &#8220;How many seconds delay until the widget pops up?&#8221;, enter a whole number from 1 to 600 (for example 3).<\/li>\n<li>Copy the updated embed code. It now includes the popup attributes.<\/li>\n<li>Paste the new embed code into your website, replacing the old one.<\/li>\n<\/ol>\n<p>Unticking the box returns the code to the normal embed.<\/p>\n<p>The popup embed code looks like this:<\/p>\n<pre class=\"html\"><code>&lt;div id=&quot;82760-d97i26tq&quot; class=&quot;sw_container&quot; data-if-widget-popup=&quot;1&quot; data-widget-popup-delay=&quot;3&quot;&gt;&lt;script type=&quot;text\/javascript&quot; src=&quot;https:\/\/sweepwidget.com\/w\/j\/w_init.js&quot;&gt;&lt;\/script&gt;&lt;\/div&gt;<\/code><\/pre>\n<ul>\n<li><code>data-if-widget-popup=\"1\"<\/code> turns on popup mode.<\/li>\n<li><code>data-widget-popup-delay=\"3\"<\/code> sets the delay in seconds before the popup appears.<\/li>\n<\/ul>\n<p>On Shopify, after you change popup mode, click <strong>Create Page &amp; Embed<\/strong> (or <strong>Embed on Shopify With This URL<\/strong> if the page already exists) so the store page gets the change.<\/p>\n<h3 id=\"how-the-popup-works-for-visitors\">How the popup works for visitors<\/h3>\n<ul>\n<li>The popup appears after the delay you set (for example 3 seconds after the page loads). The page scrolls to the top when it opens.<\/li>\n<li>The giveaway shows in a centered overlay.<\/li>\n<li>Visitors close the popup with the X in the top right corner.<\/li>\n<li>The background is dimmed to focus attention on the giveaway.<\/li>\n<\/ul>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"563\" src=\"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2022\/09\/modal-popup-2-1024x563.png\" alt=\"\" class=\"wp-image-7216\" srcset=\"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2022\/09\/modal-popup-2-1024x563.png 1024w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2022\/09\/modal-popup-2-300x165.png 300w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2022\/09\/modal-popup-2-768x422.png 768w, https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2022\/09\/modal-popup-2.png 1500w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<h2 id=\"hosted-landing-page\">Hosted landing page<\/h2>\n<p>Every giveaway has a free hosted landing page. It is useful if you have no website or want a quick shareable link.<\/p>\n<p>The address looks like <code>https:\/\/sweepwidget.com\/c\/82760-d97i26tq<\/code>. Click <strong>View hosted page here<\/strong> to open it in a new tab.<\/p>\n<h3 id=\"more-hosted-page-options\">More hosted page options<\/h3>\n<h4 id=\"get-a-sharable-qr-code\">Get a sharable QR code<\/h4>\n<p>Tick this to generate a QR code that links to your hosted landing page. Good for printed materials, in-store displays, event signage and product packaging.<\/p>\n<h4 id=\"create-a-custom-url-for-the-hosted-landing-page\">Create a custom URL for the hosted landing page<\/h4>\n<p>Replace the default address with a branded one such as <code>https:\/\/sweepwidget.com\/c\/summer-giveaway-2026<\/code>. Requires Premium or higher.<\/p>\n<h2 id=\"tips-for-popup-mode\">Tips for popup mode<\/h2>\n<ul>\n<li>Set a sensible delay. 3-5 seconds gives visitors time to look around first.<\/li>\n<li>Do not use it on every page. Show it on selected pages so visitors are not annoyed.<\/li>\n<li>Test on mobile. Make sure it looks good and is easy to close.<\/li>\n<li>Replace the old embed code. If you embedded without popup mode before, the page keeps showing the old widget until you paste the new code.<\/li>\n<li>Use popups thoughtfully so they do not disrupt browsing.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>After you publish your giveaway you land on the &#8220;Your Giveaway is Ready!&#8221; page. It has all the options for sharing, embedding and showing your giveaway. How to get to this page After creating a new giveaway: click Publish at the bottom of the builder. For an existing giveaway: open it from your Dashboard (Edit) and click Save Changes. Page overview The page says &#8220;You can edit it anytime before or while it&#8217;s running.&#8221; At the top there are two buttons: View Live Giveaway: opens your giveaway&#8217;s hosted landing page. Make Changes: returns to the builder. A live preview of your giveaway is on the right. Embedding options Quick-embed into your Shopify store If your account is connected to Shopify: Enter a page name (the end of the page address, for example &#8220;summer-giveaway&#8221;). Click Create Page &amp; Embed. SweepWidget creates a new page in your Shopify store with the giveaway embedded. If a page with that address already exists, it is overwritten. The page address is your-store\/pages\/[page-name]. Embed into your website (HTML) For any website (WordPress, Squarespace, Wix, custom HTML and so on), copy the embed code and paste it into your page&#8217;s HTML: &lt;div id=&quot;82760-d97i26tq&quot; class=&quot;sw_container&quot;&gt;&lt;script type=&quot;text\/javascript&quot; src=&quot;https:\/\/sweepwidget.com\/w\/j\/w_init.js&quot;&gt;&lt;\/script&gt;&lt;\/div&gt; Click View instructions for platform guides. WordPress shortcode Copy the shortcode in Embed Into WordPress Site, for example [sweepwidget id=&#8221;82760&#8243; url=&#8221;d97i26tq&#8221;], into any post or page. Turn the giveaway into a popup Plan required: Pro or higher. The giveaway can appear as a modal popup after a delay, which catches attention without sending visitors to another page. How to enable popup mode Tick Turn giveaway into a popup. Under &#8220;How many seconds delay until the widget pops up?&#8221;, enter a whole number from 1 to 600 (for example 3). Copy the updated embed code. It now includes the popup attributes. Paste the new embed code into your website, replacing the old one. Unticking the box returns the code to the normal embed. The popup embed code looks like this: &lt;div id=&quot;82760-d97i26tq&quot; class=&quot;sw_container&quot; data-if-widget-popup=&quot;1&quot; data-widget-popup-delay=&quot;3&quot;&gt;&lt;script type=&quot;text\/javascript&quot; src=&quot;https:\/\/sweepwidget.com\/w\/j\/w_init.js&quot;&gt;&lt;\/script&gt;&lt;\/div&gt; data-if-widget-popup=&#8221;1&#8243; turns on popup mode. data-widget-popup-delay=&#8221;3&#8243; sets the delay in seconds before the popup appears. On Shopify, after you change popup mode, click Create Page &amp; Embed (or Embed on Shopify With This URL if the page already exists) so the store page gets the change. How the popup works for visitors The popup appears after the delay you set (for example 3 seconds after the page loads). The page scrolls to the top when it opens. The giveaway shows in a centered overlay. Visitors close the popup with the X in the top right corner. The background is dimmed to focus attention on the giveaway. Hosted landing page Every giveaway has a free hosted landing page. It is useful if you have no website or want a quick shareable link. The address looks like https:\/\/sweepwidget.com\/c\/82760-d97i26tq. Click View hosted page here to open it in a new tab. More hosted page options Get a sharable QR code Tick this to generate a QR code that links to your hosted landing page. Good for printed materials, in-store displays, event signage and product packaging. Create a custom URL for the hosted landing page Replace the default address with a branded one such as https:\/\/sweepwidget.com\/c\/summer-giveaway-2026. Requires Premium or higher. Tips for popup mode Set a sensible delay. 3-5 seconds gives visitors time to look around first. Do not use it on every page. Show it on selected pages so visitors are not annoyed. Test on mobile. Make sure it looks good and is easy to close. Replace the old embed code. If you embedded without popup mode before, the page keeps showing the old widget until you paste the new code. Use popups thoughtfully so they do not disrupt browsing.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1782","post","type-post","status-publish","format-standard","hentry","category-how-to"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Turn widget into a modal popup in embedded pages<\/title>\n<meta name=\"description\" content=\"Learn how to turn your giveaway widget into a modal popup in embedded pages. You can easily set a delay so it will pop up after a certain amount of seconds.\" \/>\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\/turn-widget-into-a-modal-popup-in-embedded-pages\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Turn widget into a modal popup in embedded pages\" \/>\n<meta property=\"og:description\" content=\"Learn how to turn your giveaway widget into a modal popup in embedded pages. You can easily set a delay so it will pop up after a certain amount of seconds.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sweepwidget.com\/docs\/turn-widget-into-a-modal-popup-in-embedded-pages\" \/>\n<meta property=\"og:site_name\" content=\"SweepWidget Help Docs\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-02T10:41:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-19T10:28:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2022\/09\/modal-popup-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1500\" \/>\n\t<meta property=\"og:image:height\" content=\"873\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/turn-widget-into-a-modal-popup-in-embedded-pages#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/turn-widget-into-a-modal-popup-in-embedded-pages\"},\"author\":{\"name\":\"SweepWidget\",\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/#\\\/schema\\\/person\\\/4cca2bc9c600116750eca1bfff6648e0\"},\"headline\":\"Turn Widget Into a Modal Popup in Embedded Pages\",\"datePublished\":\"2022-09-02T10:41:52+00:00\",\"dateModified\":\"2026-11-19T10:28:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/turn-widget-into-a-modal-popup-in-embedded-pages\"},\"wordCount\":610,\"image\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/turn-widget-into-a-modal-popup-in-embedded-pages#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/modal-popup-1-1024x596.png\",\"articleSection\":[\"How To\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/turn-widget-into-a-modal-popup-in-embedded-pages\",\"url\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/turn-widget-into-a-modal-popup-in-embedded-pages\",\"name\":\"Turn widget into a modal popup in embedded pages\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/turn-widget-into-a-modal-popup-in-embedded-pages#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/turn-widget-into-a-modal-popup-in-embedded-pages#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/modal-popup-1-1024x596.png\",\"datePublished\":\"2022-09-02T10:41:52+00:00\",\"dateModified\":\"2026-11-19T10:28:50+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/#\\\/schema\\\/person\\\/4cca2bc9c600116750eca1bfff6648e0\"},\"description\":\"Learn how to turn your giveaway widget into a modal popup in embedded pages. You can easily set a delay so it will pop up after a certain amount of seconds.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/turn-widget-into-a-modal-popup-in-embedded-pages#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/turn-widget-into-a-modal-popup-in-embedded-pages\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/turn-widget-into-a-modal-popup-in-embedded-pages#primaryimage\",\"url\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/modal-popup-1.png\",\"contentUrl\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/modal-popup-1.png\",\"width\":1500,\"height\":873},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/turn-widget-into-a-modal-popup-in-embedded-pages#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Turn Widget Into a Modal Popup in Embedded Pages\"}]},{\"@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":"Turn widget into a modal popup in embedded pages","description":"Learn how to turn your giveaway widget into a modal popup in embedded pages. You can easily set a delay so it will pop up after a certain amount of seconds.","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\/turn-widget-into-a-modal-popup-in-embedded-pages","og_locale":"en_US","og_type":"article","og_title":"Turn widget into a modal popup in embedded pages","og_description":"Learn how to turn your giveaway widget into a modal popup in embedded pages. You can easily set a delay so it will pop up after a certain amount of seconds.","og_url":"https:\/\/sweepwidget.com\/docs\/turn-widget-into-a-modal-popup-in-embedded-pages","og_site_name":"SweepWidget Help Docs","article_published_time":"2022-09-02T10:41:52+00:00","article_modified_time":"2026-11-19T10:28:50+00:00","og_image":[{"width":1500,"height":873,"url":"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2022\/09\/modal-popup-1.png","type":"image\/png"}],"author":"SweepWidget","twitter_card":"summary_large_image","twitter_misc":{"Written by":"SweepWidget","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sweepwidget.com\/docs\/turn-widget-into-a-modal-popup-in-embedded-pages#article","isPartOf":{"@id":"https:\/\/sweepwidget.com\/docs\/turn-widget-into-a-modal-popup-in-embedded-pages"},"author":{"name":"SweepWidget","@id":"https:\/\/sweepwidget.com\/docs\/#\/schema\/person\/4cca2bc9c600116750eca1bfff6648e0"},"headline":"Turn Widget Into a Modal Popup in Embedded Pages","datePublished":"2022-09-02T10:41:52+00:00","dateModified":"2026-11-19T10:28:50+00:00","mainEntityOfPage":{"@id":"https:\/\/sweepwidget.com\/docs\/turn-widget-into-a-modal-popup-in-embedded-pages"},"wordCount":610,"image":{"@id":"https:\/\/sweepwidget.com\/docs\/turn-widget-into-a-modal-popup-in-embedded-pages#primaryimage"},"thumbnailUrl":"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2022\/09\/modal-popup-1-1024x596.png","articleSection":["How To"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/sweepwidget.com\/docs\/turn-widget-into-a-modal-popup-in-embedded-pages","url":"https:\/\/sweepwidget.com\/docs\/turn-widget-into-a-modal-popup-in-embedded-pages","name":"Turn widget into a modal popup in embedded pages","isPartOf":{"@id":"https:\/\/sweepwidget.com\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sweepwidget.com\/docs\/turn-widget-into-a-modal-popup-in-embedded-pages#primaryimage"},"image":{"@id":"https:\/\/sweepwidget.com\/docs\/turn-widget-into-a-modal-popup-in-embedded-pages#primaryimage"},"thumbnailUrl":"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2022\/09\/modal-popup-1-1024x596.png","datePublished":"2022-09-02T10:41:52+00:00","dateModified":"2026-11-19T10:28:50+00:00","author":{"@id":"https:\/\/sweepwidget.com\/docs\/#\/schema\/person\/4cca2bc9c600116750eca1bfff6648e0"},"description":"Learn how to turn your giveaway widget into a modal popup in embedded pages. You can easily set a delay so it will pop up after a certain amount of seconds.","breadcrumb":{"@id":"https:\/\/sweepwidget.com\/docs\/turn-widget-into-a-modal-popup-in-embedded-pages#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sweepwidget.com\/docs\/turn-widget-into-a-modal-popup-in-embedded-pages"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sweepwidget.com\/docs\/turn-widget-into-a-modal-popup-in-embedded-pages#primaryimage","url":"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2022\/09\/modal-popup-1.png","contentUrl":"https:\/\/sweepwidget.com\/docs\/wp-content\/uploads\/2022\/09\/modal-popup-1.png","width":1500,"height":873},{"@type":"BreadcrumbList","@id":"https:\/\/sweepwidget.com\/docs\/turn-widget-into-a-modal-popup-in-embedded-pages#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sweepwidget.com\/docs\/"},{"@type":"ListItem","position":2,"name":"Turn Widget Into a Modal Popup in Embedded Pages"}]},{"@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\/1782","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=1782"}],"version-history":[{"count":10,"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/posts\/1782\/revisions"}],"predecessor-version":[{"id":7810,"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/posts\/1782\/revisions\/7810"}],"wp:attachment":[{"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/media?parent=1782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/categories?post=1782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/tags?post=1782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}