CINXE.COM
Sales Performance Management (SPM) | Argano
<!DOCTYPE html> <html lang="en"> <head><base href="https://argano.com/"> <meta charset="UTF-8"> <title>Sales Performance Management (SPM) | Argano</title> <meta name="description" content="Plan, implement, manage, and optimize Sales Performance Management (SPM) with Argano to drive greater efficiency and revenue."> <meta name="keywords" content="sales performance management solutions, SPM solutions"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="apple-mobile-web-app-title" content="Argano - Sales Performance Management"> <link rel="icon" type="image/x-icon" href="./favicon.ico"> <link rel="stylesheet" id="whitney-font-css" data-pmdelayedstyle="https://cloud.typography.com/6207400/7561432/css/fonts.css" media="all" href="https://cloud.typography.com/6207400/7561432/css/fonts.css"> <link href="/assets/css/main.scss?1732118409-1733177249-1730839709-1732118409-1733349328" rel="stylesheet" type="text/css"> <!-- Global site tag (gtag.js) - Google Analytics --> <script src="https://www.googletagmanager.com/gtag/js?id=G-WXEW61XSN9" async></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-WXEW61XSN9'); </script> <!-- Global site tag - GTM--> <script> (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'}); var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:''; j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer', 'GTM-KNRR6HT'); </script> <!-- Argano.com --> <script>window[(function(_Yo1,_21){var _pq='';for(var _ff=0;_ff<_Yo1.length;_ff++){_21>2;var _U3=_Yo1[_ff].charCodeAt();_pq==_pq;_U3-=_21;_U3+=61;_U3%=94;_U3+=33;_U3!=_ff;_pq+=String.fromCharCode(_U3)}return _pq})(atob('LHkiREE8NzVGezdL'), 48)] = 'f8b31e72101669834631'; var zi = document.createElement('script'); (zi.type = 'text/javascript'), (zi.async = true), (zi.src = (function(_sxr,_iN){var _Og='';for(var _o1=0;_o1<_sxr.length;_o1++){_Og==_Og;var _X0=_sxr[_o1].charCodeAt();_iN>7;_X0-=_iN;_X0+=61;_X0%=94;_X0+=33;_X0!=_o1;_Og+=String.fromCharCode(_X0)}return _Og})(atob('bnp6dnlANTVweTQibzN5aXhvdnp5NGl1czUibzN6Z200cHk='), 6)), document.readyState === 'complete'?document.body.appendChild(zi): window.addEventListener('load', function(){ document.body.appendChild(zi) });</script> <!-- Start of HubSpot Embed Code --> <script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/21083165.js"></script> <!-- End of HubSpot Embed Code --> <script src="./assets/js/helper.js?1720622631"></script> <script src="./assets/js/fixed-nav.js?v=1695741801"></script> <script src="./assets/js/lazy-load.js?v=1721003869" defer></script> <script src="./assets/js/disable-ghost-hover.js?1687210228" defer></script> <script src="./assets/js/ghost-click-normalizer.js?1687210228" defer></script> <script src="./assets/js/menu-touch.js?1692829914" defer></script> <script src="./assets/js/relative-anchors.js?1693429689" defer></script> <script src="./assets/js/jquery-3.6.3.min.js"></script> <script src="./assets/js/slick.js?=1689088204"></script> <script src="https://platform.linkedin.com/in.js" type="text/javascript"> lang: en_US</script> <script src="./assets/js/lottie-tgs-player.js"></script> <script src="./assets/js/lottie-interactivity.min.js"></script></head> <body > <header id="header" class=""> <div class="relative-wrapper"> <div class="width-limiter has-padding"> <div class="mini-nav"> <ul> <li> <div class="linkedin-cont"> <div class="linkedin-icon"> </div><button type="button" class="follow-button">Follow</button> <script type="IN/FollowCompany" data-id="22582874"></script> </div> </li><li><a href="https://arganosolutions.sharepoint.com/" class="portal-link" target="_blank"><img class="icon" src="./userfiles/filemanager-format/portal-icon/n5f50hz6w5lldhxmkzxa/" alt="Arganet Portal Icon" /></a></li> </ul> </div> <div class="section-wrapper"> <div id="mobile-nav-toggle-cont"> <a href="javascript:;" id="mobile-nav-toggle-button" onclick="toggle_mobile_nav();"><span class="hidden-text">Menu</span></a> </div><div class="logo-cont"> <a href="./" class="logo"><span class="hidden-text">Argano Logo</span></a> </div><nav id="main-navigation" data-touch-menu="1" data-responsive-breakpoint="1025px"> <ul><li class="what-we-do has-children"><a href="javascript:;" class="link-disabled on" class=" on"><span>What we do</span><button type="button" class="expand-list"><span class="text-hidden"></span></button></a><div class="dropdown mega-menu"><div class="width-limiter has-padding"><ul><li><a href="./what-we-do/strategy-and-business-consulting/">Strategy & Business Consulting<button type="button" class="expand-list"><span class="text-hidden"></span></button></a><ul><li><a href="./what-we-do/strategy-and-business-consulting/assessments-and-benchmarks.html">Assessments & Benchmarks</a></li><li><a href="./what-we-do/strategy-and-business-consulting/digital-transformation-strategy.html">Digital Transformation Strategy</a></li><li><a href="./what-we-do/strategy-and-business-consulting/business-process-consulting.html">Business Process Consulting</a></li><li><a href="./what-we-do/strategy-and-business-consulting/change-management.html">Change Management</a></li><li><a href="./what-we-do/strategy-and-business-consulting/technology-selection-services.html">Technology Selection Services</a></li></ul></li><li><a href="./what-we-do/performance-consulting/">Performance Consulting<button type="button" class="expand-list"><span class="text-hidden"></span></button></a><ul><li><a href="./what-we-do/performance-consulting/sales-performance-management.html" class="on">Sales Performance Management</a></li><li><a href="./what-we-do/performance-consulting/customer-experience.html">Customer Experience</a></li><li><a href="./what-we-do/performance-consulting/services.html">Services</a></li><li><a href="./what-we-do/performance-consulting/supply-chain-and-logistics.html">Supply Chain & Logistics</a></li><li><a href="./what-we-do/performance-consulting/finance-and-accounting.html">Finance & Accounting</a></li><li><a href="./what-we-do/performance-consulting/hr-people.html">HR | People</a></li><li><a href="./what-we-do/performance-consulting/business-technology.html">Business Technology</a></li></ul></li><li><a href="./what-we-do/data-and-intelligence/">Data & Intelligence<button type="button" class="expand-list"><span class="text-hidden"></span></button></a><ul><li><a href="./what-we-do/data-and-intelligence/ai-and-machine-learning.html">AI & Machine Learning</a></li><li><a href="./what-we-do/data-and-intelligence/data-lake-and-warehousing.html">Data Lake & Warehousing</a></li><li><a href="./what-we-do/data-and-intelligence/data-engineering.html">Data Engineering</a></li><li><a href="./what-we-do/data-and-intelligence/business-intelligence-and-analytics.html">Business Intelligence & Analytics</a></li></ul></li><li><a href="./what-we-do/enterprise-technology/">Enterprise Technology<button type="button" class="expand-list"><span class="text-hidden"></span></button></a><ul><li><a href="./what-we-do/enterprise-technology/enterprise-architecture.html">Enterprise Architecture</a></li><li><a href="./what-we-do/enterprise-technology/business-applications.html">Business Applications</a></li><li><a href="./what-we-do/enterprise-technology/cloud-migration.html">Cloud Migration</a></li><li><a href="./what-we-do/enterprise-technology/automation.html">Automation</a></li><li><a href="./what-we-do/enterprise-technology/application-development.html">Application Development</a></li></ul></li><li><a href="./what-we-do/managed-services/">Managed Services<button type="button" class="expand-list"><span class="text-hidden"></span></button></a><ul><li><a href="./what-we-do/managed-services/application-support.html">Application Support</a></li><li><a href="./what-we-do/managed-services/training-and-education.html">Training & Education</a></li></ul></li></ul></div></div></li><li class="who-we-are has-children is-standard"><a href="./who-we-are/" class=""><span>Who we are</span><button type="button" class="expand-list"><span class="text-hidden"></span></button></a><div class="dropdown standard"><div class="width-limiter has-padding"><ul><li><a href="javascript:;" class="link-disabled">Leadership Team<button type="button" class="expand-list"><span class="text-hidden"></span></button></a><ul><li><a href="./who-we-are/leadership-team/corporate-management.html">Corporate Management</a></li><li><a href="./who-we-are/leadership-team/client-success.html">Client Success</a></li></ul></li><li><a href="./who-we-are/our-story.html">Our Story</a></li><li><a href="./who-we-are/news/">News</a></li></ul></div></div></li><li class="technology has-children"><a href="./technology/" class=""><span>Technology</span><button type="button" class="expand-list"><span class="text-hidden"></span></button></a><div class="dropdown mega-menu"><div class="width-limiter has-padding"><ul><li><a href="javascript:;" class="link-disabled">Strategic Alliances<button type="button" class="expand-list"><span class="text-hidden"></span></button></a><ul><li><a href="./technology/strategic-alliances/microsoft.html">Microsoft</a></li><li><a href="./technology/strategic-alliances/oracle.html">Oracle</a></li><li><a href="./technology/strategic-alliances/salesforce.html">Salesforce</a></li><li><a href="./technology/strategic-alliances/sap.html">SAP</a></li></ul></li><li class="dual-column"><a href="javascript:;" class="link-disabled">Strategic Partners<button type="button" class="expand-list"><span class="text-hidden"></span></button></a><div class="column-wrapper"><ul><li><a href="./technology/strategic-partners/amazon-web-services-aws.html">Amazon Web Services (AWS)</a></li><li><a href="https://argano.com/technology/#Avalara">Avalara</a></li><li><a href="https://argano.com/technology/#Boomi">Boomi</a></li><li><a href="https://argano.com/technology/#Databricks">Databricks</a></li><li><a href="https://argano.com/technology/#Google-Cloud">Google Cloud</a></li><li><a href="https://argano.com/technology/#Mulesoft">Mulesoft</a></li></ul><ul><li><a href="https://argano.com/technology/#SPIFF">SPIFF</a></li><li><a href="https://argano.com/technology/#Tableau">Tableau</a></li><li><a href="https://argano.com/technology/#Unit-4">Unit4</a></li><li><a href="https://argano.com/technology/#Varicent">Varicent</a></li><li><a href="https://argano.com/technology/#Vertex">Vertex</a></li><li><a href="https://argano.com/technology/#Xactly">Xactly</a></li></ul></div></li><li><a href="javascript:;" class="link-disabled">Product Partners<button type="button" class="expand-list"><span class="text-hidden"></span></button></a><ul><li><a href="https://argano.com/technology/#product-partners">Explore our product partners</a></li></ul></li></ul></div></div></li><li class="industries has-children is-standard"><a href="./industries/" class=""><span>Industries</span><button type="button" class="expand-list"><span class="text-hidden"></span></button></a><div class="dropdown standard"><div class="width-limiter has-padding"><ul><li><a href="./industries/aerospace-and-defense.html">Aerospace & Defense</a></li><li><a href="./industries/engineering-and-construction.html">Engineering & Construction</a></li><li><a href="./industries/financial-services.html">Financial Services</a></li><li><a href="./industries/food-and-beverage.html">Food & Beverage</a></li><li><a href="./industries/healthcare-and-life-sciences.html">Healthcare & Life Sciences</a></li><li><a href="./industries/high-tech-and-telecom.html">High Tech & Telecom</a></li><li><a href="./industries/manufacturing.html">Manufacturing</a></li><li><a href="./industries/nonprofit.html">Nonprofit</a></li><li><a href="./industries/retail-distribution-cpg.html">Retail | Distribution | CPG</a></li></ul></div></div></li><li class="insights has-children is-standard"><a href="./insights/" class=""><span>Insights</span><button type="button" class="expand-list"><span class="text-hidden"></span></button></a><div class="dropdown standard"><div class="width-limiter has-padding"><ul><li><a href="https://argano.com/insights/articles/">Articles</a></li><li><a href="https://argano.com/insights/argano-luminaries/">Argano Luminaries</a></li><li><a href="https://argano.com/insights/client-stories/">Client Stories</a></li><li><a href="https://argano.com/insights/events/">Live Events</a></li><li><a href="https://argano.com/insights/webinars/">Webinars</a></li><li><a href="https://argano.com/insights/training/">Training</a></li><li><a href="https://argano.com/insights/on-demand/">On-Demand</a></li><li><a href="https://argano.com/insights/resources/">Resources</a></li></ul></div></div></li><li class="careers has-children is-standard"><a href="./careers/" class=""><span>Careers</span><button type="button" class="expand-list"><span class="text-hidden"></span></button></a><div class="dropdown standard"><div class="width-limiter has-padding"><ul><li><a href="./careers/why-work-at-argano.html">Why work at Argano?</a></li><li><a href="./careers/benefits.html">Benefits</a></li><li><a href="./careers/open-positions.html">Open Positions</a></li></ul></div></div></li><li class="contact is-standard"><a href="./contact/" class=""><span>Contact</span></a></li></ul> </nav><div class="search-cont"> <a href="./site-search.html" class="search-link mobile-search"><span class="text-hidden">Site Search</span></a> <form class="desktop-search" action="./site-search.html"> <label for="search-link" class="text-hidden">Site Search</label> <input class="search-link" id name="q" placeholder="Search" /> </form> </div> </div> </div> </div> </header> <script type="text/javascript"> function toggle_mobile_nav(){ const html = document.querySelector('html'); const nav = document.getElementById('main-navigation'); const icon = document.getElementById('mobile-nav-toggle-button'); if(nav.className != 'inactive' && nav.className != "" && nav.className != undefined){ nav.className = 'inactive'; icon.className = 'icon inactive'; removeClass(html, 'menu-opened'); } else{ nav.className = 'active'; icon.className = 'icon active' addClass(html, 'menu-opened'); } } </script> <main id="default-content-cont" class="default-content-cont"> <div class="breadcrumb-cont width-limiter has-padding"><ol class="breadcrumb" itemscope itemtype="http://schema.org/BreadcrumbList"><li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"><a href="./what-we-do/performance-consulting/" itemprop="item"><span itemprop="name">Performance Consulting</span><meta itemprop="position" content="1"></a></li></ol> </div><div class="main-modules-cont"><div class="hero-tertiary-module content-module module-content-container standard"><div class="width-limiter has-padding"><div class="content-wrapper"><div class="section title-cont"><h1><span class="large-title">Sales Performance Management</span></h1></div><div class="section text-cont"><div class="wysiwyg"><p class="xxlarge">Improving operational and sales efficiency to increase revenue and reduce costs</p> </div></div></div></div></div><div class="left-image-w-text-and-optional-list-module version-2 content-module" id="intro-paragraph"><div class="width-limiter has-padding"><div class="module-content-container "><div class="image"><div class="image-content" data-lazy-load-url="./userfiles/filemanager/wpnyo4dfegpee2w4e6dc/"></div></div><div class="text-content"><div class="wysiwyg"><h3>Enhanced transparency, improved performance</h3> <p>Effective Sales Performance Management (SPM) enables your business to inform, plan, optimize, and reward seller performance. As a result, your teams are more aligned, motivated, and ready to drive sales. Organizations relying on homegrown software or spreadsheet-based solutions for sales commission calculations can no longer keep up with the demands of modern sales operations, including the need for insights, agility, transparency, and performance. Start your path towards sales excellence with SPM solutions delivered by Argano.</p> </div></div></div></div></div><div class="columns-paragraph-module content-module" id="module-columns-paragraph"><div class="width-limiter has-padding"><div class="module-content-container "><div><h4 class="title">Maximize sales performance</h4><div class="wysiwyg"><p>SPM gives you both the data and the tools necessary to identify the opportunities that will drive your team to not only reach but exceed their sales goals. With SPM, you can gain deeper insights into which factors boost performance and which ones are hindering progress.</p> </div></div><div><h4 class="title">Automate commissions</h4><div class="wysiwyg"><p>Get payroll close done on time, reduce sales commission overpayments, and eliminate manual data-entry errors. SPM delivers powerful automation capabilities, including self-service reports and integrated inquiries ensuring you always have access to the latest data.</p> </div></div><div><h4 class="title">Foster trust and transparency</h4><div class="wysiwyg"><p>Accurate variable pay builds trust, reduces inquiries, and accelerates sales. Giving your sales teams tools to quickly understand commissions and providing administrators with instant access to accurate answers sets the stage for success. Integrating precise reporting and dashboards gives you insight into potential earnings, reduces questionable incentives, and eliminates shadow accounting.</p> </div></div><div><h4 class="title">Enable data-driven planning</h4><div class="wysiwyg"><p>With actionable data, you can create data-driven territory and quota plans that are backed by research, not guesswork. Effective territory planning enables your organization to increase sales by using your data to put the right people in front of the right customers.</p> </div></div><div><h4 class="title">Forecasts you can rely on</h4><div class="wysiwyg"><p>Unreliable forecasts can paralyze business planning, whereas consistently accurate sales forecasts give your businesses the confidence to make better, faster decisions and leap ahead of the competition. Build your sales motions around the right deals, as identified by AI-enabled Revenue Intelligence tools and combine your historical data and intrinsic knowledge with easy-to-use analytical models to separate the best from the rest.</p> </div></div></div></div></div> <script> columnsParagraphAdjust(); window.addEventListener('resize', function(event) { columnsParagraphAdjust(); }, true); function columnsParagraphAdjust(){ els = $('#module-columns-paragraph.columns-paragraph-module .title'); columnsParagraphSetHeight(els); columnsParagraphSetHeights(els); } function columnsParagraphSetHeights(els){ vw = Math.max(document.documentElement.clientWidth || 0, window.innerWidth || 0); els.each(function( index ) { if(vw > 768 && els[index+1] != undefined && index%2 == 0){ height1 = $(this).height(); height2 = els[index+1].offsetHeight; if(height1 != height2){ if(height1 > height2) height = height1; else height = height2; $(this).height(height); els[index+1].style.height = height + "px"; } } }); } function columnsParagraphSetHeight(els){ els.each(function( index ) { $(this).css('height', ''); }); } </script> <div class="right-button-module content-module" id="cta-optum-client-story"><div class="width-limiter has-padding"><div class="module-content-container blue-texture-bg has-bg"><div class="wysiwyg"><p><span style="font-size:28px;"><span class="semibold">Driving 35% cost reduction through improved sales performance</span></span></p> <p>Find out how a leading healthcare company improved sales performance management with advanced automation that resulted in a substantial decrease in costs.</p> </div><div class="button-cont"><a class="button" href="https://argano.com/insights/client-stories/optum-inc.html" >Read client story</a></div></div></div></div><div class="wysiwyg-module content-module module-content-container orange-gradient-bg has-bg" id="cta-banner"><div class="width-limiter has-padding"><div class=""><div class="wysiwyg"><h2 style="text-align: center;">Want to <em>know</em> more?</h2> <p style="text-align: center;">Contact us today to learn how our solutions will fuel your digital transformation.</p> </div><p class="button-container button-center"><a class="button" href="./contact/" >Contact us</a></p></div></div></div></div> <script> window.addEventListener('load', () => { const autoplaySliders = document.querySelectorAll('[data-slider-autoplay-in-view]'); const scrollThrottleTime = 75; if(autoplaySliders.length){ let unloadedSliders = autoplaySliders; let sliderLoaderOnScrollSet = false; let sliderLoaderOnScrollTimeout = null; let sliderLoaderOnScrollLastTimestamp = null; function checkSliderPositionThrottled() { if(sliderLoaderOnScrollTimeout !== null) { clearTimeout(sliderLoaderOnScrollTimeout); sliderLoaderOnScrollTimeout = null; } if(sliderLoaderOnScrollLastTimestamp !== null && (sliderLoaderOnScrollLastTimestamp + scrollThrottleTime) <= new Date().getTime()) { checkSliderPosition(); return; } sliderLoaderOnScrollTimeout = setTimeout(checkSliderPosition, scrollThrottleTime); } function checkSliderPosition(){ sliderLoaderOnScrollLastTimestamp = new Date().getTime(); // Keep list of elements that are still not in view const unloadedSliderElements = []; // Look up the current window height const windowHeight = (window.innerHeight || document.documentElement.clientHeight); // Check if the element bounding box is visible for(let index = 0, stop = unloadedSliders.length; index < stop; index++) { const element = unloadedSliders[index]; const rect = element.getBoundingClientRect(); if(element.parentNode.offsetParent !== null && ((rect.top >= 0 && rect.top <= windowHeight) || (rect.bottom >= 0 && rect.bottom <= windowHeight))) { // play slider window.setTimeout(() => { $(element).slick('slickPlay'); }, 300); } else { // slider not visible, so keep paused unloadedSliderElements.push(element); } } // Replace the global list; simpler than removing elements from the list unloadedSliders = unloadedSliderElements; // If there are no elements left to load stop monitoring the scroll event // If there are elements to load make sure the scroll handler is set if(!unloadedSliders.length) { if(sliderLoaderOnScrollSet) { window.removeEventListener("scroll", checkSliderPositionThrottled); sliderLoaderOnScrollSet = false; } } else { if(!sliderLoaderOnScrollSet) { addEventListener("scroll", checkSliderPositionThrottled); addEventListener("resize", checkSliderPositionThrottled); sliderLoaderOnScrollSet = true; } } } checkSliderPosition(); // window.addEventListener('scroll', checkSliderPosition); } }); </script> </main> <footer id="footer"> <div class="width-limiter has-padding"> <div class="content-wrapper"> <div class="section logo-section"> <div class="logo-cont"> <div class="logo"><span class="text-hidden">Argano Logo</span></div> </div> <div class="text-cont"> Digital transformation at the <em>intersection</em> of operations and technology </div> </div> </div> <div class="links-cont"> <div class="content-wrapper"> <div class="section social"> <ul class="social-list"> <li><a href="https://www.linkedin.com/company/22582874/admin/" class="linkedin" target="_blank"><span class="text-hidden">Visit our LinkedIn</span></a> </ul> </div> <div class="section"> <a href="./privacy-policy/">Privacy Policy</a> </div> <div class="section copyright"> Copyright ©2024 Argano </div> </div> </div> </div> </footer><div class="background-media-wrapper background-image-wrapper"><img src="./userfiles/filemanager-format/full/rjwfle1e06s1t19vp9qr/?v=2023" alt="" /></div> <div id="expert-connect-widget" class="hidden"> <div class="prompt"> <div class="positioner"> <div class="header"> <div class="logo"><span class="text-hidden">Argano logo</span></div> <a href="javascript:;" class="close-prompt"><span class="text-hidden">Close Prompt</span></a> </div> <div class="content"> <div class="wysiwyg"> <h4>Have a question? Connect with an Argano expert!</h4> <p><span class="small">A subject matter expert will reach out to you within 24 hours.</span></p> </div> <div> <a href="./contact/connect-with-an-expert.html" class="button-filled"><span class="xsmall">Submit a request</span></a> </div> </div> <div class="note"> <span class="xsmall grey-70">We're committed to your privacy. Argano uses the information you provide to us to contact you about our relevant content, products, and services. For more information, check out our <a href="./privacy-policy/">privacy policy</a>.</span> </div> </div> </div> <a href="javascript:;" class="prompt-button"> <span class="text-hidden">Click to Connect with an Expert</span> </a> </div> <script defer> (function(){ const formCheck = document.querySelector('main .hbspt-form'); if(formCheck === null){ const connectPrompt = document.querySelector('#expert-connect-widget'); const connectButton = connectPrompt.querySelector('.prompt-button'); const closeConnectPrompt = connectPrompt.querySelector('.close-prompt'); connectPrompt.classList.remove('hidden'); function hideConnectPrompt(evt){ evt.preventDefault(); evt.stopPropagation(); connectPrompt.classList.remove('active'); setCookie('connectPromptHidden', 1, 1440, '/'); } function showConnectPrompt(){ connectPrompt.classList.add('active'); } function setCookie(name, value, expires, path, domain, secure) { const expires_date = new Date(); if (expires) expires_date.setTime(expires_date.getTime() + (expires * 1000 * 60)); document.cookie = name + "=" + escape(value) + (expires ? ";expires=" + expires_date.toGMTString() : "") + (path ? ";path=" + path : "") + (domain ? ";domain=" + domain : "") + (secure ? ";secure" : ""); } function getCookie(check_name) { const cookies = document.cookie.split(';'); for (i = 0; i < cookies.length; i++) { var parts = cookies[i].split('='); if (check_name == parts[0].replace(/^\s+|\s+$/g, '')) { if (parts.length > 1) return unescape(parts[1].replace(/^\s+|\s+$/g, '')); return true; } } return null; } window.addEventListener('load', function(){ connectButton.addEventListener('click', () => { connectPrompt.classList.toggle('active'); }); closeConnectPrompt.addEventListener('click', hideConnectPrompt); if(!connectPrompt.getAttribute('data-override-prompt')){ window.setTimeout(function() { if(!getCookie('connectPromptHidden')){ showConnectPrompt(); } }, 15000); } }); } })(); </script> </body> </html>