CINXE.COM

SweepWidget Try It Out

<!DOCTYPE html> <html data-wf-page="61cdea1aec15b53a75e7dfc9" data-wf-site="61cdea1aec15b5810ce7dfc5"> <head> <title>SweepWidget Try It Out</title> <meta name="description" content="Give SweepWidget a test run. Try it out with this example giveaway." /> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.13.3/jquery-ui.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script> <script type="text/javascript"> var _iub = _iub || []; _iub.csConfiguration = { "askConsentAtCookiePolicyUpdate": true, "countryDetection": true, "enableUspr": true, "floatingPreferencesButtonDisplay": "bottom-left", "lang": "en", "perPurposeConsent": true, "siteId": 2330500, "cookiePolicyId": 97690555, "i18n": { "en": { "banner": { "title": "Cookies Consent", "dynamic": { "body": "We and selected third parties collect personal information as specified in the privacy policy and use cookies or similar technologies for technical purposes and, with your consent, for other purposes as specified in the cookie policy. " } } } }, "cookiePolicyUrl": "https://sweepwidget.com/privacy-policy#cookies", "privacyPolicyUrl": "https://sweepwidget.com/privacy-policy", "privacyPolicyNoticeAtCollectionUrl": "https://sweepwidget.com/privacy-policy", "banner": { "acceptButtonCaptionColor": "white", "acceptButtonColor": "#4a3aff", "acceptButtonDisplay": true, "backgroundColor": "white", "closeButtonRejects": true, "customizeButtonCaptionColor": "#4D4D4D", "customizeButtonColor": "#DADADA", "customizeButtonDisplay": true, "explicitWithdrawal": true, "position": "float-bottom-left", "rejectButtonCaptionColor": "white", "rejectButtonColor": "#9EB1FF", "rejectButtonDisplay": true, "textColor": "#444", "customizeButtonCaption": "Customize" } }; </script> <!-- <script type="text/javascript" src="//cs.iubenda.com/sync/2330500.js"></script> <script type="text/javascript" src="//cdn.iubenda.com/cs/gpp/stub.js"></script> <script type="text/javascript" src="//cdn.iubenda.com/cs/iubenda_cs.js" charset="UTF-8" async></script> --> <script src="https://sweepwidget.com/external/ui/respond.js?v=553953386978" type="text/javascript"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/spectrum/1.8.1/spectrum.min.js" integrity="sha512-1aNp9qKP+hKU/VJwCtYqJP9tdZWbMDN5pEEXXoXT0pTAxZq1HHZhNBR/dtTNSrHO4U1FsFGGILbqG1O9nl8Mdg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> <script src="https://kit.fontawesome.com/decab28076.js" crossorigin="anonymous"></script> <script src="https://sweepwidget.com/js/build_edit_widget_functions.js?v=553953386978" type="text/javascript"></script> <script src="https://sweepwidget.com/js/build_edit_widget_live.js?v=553953386978" type="text/javascript"></script> <script src="https://sweepwidget.com/js/global.js?v=553953386978" type="text/javascript"></script> <!-- If Wordpress iframe plugin --> <!-- Privacy Consent by TermsFeed (https://www.termsfeed.com) --> <script type="text/javascript" src="https://cdn.termsfeedtag.com/plugins/pc/v1/5990901e9abb4a07af0ab36625b0dfd7/plugin.js" async></script> <!-- End Privacy Consent by TermsFeed (https://www.termsfeed.com) --> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <link href="https://fonts.googleapis.com/css?family=Rubik&display=swap" rel="stylesheet"> <link rel="icon" type="image/png" href="https://sweepwidgetmain.fra1.cdn.digitaloceanspaces.com/images/root/sweepwidget_logo_square_small_new.png"> <link rel="canonical" href="https://sweepwidget.com/test-run" /> <meta name="facebook-domain-verification" content="3e3a2t12kizejfmejfrz9lwr14mxbu" /> <!-- Add the slick-theme.css if you want default styling --> <link rel="stylesheet" type="text/css" href="https://sweepwidget.com/js/slick/slick.css" /> <!-- Add the slick-theme.css if you want default styling --> <link rel="stylesheet" type="text/css" href="https://sweepwidget.com/js/slick/slick-theme.css" /> <meta charset="utf-8"> <meta content="width=device-width, initial-scale=1" name="viewport"> <meta content="Webflow" name="generator"> <link href="https://sweepwidget.com/css/normalize.css" rel="stylesheet" type="text/css"> <link href="https://sweepwidget.com/css/webflow.css?v=553953386978" rel="stylesheet" type="text/css"> <link href="https://sweepwidget.com/css/sweepwidget.webflow.css?v=553953386978" rel="stylesheet" type="text/css"> <!-- [if lt IE 9]><script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js" type="text/javascript"></script><![endif] --> <link href="https://fonts.googleapis.com" rel="preconnect"> <link href="https://fonts.gstatic.com" rel="preconnect" crossorigin="anonymous"> <script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js" type="text/javascript"></script> <script type="text/javascript"> WebFont.load({ google: { families: ["Oswald:200,300,400,500,600,700", "Gothic A1:300,regular,500,600,700,800", "Rubik:300,regular,500,600,700,800,900"] } }); </script> <script type="text/javascript"> ! function(o, c) { var n = c.documentElement, t = " w-mod-"; n.className += t + "js", ("ontouchstart" in o || o.DocumentTouch && c instanceof DocumentTouch) && (n.className += t + "touch") }(window, document); </script> <!-- CSS for mobile menu hamburger lines --> <style> .slicknav_btn { background-image: url("https://sweepwidgetmain.fra1.cdn.digitaloceanspaces.com/images/root/lines_dark5.png"); } .simpay-modal .simpay-modal__content { padding-top: 45px; position: relative; background-color: #f5f5f7; position: relative; border-radius: 4px; } </style> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-X4DYREKQTQ"></script> <script> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'G-X4DYREKQTQ', { 'allow_google_signals': false, 'linker': { 'enabled': false, 'domains': [] } }); </script> </head> <body class="body"> <!-- Load FB SDK --> <div id="fb-root"></div> <script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js"></script> <script> window.fbAsyncInit = function() { FB.init({ appId: '723946844466921', cookie: false, xfbml: true, version: 'v20.0' }); FB.AppEvents.logPageView(); }; </script> <div class="body_inner"> <div data-collapse="medium" data-animation="default" data-duration="400" id="header" data-easing="ease" data-easing2="ease" role="banner" class="navbar-2 w-nav"> <div class="navigation-div"> <a href="https://sweepwidget.com" class="brand-3 w-nav-brand"><img src="https://sweepwidget.com/images/Artboard-14.1.png" sizes="(max-width: 479px) 100px, (max-width: 991px) 175px, 150px" srcset="images/Artboard-14.1-p-500.png 500w, images/Artboard-14.1-p-800.png 800w, images/Artboard-14.1.png 1290w" alt="" class="logo-2"></a> <nav role="navigation" class="nav-menu-2 w-nav-menu"> <a href="https://sweepwidget.com/test-run" class="nav-link w-nav-link">Try It</a> <a href="https://sweepwidget.com/features" class="nav-link w-nav-link">Features</a> <a href="https://sweepwidget.com/demo" class="nav-link w-nav-link">Demo</a> <a href="https://sweepwidget.com/blog" class="nav-link w-nav-link">Blog</a> <a href="https://sweepwidget.com/docs" class="nav-link w-nav-link">Help Docs</a> <a href="https://sweepwidget.com/pricing" class="nav-link w-nav-link">Pricing</a> <a href="https://sweepwidget.com/login" class="nav-link w-nav-link">Log in</a> <a href="https://sweepwidget.com/signup" class="nav-link sign-up w-nav-link">Sign up</a> </nav> <div class="menu-button-green w-nav-button"> <div class="icon-5 w-icon-nav-menu"></div> </div> </div> </div><style> .grid_l { width:40%; padding:0 5% 0 0; float:left; } .grid_r { width:55%; margin-top:-15px; text-align:center; display:block; float:left; } @media screen and (max-width: 991px) { .grid_l, .grid_r, .grid-2, .display-heading-2, .hero-details { width:100%; max-width:100%; margin:0; padding:0; text-align:center; float:left; } .hero-details { margin:30px 0 20px 0; } } </style> <div class="hero-company"> <div style="width:100%;"> <div class="grid_l" id="w-node-d1cb9a11-5cae-6341-69c4-414b4e8b8a90-5e15d591"> <h1 class="display-heading-2">Take SweepWidget For A Test Run</h1> <div class="hero-details">Try entering this live SweepWidget giveaway to familiarize yourself with how it works. <div class="columns-2 w-row" style="margin:35px 0;"> <a href="https://sweepwidget.com/examples" class="button-start first w-button">Try 40+ More Example Giveaways</a> </div> <img src="https://sweepwidget.com/images/1514942_arrow_corrections_drawn_direction_icon-1.png" loading="lazy" sizes="(max-width: 767px) 100vw, 512px" srcset="images/1514942_arrow_corrections_drawn_direction_icon-1-p-500.png 500w, images/1514942_arrow_corrections_drawn_direction_icon-1.png 512w" alt="" class="image-25"> </div> </div> <div class="grid_r"> <div id="931-xpegych4" class="sw_container"></div><script type="text/javascript" src="https://sweepwidget.com/w/j/w_init.js"></script> </div> </div> </div> <!-- Hidden loading icon --> <div id="loading_giveaway_text" style="width:250px; padding:20px 0 20px 0; position:fixed; top:100px; left:50%; margin-left:-125px; text-align:center; display:none; z-index:999999999;"> <img src="https://sweepwidgetmain.fra1.cdn.digitaloceanspaces.com/images/root/loading4.svg" /> </div> </div><div class="footer"> <div id="footer" class="footer-4"> <div class="footer-container"> <div class="footer-col"> <h5 class="footer-title">Third-party Plugins</h5> <a href="https://wordpress.org/plugins/sweepwidget/" rel="nofollow" target="_blank" class="footer-link-2">Wordpress</a> <a href="https://apps.shopify.com/sweepwidget" rel="nofollow" target="_blank" class="footer-link-2">Shopify</a> <a href="https://zapier.com/apps/sweepwidget/integrations" rel="nofollow" target="_blank" class="footer-link-2">Zapier</a> </div> <div class="footer-col"> <h5 class="footer-title"><strong>Resources</strong></h5> <a href="https://sweepwidget.com/docs/" class="footer-link-2">Docs</a> <a href="https://sweepwidget.com/blog/" class="footer-link-2">Blog</a> <a href="https://sweepwidget.com/privacy-policy" class="footer-link-2">Privacy Policy</a> <a href="https://sweepwidget.com/terms-of-use" class="footer-link-2">Terms of Use</a> <a href="https://sweepwidget.com/docs/sweepwidget-affiliate-program" class="footer-link-2">Affiliate Program</a> <a href="https://sweepwidget.com/multi-language" class="footer-link-2">Multi-Language Support</a> </div> <div class="footer-col"> <h5 class="footer-title">Social Media</h5> <div class="social-links"> <a rel="nofollow" href="https://www.instagram.com/sweepwidget/" target="_blank" class="social-link w-inline-block"><img src="https://uploads-ssl.webflow.com/620d557eb573d372c227f422/620d5580b573d3106f27f62a_instagram.svg" alt=""></a> <a rel="nofollow" href="https://www.facebook.com/SweepWidget" target="_blank" class="social-link w-inline-block"><img src="https://uploads-ssl.webflow.com/620d557eb573d372c227f422/620d5580b573d386ae27f628_facebook.svg" alt=""></a> <a rel="nofollow" href="https://twitter.com/SweepWidget" target="_blank" class="social-link w-inline-block"><img src="https://sweepwidget.com/images/657766-24-2.png" alt="" class="image-17"></a> </div> </div> <div class="footer-col"> <h5 class="footer-title">Reviews</h5> <a target="_blank" rel="nofollow" href="https://www.g2.com/products/sweepwidget/reviews"> <img src="https://sweepwidget.com/images/g2.png" loading="lazy" alt="" class="image-29"> </a> <a target="_blank" rel="nofollow" href="https://www.capterra.com/p/200014/SweepWidget/reviews/"> <img src="https://sweepwidget.com/images/capterra.png" loading="lazy" alt="" class="image-28"> </a> <a target="_blank" rel="nofollow" href="https://www.trustpilot.com/review/sweepwidget.com"> <img src="https://sweepwidget.com/images/trustpilotstars.png" loading="lazy" alt="" class="image-27"> </a> <a target="_blank" rel="nofollow" href="https://crozdesk.com/software/sweepwidget"> <img src="https://sweepwidget.com/images/crozdesk-quality-choice-badge-2020-1.png" loading="lazy" sizes="100vw" srcset="https://sweepwidget.com/images/crozdesk-quality-choice-badge-2020-1-p-500.png 500w, images/crozdesk-quality-choice-badge-2020-1.png 522w" alt="" class="image-30"> </a> <a target="_blank" rel="nofollow" href="https://crozdesk.com/software/sweepwidget"> <img src="https://sweepwidget.com/images/crozdesk-happiest-users-badge-2020.png" loading="lazy" sizes="100vw" srcset="https://sweepwidget.com/images/crozdesk-happiest-users-badge-2020-p-500.png 500w, images/crozdesk-happiest-users-badge-2020.png 522w" alt="" class="image-31"> </a> <a target="_blank" rel="nofollow" href="https://crozdesk.com/software/sweepwidget"> <img src="https://sweepwidget.com/images/crozdesk-trusted-vendor-badge-2020.png" loading="lazy" sizes="100vw" srcset="https://sweepwidget.com/images/crozdesk-trusted-vendor-badge-2020-p-500.png 500w, images/crozdesk-trusted-vendor-badge-2020.png 522w" alt="" class="image-32"> </a> </div> </div> <div></div> </div> <div class="div-block-38"> <div class="footer-container fb-footer"><img src="https://sweepwidget.com/images/Logo-SweepWidget-new-white.png" loading="lazy" sizes="100vw" height="40" alt="" srcset="https://sweepwidget.com/images/Logo-SweepWidget-new-white-p-500.png 500w, images/Logo-SweepWidget-new-white-p-800.png 800w, images/Logo-SweepWidget-new-white.png 1289w"> <div class="fb-footer-wrapper"> <div class="footer-text"> <div class="text-block-4">漏聽2022 SweepWidget</div> </div> </div> </div> </div> </div> <!-- WEBFLOW --> <script src="https://sweepwidget.com/js/webflow.js" type="text/javascript"></script> <!--[if lte IE 9]><script src="https://cdnjs.cloudflare.com/ajax/libs/placeholders/3.0.2/placeholders.min.js"></script><![endif]--> <!-- JS --> <script type="text/javascript"> $('#menu_btn').click(function() { $('nav ul').slideToggle('slow', function() { $(this).css('display') == 'none' ? $(this).removeClass('showNav').addClass('hideNav').removeAttr('style') : $(this).removeClass('hideNav').addClass('showNav').removeAttr('style'); }); }); </script> <script type="text/javascript"> $(document).ready(function() { $('#menu').slicknav(); }); var slick_nav_clicked = 0; $(document.body).on('click', '.slicknav_btn', function() { $(this).toggleClass("rotate-180"); }); function payment_plan_popup_annual() { $('.slicknav_btn').click(); $('#plan_billing_cycle_option').click(); $('#annual_plan_message').show(); $('.payment_holder').slideDown(1, function() { $('#body_main_right').hide(); $('html, body').animate({ scrollTop: 0 }, 0); // Click the payment button to show the payment confirmation payment. setTimeout(function() { }, 100); console.log('OK'); }); } function payment_plan_popup(clear_pricing_message = '') { // If "subscription" is in the URL string if (window.location.href.indexOf("subscription") > -1) { window.location.href = "https://sweepwidget.com/user/account/?open_payment_plan=1"; } $('.payment_holder').slideDown(1, function() { $('#body_main_right').hide(); $('html, body').animate({ scrollTop: 0 }, 0); }); // Greg The Gameaholic custom coupon if (clear_pricing_message == 'clear message') { $('.pricing_1').css('border', 'none'); $('.pricing_2').css('border', 'none'); $('.pricing_3').css('border', 'none'); $('.pricing_4').css('border', 'none'); } } $('.entry_method_add_disallow_pro, .entry_method_add_disallow_business, .entry_method_add_disallow_premium, .entry_method_add_disallow_enterprise, .pro_feature, .business_feature, .premium_feature, .enterprise_feature').on('click', function() { var website_plan = $('#user_website_plan').val(); var payment_platform = ''; var planName = ''; var planId = ''; var planPrice = ''; var string = ''; var string2 = ''; var proratedDifference = ''; if ($(this).hasClass('entry_method_add_disallow_pro') || $(this).hasClass('pro_feature')) { if (plan_level("free", "equal", website_plan, payment_platform) == true) { planName = 'Pro'; planId = 'pro-monthly'; planPrice = '29'; string = 'The <span style="color: #4a3aff;">' + planName + '</span> plan for $' + planPrice + ' per month is required for this feature.'; string2 = 'This feature is included in the <span style="color: #4a3aff;">' + planName + '</span> plan.'; $('.pricing_1').css('border', '2px solid #4a3aff'); $('.pricing_2').css('border', 'none'); $('.pricing_3').css('border', 'none'); $('.pricing_4').css('border', 'none'); $('#pricing_payment_feature_wrapper').show().html(string2 + proratedDifference); payment_plan_popup(); } } else if ($(this).hasClass('entry_method_add_disallow_business') || $(this).hasClass('business_feature')) { if (plan_level("pro", "equal_or_less", website_plan, payment_platform) == true) { planName = 'Business'; planId = 'business-monthly'; planPrice = '59'; string = 'The <span style="color: #4a3aff;">' + planName + '</span> plan for $' + planPrice + ' per month is required for this feature.'; string2 = 'This feature is included in the <span style="color: #4a3aff;">' + planName + '</span> plan.'; $('.pricing_2').css('border', '3px solid #4a3aff'); $('.pricing_1').css('border', 'none'); $('.pricing_3').css('border', 'none'); $('.pricing_4').css('border', 'none'); $('#pricing_payment_feature_wrapper').show().html(string2 + proratedDifference); payment_plan_popup(); } } else if ($(this).hasClass('entry_method_add_disallow_premium') || $(this).hasClass('premium_feature')) { if (plan_level("business", "equal_or_less", website_plan, payment_platform) == true) { planName = 'Premium'; planId = 'premium-monthly'; planPrice = '119'; string = 'The <span style="color: #4a3aff;">' + planName + '</span> plan for $' + planPrice + ' per month is required for this feature.'; string2 = 'This feature is included in the <span style="color: #4a3aff;">' + planName + '</span> plan.'; $('.pricing_3').css('border', '3px solid #4a3aff'); $('.pricing_1').css('border', 'none'); $('.pricing_2').css('border', 'none'); $('.pricing_4').css('border', 'none'); $('#pricing_payment_feature_wrapper').show().html(string2 + proratedDifference); payment_plan_popup(); } } else if ($(this).hasClass('entry_method_add_disallow_enterprise') || $(this).hasClass('enterprise_feature')) { if (plan_level("premium", "equal_or_less", website_plan, payment_platform) == true) { planName = 'Enterprise'; planId = 'enterprise-monthly'; planPrice = '249'; string = 'The <span style="color: #4a3aff;">' + planName + '</span> plan for $' + planPrice + ' per month is required for this feature.'; string2 = 'This feature is included in the <span style="color: #4a3aff;">' + planName + '</span> plan.'; $('.pricing_4').css('border', '3px solid #4a3aff'); $('.pricing_1').css('border', 'none'); $('.pricing_2').css('border', 'none'); $('.pricing_3').css('border', 'none'); $('#pricing_payment_feature_wrapper').show().html(string2 + proratedDifference); payment_plan_popup(); } } else { planName = ''; planId = ''; planPrice = ''; string = 'An upgraded plan is required for this feature.'; string2 = 'This feature is included in an upgraded plan.'; $('#pricing_payment_feature_wrapper').show().html(string2 + proratedDifference); payment_plan_popup(); } // Add click event listener for "View all plans?" link $(document).on('click', '#viewAllPlans', function(e) { e.preventDefault(); Swal.close(); // Close the Swal popup // Trigger the popup showing the payment form payment_plan_popup(); }); }); // If there's a hash in the URL if (window.location.hash) { // Hash value var hash = window.location.hash.substring(1); // User just changed payment platform i.e. Stripe if (hash == 'payment-stripe' || hash == 'upgrade-prompt') { payment_plan_popup(); } } $('.payment_holder_close').click(function() { $('#body_main_right').show(); $('.payment_holder').hide(); $('#pricing_payment_feature_wrapper').hide(); }); // $(document).mouseup(function(e) { // var container = $(".payment_holder"); // if (!container.is(e.target) && container.has(e.target).length == 0) { // $('#body_main_right').show(); // container.hide(); // } // }); $('.payment_result_close').click(function() { $('#payment_result').hide(); }); // Change site from dropdown, or delete $(document.body).on('change', '.user_sites_select', function() { var user_id = ""; var select_value = $(this).val(); var select_value_exp = select_value.split('|'); var site_id = select_value_exp[0]; var switch_delete = select_value_exp[1]; // New Site if (switch_delete == 'new') { window.location = "https://sweepwidget.com/user/new-brand/" + site_id + ''; } // Switch else { window.location = "https://sweepwidget.com/user/account/" + site_id + ''; } }); // Function to apply coupon code from promo up top function apply_coupon_code(coupon_code) { $('.plan_coupon_holder').slideDown(); $('#plan_coupon_btn').hide(); $('#coupon_code').val(coupon_code); $('#coupon_code_apply_btn').click(); } // On click of promo coupon code while logged in $('.user_message_coupon_code').click(function() { var coupon_code = $(this).attr('data-coupon-code'); apply_coupon_code(coupon_code); }); function setCookie(name, value, days) { var expires = ""; if (days) { var date = new Date(); date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); expires = "; expires=" + date.toUTCString(); } document.cookie = name + "=" + (value || "") + expires + "; path=/"; } function getCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for (var i = 0; i < ca.length; i++) { var c = ca[i]; while (c.charAt(0) == ' ') c = c.substring(1, c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length); } return null; } /* function close_promo_top(hide_coupon_banner) { if(hide_coupon_banner == 1) { $('.home_slogan_caption_holder').css('margin-top', '58px'); $('.pricing_body_wrapper').css('margin-top', '68px'); $('#sidebar_left').css('margin-top', '0px'); $('#body_main_right').css('padding-top', '58px'); $('.home_slogan_caption_holder2').css('margin-top', '54px'); $('#content_home_holder_inner').css('margin-top', '90px'); $('#blog_wrapper').css('margin-top', '80px'); } else { $('.home_slogan_caption_holder').css('margin-top', '112px'); $('.pricing_body_wrapper').css('margin-top', '122px'); $('#sidebar_left').css('margin-top', '56px'); $('#body_main_right').css('padding-top', '112px'); $('.home_slogan_caption_holder2').css('margin-top', '108px'); $('#content_home_holder_inner').css('margin-top', '154px'); $('#blog_wrapper').css('margin-top', '134px'); } } var hide_coupon_banner_cookie = getCookie('hide_coupon_banner'); close_promo_top(hide_coupon_banner_cookie); $('.coupon_nav_banner_exit').click(function() { $('.coupon_nav_banner_wrapper').slideUp(300); setCookie('hide_coupon_banner','1', 180); close_promo_top(1); }); function body_right_no_padding() { $('#body_main_right').css('padding-top', '0px'); } if($(window).width() <= 800) { body_right_no_padding(); } $(window).resize(function(){ if($(window).width() <= 800) { body_right_no_padding(); } else { close_promo_top(hide_coupon_banner_cookie); } }); */ // .new_photo_contest click $(document).on('click', '.new_photo_contest', function(e) { if ($(this).attr('href') == '#') { e.preventDefault(); Swal.fire({ icon: 'info', title: 'Upgrade to Pro Plan', text: 'Photo contests are available on the Pro plan. You will get photo contests, video contests, voting contests, verified social actions, and much more!', showCancelButton: true, confirmButtonText: 'Upgrade Now', cancelButtonText: 'Not Now' }).then((result) => { if (result.isConfirmed) { payment_plan_popup(); } }); } }); // .new_shopify_contest click $(document).on('click', '.new_shopify_contest', function(e) { if ($(this).attr('href') == '#') { e.preventDefault(); Swal.fire({ icon: 'info', title: 'Upgrade to Pro Plan', html: 'Shopify contests are available on the Pro plan. You will be able to reward users entries for every $1 spent in your store which can boost your sales! You\'ll also get verified social actions and much more! <a target="_blank" href="https://sweepwidget.com/docs/sweepwidget-shopify-purchases-app-entries-for-purchasing">Learn more</a>.', showCancelButton: true, confirmButtonText: 'Upgrade Now', cancelButtonText: 'Not Now' }).then((result) => { if (result.isConfirmed) { payment_plan_popup(); } }); } }); // Install contest onto Shopify page $(document.body).on('click', '.shopify_page_url_title_submit, .shopify_delete_giveaway_submit', function() { var type = $(this).attr('data-type'); var competition_id = $(this).attr('data-id'); var shopify_page_url_title = $('#shopify_page_url_title_' + competition_id).val(); var user_id = ''; var shopify_access_token = ''; var shopify_shop_url = ''; var if_widget_popup = 0; var widget_popup_delay = $('input[name=widget_popup_delay]').val(); if ($('input[name=if_widget_popup]').is(':checked')) { if_widget_popup = 1; } console.log('OK'); $('#loading_giveaway_text').show(); $.ajax({ url: "https://sweepwidget.com/a/competition_shopify_page.php", data: { type: type, user_id: user_id, shopify_access_token: shopify_access_token, shopify_shop_url: shopify_shop_url, competition_id: competition_id, shopify_page_url_title: shopify_page_url_title, if_widget_popup: if_widget_popup, widget_popup_delay: widget_popup_delay }, type: 'POST', xhrFields: true, dataType: 'text', success: function(response) { console.log(response); $('#loading_giveaway_text').hide(); var res = jQuery.parseJSON(response); var success = res.success; var shopify_page_url_title_response = res.shopify_page_url_title; // Success if (success == 1) { // Add / edit if (type == 'add_edit') { Swal.fire({ icon: 'success', title: 'Success', text: 'Your giveaway has been added to your Shopify store and can be seen here: https:///pages/' + shopify_page_url_title_response + '.', showCancelButton: false, confirmButtonText: 'OK' }); $('#shopify_page_url_result_' + competition_id).fadeIn().html('<div id="success_holder_3" style="width:90%; margin:20px 0 0 0; padding:15px 5%;"><span class="sub_header_l">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i class="fas fa-check-circle"></i></span><span class="sub_header_r">Your giveaway has been added to your Shopify store <a rel="nofollow" target="_blank" href="https:///pages/' + shopify_page_url_title_response + '">https:///pages/' + shopify_page_url_title_response + '</a>.</span></div>'); $('.shopify_delete_giveaway_submit').show(); // Delete } else if (type == 'delete') { Swal.fire({ icon: 'success', title: 'Success', text: 'Your giveaway has been removed from your Shopify store.', showCancelButton: false, confirmButtonText: 'OK' }); $('#shopify_page_url_result_' + competition_id).fadeIn().html('<div id="success_holder_3" style="width:90%; margin:20px 0 0 0; padding:15px 5%;"><span class="sub_header_l">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i class="fas fa-check-circle"></i></span><span class="sub_header_r">Your giveaway has been removed from your Shopify store.</span></div>'); $('.shopify_delete_giveaway_submit').hide(); } // Error } else { Swal.fire({ icon: 'error', title: 'Error', text: 'There was an error with your request.', showCancelButton: false, confirmButtonText: 'OK' }); } } }); }); // Check if user signed up and wants a payment plan // Get "p" parameter from URL. const urlParamsInit = new URLSearchParams(window.location.search); const sign_up_plan = urlParamsInit.has('p') ? 1 : 0; // Check if 'p' parameter exists if (sign_up_plan) { payment_plan_popup(); } // Re-initialize materialize select $("select").formSelect(); // On click of crypto payment link $('.payment_crypto_link').on('click', function() { // Data data-plan_level var plan_level = $(this).data('plan_level'); Swal.fire({ title: 'How to pay with Bitcoin?', html: 'Contact SweepWidget support and request a Bitcoin invoice for the <strong><u>' + plan_level + ' annual plan</u></strong>. Thank you!', icon: 'question', showCloseButton: true, showCancelButton: false, confirmButtonText: '<i class="fas fa-envelope"></i>&nbsp; <span style="color: inherit; text-decoration: none;">Contact Support Here</span>', allowOutsideClick: false, allowEscapeKey: false, allowEnterKey: false, customClass: { popup: 'swal-popup', title: 'swal-title', htmlContainer: 'swal-html-container', closeButton: 'swal-close-button', confirmButton: 'swal-confirm-button' } }).then((result) => { if (result.isConfirmed) { // Open the link in a new tab on button click window.open('https://sweepwidget.zendesk.com/hc/en-us/requests/new', '_blank'); } }); }); </script> <!-- Payment platform --> <input type="hidden" id="payment_platform" value="" /> <script id="ze-snippet" src="https://static.zdassets.com/ekr/snippet.js?key=9140c7ba-c381-46c1-abb2-8ba780109070"> </script> <script> $('#show_zendesk_widget, #show_zendesk_widget2').click(function() { zE('webWidget', 'show'); zE('webWidget', 'open'); }); </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10