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

This author has not yet filled in any details.
So far Danny Portal has created 119 blog entries.

Navigating 2024 Training Trends: How eLearning is Shaping Compliance and Growth

Feb 20, 2025|Webinars & Events|

Are you prepared to leverage the latest training trends to elevate compliance and enhance growth in 2025? Join Josh Kondik, VP of Sales Strategy and Development at Activated Insights for an insightful webinar on Navigating 2025 Training Trends, where industry experts discuss how eLearning is transforming training programs from a compliance necessity to a powerful tool for staff development and retention.

Unlocking Excellence – How Data-Driven Insights Transform Resident Satisfaction in Senior Care

Jan 29, 2025|Webinars & Events|

Wednesday, February 12th, 2025 @ 12PM EST
The heartbeat of great senior care is resident satisfaction. But how do senior living communities consistently measure, analyze, and improve the resident experience? Tune in to this 30-minute webinar to learn how data-driven insights can help your community enhance engagement, optimize operations, and drive better outcomes.