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 "";
}
//const loggedIn = getCookie("JWT-TOKEN");
//if(loggedIn.length){
//newUrl = new URL(window.location.href);
//if(!newUrl.searchParams.has("cd")) {
// newUrl.searchParams.set("cd", true);
//window.location.href = newUrl.href;
//}
//}<!--(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PDKTG5L');--><!-- --><!--
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:3277744,hjsv:6};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
-->
function analyticsInit() {if (window.gtmDidInit) {
return false;
}
window.gtmDidInit = true;
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PDKTG5L');(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:3277744,hjsv:6};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');var googleOptimize = document.createElement('script');
googleOptimize .setAttribute('src','https://www.googleoptimize.com/optimize.js?id=OPT-KHT7PBM');
document.head.appendChild(googleOptimize);
};
document.addEventListener('scroll', analyticsInit);
document.addEventListener('mousemove', analyticsInit);
document.addEventListener('touchstart', analyticsInit);
Android app update on Google Play - SuperMemo show top banner:1 Main navigation Android app update on Google Play The latest update of the SuperMemo.com app for Android is now available on Google Play.
What’s new?
Much faster download of courses Bug fixes And most importantly, learning with the Olive Green course! Click here to find all SuperMemo.com apps ready for download to your device.
Enjoy learning with SuperMemo.com!
The SuperMemo Team
Related Posts New payment methods for subscriptions Now activation of the SuperMemo.com Premium subscription is even easier! Add your payment card as a payment method and enjoy your access to 18 languages...
© 2026 SuperMemo World sp. z o.o. Icon chevron up <!---->