// Function to get URL parameter function getUrlParameter(name) { name = name.replace(/[\[\]]/g, '\\$&'); const url = window.location.href; const regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'); const results = regex.exec(url); if (!results) return null; if (!results[2]) return ''; return decodeURIComponent(results[2].replace(/\+/g, ' ')); } // Function to close the pop-up function closePopup() { document.getElementById('popup').style.display = 'none'; document.getElementById('overlay').style.display = 'none'; } // Function to display the pop-up function displayPopup(message) { const overlayElement = document.createElement('div'); overlayElement.id = 'overlay'; overlayElement.style.display = 'block'; overlayElement.style.position = 'fixed'; overlayElement.style.top = '0'; overlayElement.style.left = '0'; overlayElement.style.width = '100%'; overlayElement.style.height = '100%'; overlayElement.style.backgroundColor = 'rgba(0, 0, 0, 0.5)'; overlayElement.style.zIndex = '999'; const popupElement = document.createElement('div'); popupElement.id = 'popup'; popupElement.style.display = 'block'; popupElement.style.position = 'fixed'; popupElement.style.top = '50%'; popupElement.style.left = '50%'; popupElement.style.transform = 'translate(-50%, -50%)'; popupElement.style.padding = '20px'; popupElement.style.backgroundColor = '#fff'; popupElement.style.boxShadow = '0 0 10px rgba(0, 0, 0, 0.5)'; popupElement.style.zIndex = '1000'; popupElement.style.borderRadius = '15px'; popupElement.style.width = '90%'; // Default width for mobile // Set max-width for larger screens popupElement.style.maxWidth = '500px'; const messageParagraph = document.createElement('p'); messageParagraph.innerHTML = message; const closeButton = document.createElement('button'); closeButton.textContent = 'Close'; closeButton.style.marginTop = '10px'; closeButton.onclick = closePopup; popupElement.appendChild(messageParagraph); popupElement.appendChild(closeButton); document.body.appendChild(overlayElement); document.body.appendChild(popupElement); } document.addEventListener('DOMContentLoaded', function () { console.log("Script Loaded"); const referrer = document.referrer; const referrerParam = getUrlParameter('referrer'); console.log("Referrer:", referrer); console.log("Referrer Param:", referrerParam); const referrerPatterns = [ /homecarepulse\.com/, /pinnacleqi\.com/, /retainyouremployees\.com/ ]; const isReferrerMatch = referrerPatterns.some(pattern => { const match = pattern.test(referrer) || (referrerParam && pattern.test(referrerParam)); console.log("Checking pattern:", pattern, "against referrer:", referrer, "or referrerParam:", referrerParam, "-> Match:", match); return match; }); console.log("Is Referrer Match:", isReferrerMatch); if (isReferrerMatch) { console.log("Displaying Pop-up"); const message = ` Welcome to Activated Insights.
Home Care Pulse, Pinnacle Quality Insight, and Pre-Intent are now united under one brand and one name.

Discover how Activated Insights will continue to help you make the most of every care experience, across the entire continuum of care.

Current users: Log in with your existing username and password at activatedinsights.com. `; displayPopup(message); } });

Login   |   877.307.8573   |   Contact Us

Login   |   877.307.8573   |   Contact Us

Training

Post-Acute & Long-term Care Leadership 101: How Motivating Your Staff to Complete Their Training Begins with You

Jan 8, 2025|Articles, Attract & Retain Caregivers, Care For Your Clients, Improve your Company, Training|

If you’re dreading reminding your staff about their required annual training, you’re not alone—but you may be part of the problem. Enhance staff engagement and retention with these tips and resources to become a motivational leader in post-acute and long-term care.