{"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-01-18T04:21:40","modified_gmt":"2026-01-18T04:21:40","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":"\n<p>After you save and publish your giveaway, you&#8217;ll be taken to the &#8220;Your Giveaway is Ready!&#8221; page. This page provides all the options for sharing, embedding, and customizing how your giveaway is displayed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to Get to This Page<\/strong><\/h2>\n\n\n\n<p>You&#8217;ll reach the &#8220;Your Giveaway is Ready!&#8221; page in two ways:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>After creating a new giveaway:<\/strong> Click <strong>Save &amp; Publish<\/strong> at the bottom of the giveaway builder<\/li>\n\n\n\n<li><strong>From an existing giveaway:<\/strong> From your Dashboard, find the giveaway and click <strong>Embed Into Your Website<\/strong> or <strong>Embed Into HTML Of Your Site<\/strong><\/li>\n<\/ol>\n\n\n\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\n\n\n<h2 class=\"wp-block-heading\"><strong>Page Overview<\/strong><\/h2>\n\n\n\n<p>The page displays a message: <em>&#8220;You can edit it anytime before or while it&#8217;s running.&#8221;<\/em><\/p>\n\n\n\n<p>At the top, you&#8217;ll see three action buttons:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Make Changes<\/strong> \u2013 Return to the giveaway builder to edit settings<\/li>\n\n\n\n<li><strong>View Hosted Landing Page<\/strong> \u2013 Open your free SweepWidget-hosted giveaway page<\/li>\n\n\n\n<li><strong>View your live giveaway<\/strong> \u2013 Preview the live giveaway widget<\/li>\n<\/ul>\n\n\n\n<p>On the right side, you&#8217;ll see a <strong>live preview<\/strong> of your giveaway widget showing how it will appear to participants.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Embedding Options<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Quick-Embed into Your Shopify Store<\/strong><\/h3>\n\n\n\n<p>If you&#8217;re using Shopify, this is the fastest way to add your giveaway:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Enter a page name\/URL slug (e.g., &#8220;woocommerce-template&#8221;)<\/li>\n\n\n\n<li>Click <strong>Create Page &amp; Embed<\/strong><\/li>\n\n\n\n<li>SweepWidget will automatically create a new page in your Shopify store with the giveaway embedded<\/li>\n<\/ol>\n\n\n\n<p>The URL will be: <code>your-store.myshopify.com\/pages\/[your-page-name]<\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Embed Into Your Store (Using HTML)<\/strong><\/h3>\n\n\n\n<p>For any website (WordPress, Squarespace, Wix, custom HTML, etc.), copy the embed code snippet and paste it into your page&#8217;s HTML.<\/p>\n\n\n\n<p>The embed code looks like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;div id=\"82760-d97i26tq\" class=\"sw_container\"&gt;&lt;script type=\"text\/javascript\" src=\"https:\/\/sweepwidget.com\/w\/j\/w_init.js\"&gt;&lt;\/script&gt;&lt;\/div&gt;<\/code><\/pre>\n\n\n\n<p>Click <strong>View instructions<\/strong> for detailed embedding guides for different platforms.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Turn Giveaway Into a Popup<\/strong><\/h2>\n\n\n\n<p>You can display your giveaway as a modal popup that appears after a delay. This is great for capturing attention without requiring visitors to navigate to a dedicated page.<\/p>\n\n\n\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\n\n\n<h3 class=\"wp-block-heading\"><strong>How to Enable Popup Mode<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Check the box <strong>&#8220;Turn giveaway into a popup&#8221;<\/strong><\/li>\n\n\n\n<li>Set <strong>&#8220;How many seconds delay until the widget pops up?&#8221;<\/strong> (e.g., 3 seconds)<\/li>\n\n\n\n<li>Copy the updated embed code (it will now include popup attributes)<\/li>\n\n\n\n<li>Paste the new embed code into your website<\/li>\n<\/ol>\n\n\n\n<p>The popup embed code includes special attributes:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;div id=\"82760-d97i26tq\" class=\"sw_container\"   data-if-widget-popup=\"1\"   data-widget-popup-delay=\"3\"&gt;  &lt;script type=\"text\/javascript\" src=\"https:\/\/sweepwidget.com\/w\/j\/w_init.js\"&gt;&lt;\/script&gt;&lt;\/div&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>data-if-widget-popup=\"1\"<\/code> \u2013 Enables popup mode<\/li>\n\n\n\n<li><code>data-widget-popup-delay=\"3\"<\/code> \u2013 Sets the delay in seconds before the popup appears<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>How the Popup Works for Visitors<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The popup appears after the specified delay (e.g., 3 seconds after page load)<\/li>\n\n\n\n<li>The giveaway displays in a centered modal overlay<\/li>\n\n\n\n<li>Visitors can close the popup by clicking the <strong>X<\/strong> in the top right corner<\/li>\n\n\n\n<li>The background is dimmed to focus attention on the giveaway<\/li>\n<\/ul>\n\n\n\n<p><strong>Important:<\/strong> If you&#8217;re using Shopify, after enabling popup mode you must click <strong>&#8220;Update Page URL On Shopify Store&#8221;<\/strong> or <strong>&#8220;Add Giveaway To Shopify Store&#8221;<\/strong> button for the changes to take effect.<\/p>\n\n\n\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\n\n\n<h2 class=\"wp-block-heading\"><strong>Hosted Landing Page<\/strong><\/h2>\n\n\n\n<p>SweepWidget provides a free hosted landing page for every giveaway. This is perfect if you don&#8217;t have a website or want a quick shareable link.<\/p>\n\n\n\n<p>Your hosted page URL looks like: <code>https:\/\/sweepwidget.com\/c\/82760-d97i26tq<\/code><\/p>\n\n\n\n<p>Click <strong>&#8220;View hosted page here&#8221;<\/strong> to open it in a new tab.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Additional Hosted Page Options<\/strong><\/h3>\n\n\n\n<p>Below the hosted page URL, you&#8217;ll find two optional features:<\/p>\n\n\n\n<p><strong>Get a sharable QR code<\/strong><\/p>\n\n\n\n<p>Check this box to generate a QR code that links to your hosted landing page. Great for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Printed marketing materials (flyers, posters, business cards)<\/li>\n\n\n\n<li>In-store displays<\/li>\n\n\n\n<li>Event signage<\/li>\n\n\n\n<li>Product packaging<\/li>\n<\/ul>\n\n\n\n<p><strong>Create a custom URL for the hosted landing page<\/strong><\/p>\n\n\n\n<p>Instead of the default URL with random characters, create a branded, memorable URL like: <code>https:\/\/sweepwidget.com\/c\/summer-giveaway-2026<\/code><\/p>\n\n\n\n<p><em>Note: Custom URLs require a Premium plan or higher.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Tips for Using Popup Mode<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Set an appropriate delay<\/strong> \u2013 3-5 seconds gives visitors time to orient themselves before the popup appears<\/li>\n\n\n\n<li><strong>Don&#8217;t use on every page<\/strong> \u2013 Consider only showing the popup on specific landing pages to avoid annoying visitors<\/li>\n\n\n\n<li><strong>Test on mobile<\/strong> \u2013 Make sure the popup looks good and is easy to close on mobile devices<\/li>\n\n\n\n<li><strong>Update your embed code<\/strong> \u2013 If you previously embedded without popup mode, you must replace the old code with the new popup-enabled code<\/li>\n\n\n\n<li><strong>Consider user experience<\/strong> \u2013 Popups can be effective but use them thoughtfully to avoid disrupting the browsing experience<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>After you save and publish your giveaway, you&#8217;ll be taken to the &#8220;Your Giveaway is Ready!&#8221; page. This page provides all the options for sharing, embedding, and customizing how your giveaway is displayed. How to Get to This Page You&#8217;ll reach the &#8220;Your Giveaway is Ready!&#8221; page in two ways: Page Overview The page displays a message: &#8220;You can edit it anytime before or while it&#8217;s running.&#8221; At the top, you&#8217;ll see three action buttons: On the right side, you&#8217;ll see a live preview of your giveaway widget showing how it will appear to participants. Embedding Options Quick-Embed into Your Shopify Store If you&#8217;re using Shopify, this is the fastest way to add your giveaway: The URL will be: your-store.myshopify.com\/pages\/[your-page-name] Embed Into Your Store (Using HTML) For any website (WordPress, Squarespace, Wix, custom HTML, etc.), copy the embed code snippet and paste it into your page&#8217;s HTML. The embed code looks like this: Click View instructions for detailed embedding guides for different platforms. Turn Giveaway Into a Popup You can display your giveaway as a modal popup that appears after a delay. This is great for capturing attention without requiring visitors to navigate to a dedicated page. How to Enable Popup Mode The popup embed code includes special attributes: How the Popup Works for Visitors Important: If you&#8217;re using Shopify, after enabling popup mode you must click &#8220;Update Page URL On Shopify Store&#8221; or &#8220;Add Giveaway To Shopify Store&#8221; button for the changes to take effect. Hosted Landing Page SweepWidget provides a free hosted landing page for every giveaway. This is perfect if you don&#8217;t have a website or want a quick shareable link. Your hosted page URL looks like: https:\/\/sweepwidget.com\/c\/82760-d97i26tq Click &#8220;View hosted page here&#8221; to open it in a new tab. Additional Hosted Page Options Below the hosted page URL, you&#8217;ll find two optional features: Get a sharable QR code Check this box to generate a QR code that links to your hosted landing page. Great for: Create a custom URL for the hosted landing page Instead of the default URL with random characters, create a branded, memorable URL like: https:\/\/sweepwidget.com\/c\/summer-giveaway-2026 Note: Custom URLs require a Premium plan or higher. Tips for Using Popup Mode<\/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 v27.3 - 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-01-18T04:21:40+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-01-18T04:21:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/sweepwidget.com\\\/docs\\\/turn-widget-into-a-modal-popup-in-embedded-pages\"},\"wordCount\":681,\"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-01-18T04:21:40+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\\\/08ae098bc2290a9a645af1c26ddd7704f98d09c88bf65a55b5c4bc1e585f31f4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/08ae098bc2290a9a645af1c26ddd7704f98d09c88bf65a55b5c4bc1e585f31f4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/08ae098bc2290a9a645af1c26ddd7704f98d09c88bf65a55b5c4bc1e585f31f4?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-01-18T04:21:40+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-01-18T04:21:40+00:00","mainEntityOfPage":{"@id":"https:\/\/sweepwidget.com\/docs\/turn-widget-into-a-modal-popup-in-embedded-pages"},"wordCount":681,"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-01-18T04:21:40+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\/08ae098bc2290a9a645af1c26ddd7704f98d09c88bf65a55b5c4bc1e585f31f4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/08ae098bc2290a9a645af1c26ddd7704f98d09c88bf65a55b5c4bc1e585f31f4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/08ae098bc2290a9a645af1c26ddd7704f98d09c88bf65a55b5c4bc1e585f31f4?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":9,"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/posts\/1782\/revisions"}],"predecessor-version":[{"id":7259,"href":"https:\/\/sweepwidget.com\/docs\/wp-json\/wp\/v2\/posts\/1782\/revisions\/7259"}],"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}]}}