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);
New payment methods for subscriptions - SuperMemo show top banner:1 Main navigation 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 and over 200 courses for one month for free!
Until now, activation of the Premium subscription was only available through PayPal. We are very pleased to inform you that now you can also use card payments. How to activate the subscription using the new method?
Go to the Premium subscrisubscriptionsption page . Click on the button with the text: “Join free for a month”. When logged in, fill in your payment details, select the credit card payment and click “Continue”. Fill in the card details and confirm with the “Subscribe” button. Wait for the confirmation email and start learning! © 2026 SuperMemo World sp. z o.o. Icon chevron up <!---->