Let’s start your company’s journey to mental health

nilo is a personalized, on-demand mental health support platform for your team.

Give your whole team easy access to 500+ psychologists, group sessions, and self-guided learning tools via our digital platform.

Complete the form to schedule your free demo with a member of our team.

I often get feedback that employees have improved their well-being since using the platform and have gained added value both personally and professionally.

Dennis Duras

Dennis Duras

Company Health & Safety Manager, Jack Wolfskin

“From an HR perspective, nilo definitely also supports employee retention and satisfaction.”

Michelle Germes

Michelle Germes

People Business Partner, Kienbaum

“Since adopting nilo, our team’s wellbeing has increased by 25 points (Peakon Score), while absences have dropped consistently.”

emily-image

Emily Gawlik

Head of People & Culture, Forto

“We were able to record a reduction in the number of long-term sick people in the last rotation. That’s a great success!”

Andre Stroeher

André Ströher

Head of Academy, WIRmachenDRUCK

function getCookie(cname) {
let name = cname + “=”;
let decodedCookie = decodeURIComponent(document.cookie);
let ca = decodedCookie.split(‘;’);
for (let i = 0; i < ca.length; i++) {
let c = ca[i];
while (c.charAt(0) === ' ') {
c = c.substring(1);
}
if (c.indexOf(name) === 0) {
return c.substring(name.length, c.length);
}
}
return "";
}

function setHiddenFormData(name, value) {
let selector = "input[name='" + name + "']";
let field = document.querySelector(selector);
if (!field) return;
if (!field.value) {
field.value = value;
}
}

function setUTMFormData(name) {
setHiddenFormData(name, getCookie(name));
}

// Default redirect URL and mapping for `numemployees` values
let redirectUrl = 'https://nilohealth.com/thank-you-page/';
const redirectUrls = {
'': 'https://nilohealth.com/thank-you-page/',
'0-50': 'https://nilohealth.com/thank-you-with-calendar-50/',
'50-100': 'https://nilohealth.com/thank-you-with-calendar-50/', // 51-200
'100-250': 'https://nilohealth.com/thank-you-with-calendar/', // 201-500
'250-1000': 'https://nilohealth.com/thank-you-with-calendar/', // 501-1000
'1000-5000': 'https://nilohealth.com/thank-you-with-calendar/', // 1001-5000
'5000-10000': 'https://nilohealth.com/thank-you-with-calendar-2/', // 5001-10000
'10000+': 'https://nilohealth.com/thank-you-with-calendar-2/' // 10000+
};

// Function to determine the correct redirect URL
function testNumemployees(numemployees) {
console.log("numemployees value:", numemployees);
redirectUrl = redirectUrls[numemployees] || 'https://nilohealth.com/thank-you-page/';
}

hbspt.forms.create({
region: "na1",
portalId: "8346198",
formId: "96bffe69-db53-4f75-84ed-4bfc0e36183b",
inlineMessage: 'Thank you!',
onFormReady: function($form) {
const formId = '96bffe69-db53-4f75-84ed-4bfc0e36183b';
let numemployeesFieldElement = document.querySelector(`#numemployees-${formId}`);

if (!numemployeesFieldElement) {
console.error("numemployees field not found!");
return;
}

// Set initial redirect URL based on field value
testNumemployees(numemployeesFieldElement.value);

// Update redirect URL when the field value changes
numemployeesFieldElement.addEventListener("change", function() {
testNumemployees(numemployeesFieldElement.value);
});

// Set UTM and custom data from cookies
setUTMFormData("utm_source");
setUTMFormData("utm_medium");
setUTMFormData("utm_campaign");
setUTMFormData("utm_content");
setUTMFormData("utm_term");
setHiddenFormData("acid", getCookie("_ga"));

let submitButton = document.querySelector(`#hsForm_${formId} input[type="submit"], #hsForm_${formId} button`);
if (submitButton) {
submitButton.id = "cta-contact"; // Unique ID for this contact page button
console.log("Submit button ID set:", submitButton.id);
} else {
console.error("Submit button not found!");
}
},
onFormSubmitted: function() {
console.log("Form submitted! Redirecting to:", redirectUrl);
window.location.href = redirectUrl;
}
});

i