// 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

About Julie Redd

Julie is a Content Marketing Specialist at Activated Insights with experience in public relations and marketing. She has a background in speechwriting for over a thousand presentations, directing a center of public speaking coaches, and increasing social media engagement through digital media strategy. She is passionate about influencing public opinion to give a voice to the most vulnerable and seeks to help tell the story behind home care communication.

10 Employee Recognition Strategies to Transform Your Caregiving Business from a Thankful to Thriving Workplace

Nov 19, 2024|Articles, Grow Your Agency, Improve your Company|

Staff appreciation and recognition received the lowest satisfaction score for those working in the long-term and post-acute care industry. As customers are most satisfied with your care staff’s ability, for the first time in years, saying “thank you” has never been more detrimental to your staff's retention rate.

Home Care Pulse, Activated Insights and Pinnacle Quality Insights Unify Under the Activated Insights Brand

Oct 17, 2024|Articles, Latest News|

Home Care Pulse, Activated Insights and Pinnacle Quality Insights, all leaders in long-term and post-acute care technology, have consolidated under the unified brand name Activated Insights. The new brand marks a significant milestone, creating an integrated platform that delivers mission-critical applications and analytics to enhance care quality across the continuum of care. This strategic unification into one platform will enable faster, more efficient service delivery – leading to better decision-making and enhanced patient outcomes.