Thanks for contacting us! We'll get back to you as soon as possible.
Thanks for subscribing
(function() {
'use strict';
const CONFIG = {
popupDelay: 20000,
cookieName: 'sleep_popup_shown',
cookieDays: 7,
feedbackURL: 'https://www.anandaapothecary.com/products/sleep-tight-essential-oil-blend'
};
window.openFeedbackForm = function() {
window.open(CONFIG.feedbackURL, '_blank');
window.closePopup();
};
function initPopup() {
if (getCookie(CONFIG.cookieName)) {
return;
}
window.setTimeout(function() {
showPopup();
}, CONFIG.popupDelay);
}
if (document.readyState === 'loading') {
document.addEventListener(
'DOMContentLoaded',
initPopup
);
} else {
initPopup();
}
})();