let utm = {}; let params = new URLSearchParams(document.location.href.split("?")[1]); ["utm_campaign", "utm_source", "utm_medium"].forEach((name) => { let val = params.get(name); if (val) { if (name === "utm_campaign" && window.location.pathname === "index-2.html") { val += `_v${params.get("v") || "1"}`; } document.cookie = `${name}=${val}; path=/; max-age=2592000; domain=nexo.io`; utm[name] = val; } }); if (Object.keys(utm).length > 0) { document.cookie = `utm_data=${JSON.stringify(utm)}; path=/; max-age=2592000; domain=nexo.io`; } if (!document.referrer.match(/:\/\/(.*\.)?nexo\./)) { document.cookie = `referer=${document.referrer}; path=/`; } let clickId = params.get('irclickid') if (clickId) { document.cookie = `irclickid=${clickId}; path=/; domain=nexo.io`; }

Blog

Follow Nexo’s blog for the latest news in the crypto space, industry insights, how-to guides, and product updates.