{"id":639,"date":"2024-09-17T11:32:21","date_gmt":"2024-09-17T09:32:21","guid":{"rendered":"https:\/\/principal.immune.institute\/?page_id=639"},"modified":"2025-12-30T11:14:18","modified_gmt":"2025-12-30T10:14:18","slug":"newsletter-ux-ui","status":"publish","type":"page","link":"https:\/\/immune.institute\/en\/newsletter-ux-ui\/","title":{"rendered":"Subscribe to the UX\/UI newsletter"},"content":{"rendered":"\n<section class=\"wp-block-cover alignfull is-style-section-dark\"><img decoding=\"async\" width=\"1024\" height=\"576\" class=\"wp-block-cover__image-background wp-image-1157 size-large\" alt=\"\" src=\"https:\/\/immune.institute\/wp-content\/uploads\/2024\/10\/ux_ui_fest-background-1024x576.webp\" data-object-fit=\"cover\" srcset=\"https:\/\/immune.institute\/wp-content\/uploads\/2024\/10\/ux_ui_fest-background-1024x576.webp 1024w, https:\/\/immune.institute\/wp-content\/uploads\/2024\/10\/ux_ui_fest-background-256x144.webp 256w, https:\/\/immune.institute\/wp-content\/uploads\/2024\/10\/ux_ui_fest-background-512x288.webp 512w, https:\/\/immune.institute\/wp-content\/uploads\/2024\/10\/ux_ui_fest-background-768x432.webp 768w, https:\/\/immune.institute\/wp-content\/uploads\/2024\/10\/ux_ui_fest-background-1536x864.webp 1536w, https:\/\/immune.institute\/wp-content\/uploads\/2024\/10\/ux_ui_fest-background-18x10.webp 18w, https:\/\/immune.institute\/wp-content\/uploads\/2024\/10\/ux_ui_fest-background.webp 1921w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-100 has-background-dim wp-block-cover__gradient-background has-background-gradient has-dark-gradient-background\"><\/span><div class=\"wp-block-cover__inner-container is-layout-constrained wp-block-cover-is-layout-constrained\">\n<div class=\"wp-block-group alignwide is-style-section-inner is-layout-grid wp-container-core-group-is-layout-d2bc887f wp-block-group-is-layout-grid is-style-section-inner--1\" style=\"border-style:none;border-width:0px\">\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-f67d6286 wp-block-group-is-layout-flex\"><h1 class=\"is-style-prose wp-block-post-title\">Suscr\u00edbete a la newsletter de UX\/UI<\/h1><\/div>\n\n\n\n<div id=\"suscripcion-newsletter\" class=\"wp-block-group glass is-style-card-light wp-container-content-5e2576f9 is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-b2e1d511 wp-block-group-is-layout-flex is-style-card-light--2\"><script>(function(){const UTM_KEYS=[\"utm_source\",\"utm_medium\",\"utm_campaign\",\"utm_term\",\"utm_content\"],SS_KEY=\"utm_params_session\",REGION=\"na1\",PORTALID=\"6604339\",FORMID=\"c99f75b7-186b-4c02-bea8-efd58eec53c7\",FIELD_MAP={};function readUtmFromURL(){const o={},t=new URLSearchParams(window.location.search);t.forEach((v,k)=>{if(k.toLowerCase().startsWith(\"utm_\"))o[k]=v});return o}function readSS(){try{return JSON.parse(sessionStorage.getItem(SS_KEY)||\"{}\")}catch{return{}}}function saveSS(o){try{sessionStorage.setItem(SS_KEY,JSON.stringify(o))}catch{}}function getEffectiveUtm(){const fromURL=readUtmFromURL(),fromSS=readSS(),merged={...fromSS,...fromURL};if(Object.keys(fromURL).length)saveSS(merged);const out={};UTM_KEYS.forEach(k=>{if(merged[k])out[k]=String(merged[k])});return out}function getUrlFields(){const out={},params=new URLSearchParams(window.location.search);params.forEach((v,k)=>{if(!k.toLowerCase().startsWith(\"utm_\")){const realKey=FIELD_MAP[k];if(realKey)out[realKey]=v}});return out}function toFormElement(o){if(o&&typeof o.querySelector===\"function\")return o;if(o&&typeof o.get===\"function\"){const t=o.get(0);if(t?.querySelector)return t}if(Array.isArray(o)&&o[0]?.querySelector)return o[0];if(o?.element?.querySelector)return o.element;if(o?.el?.querySelector)return o.el;return document.querySelector(\"form.hs-form[data-form-id]\")||document.querySelector(\"form.hs-form\")||document.querySelector(\"form\")}function fillUtmFields(form,data){if(!form||!Object.keys(data).length)return;UTM_KEYS.forEach(k=>{const v=data[k];if(!v)return;const el=form.querySelector(`[name=\"${k}\"]`);if(el&&el.value!==String(v)){el.value=String(v);el.dispatchEvent(new Event(\"input\",{bubbles:true}));el.dispatchEvent(new Event(\"change\",{bubbles:true}))}})}function fillSelectFields(form,data){if(!form||!Object.keys(data).length)return;Object.entries(data).forEach(([name,value])=>{const strVal=String(value);const sel=form.querySelector(`select[name=\"${name}\"]`);if(!sel)return;const opt=[...sel.options].find(o=>o.value===strVal)||[...sel.options].find(o=>o.value.toLowerCase()===strVal.toLowerCase());if(opt){sel.value=opt.value;sel.dispatchEvent(new Event(\"change\",{bubbles:true}))}})}function setupCartaValidation(form){const cartaInput=form.querySelector('[name=\"carta_de_motivacion\"]');const submitBtn=form.querySelector('input[type=\"submit\"]');if(!cartaInput||!submitBtn)return;const check=()=>{const len=cartaInput.value.trim().length;const container=cartaInput.closest(\".hs-form-field\");if(len<10){submitBtn.disabled=true;submitBtn.style.cursor=\"not-allowed\";if(len>0&&container){cartaInput.classList.add(\"invalid\",\"error\");let ul=container.querySelector(\".hs-error-msgs\");if(!ul){ul=document.createElement(\"ul\");ul.className=\"no-list hs-error-msgs inputs-list custom-created\";ul.setAttribute(\"role\",\"alert\");const inp=container.querySelector(\".input\");inp?inp.parentNode.insertBefore(ul,inp.nextSibling):container.appendChild(ul)}if(!ul.querySelector(\".custom-length-error\")){const li=document.createElement(\"li\");li.className=\"custom-length-error\";li.innerHTML='<label class=\"hs-error-msg hs-main-font-element\">Debes escribir al menos 10 caracteres.<\/label>';ul.appendChild(li)}}}else{submitBtn.disabled=false;submitBtn.style.cursor=\"pointer\";cartaInput.classList.remove(\"invalid\",\"error\");container?.querySelector(\".custom-length-error\")?.remove();const ul=container?.querySelector(\".hs-error-msgs.custom-created\");if(ul&&!ul.children.length)ul.remove()}};check();cartaInput.addEventListener(\"input\",check)}function initForm(){hbspt.forms.create({region:REGION,portalId:PORTALID,formId:FORMID,onFormReady(o){const form=toFormElement(o);fillUtmFields(form,getEffectiveUtm());fillSelectFields(form,getUrlFields());setupCartaValidation(form)},onFormSubmit(o){fillUtmFields(toFormElement(o),getEffectiveUtm());try{sessionStorage.removeItem(SS_KEY)}catch{}}})}function ensureHubspotReady(fn){if(window.hbspt?.forms?.create)return fn();const t=setInterval(()=>{if(window.hbspt?.forms?.create){clearInterval(t);fn()}},50);setTimeout(()=>clearInterval(t),10000)}ensureHubspotReady(initForm)})();<\/script>\n<\/div>\n<\/div>\n<\/div><\/section>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"ai_generated_summary":"","footnotes":""},"class_list":["post-639","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/pages\/639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/comments?post=639"}],"version-history":[{"count":0,"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/pages\/639\/revisions"}],"wp:attachment":[{"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/media?parent=639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}