{"id":96620,"date":"2025-11-04T15:48:08","date_gmt":"2025-11-04T13:48:08","guid":{"rendered":"https:\/\/cargotrack.ro\/?page_id=96620"},"modified":"2025-11-04T16:02:05","modified_gmt":"2025-11-04T14:02:05","slug":"marketing-investment","status":"publish","type":"page","link":"https:\/\/cargotrack.ro\/en\/cat-investesc-in-mk\/","title":{"rendered":"how much I invest in mk"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"96620\" class=\"elementor elementor-96620\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-8917c9d e-flex e-con-boxed e-con e-parent\" data-id=\"8917c9d\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7ec17aa elementor-widget elementor-widget-html\" data-id=\"7ec17aa\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<!DOCTYPE html>\n<html lang=\"ro\">\n<head>\n  <meta charset=\"UTF-8\" \/>\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" \/>\n  <title>Calculator KPI \u2013 Leaduri \u00b7 Clien\u021bi \u00b7 Buget \u00b7 ROI<\/title>\n  <style>\n    :root{\n      --bg:#0f1115;--panel:#181b22;--muted:#8b93a7;--text:#e6e8ee;--accent:#62d66a;--accent2:#5aa7ff;--danger:#ff6b6b;\n    }\n    *{box-sizing:border-box}\n    html,body{height:100%}\n    body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:linear-gradient(180deg,#0f1115,#0b0d12);color:var(--text)}\n    .container{max-width:1100px;margin:40px auto;padding:0 16px}\n    .grid{display:grid;grid-template-columns:repeat(12,1fr);gap:18px}\n    .card{grid-column:span 12;background:var(--panel);border:1px solid #232838;border-radius:16px;padding:18px 18px 14px}\n    @media(min-width:820px){.span-4{grid-column:span 4}.span-6{grid-column:span 6}.span-8{grid-column:span 8}.span-12{grid-column:span 12}}\n    h1{font-size:clamp(22px,3.2vw,30px);margin:0 0 8px}\n    p.lead{margin:0 0 22px;color:var(--muted)}\n    .row{display:grid;grid-template-columns:1fr 1fr;gap:12px}\n    .field{display:flex;flex-direction:column;gap:8px;margin:8px 0}\n    label{font-size:12px;color:#a8b0c2}\n    input,select{background:#0e1118;border:1px solid #252a39;border-radius:10px;padding:12px 12px;color:var(--text);outline:none;font-size:14px}\n    input:focus,select:focus{border-color:#3a9bff;box-shadow:0 0 0 2px rgba(58,155,255,.15)}\n    .help{font-size:12px;color:#9aa3b7}\n    .pill{display:inline-flex;gap:10px;align-items:center;background:#0e1118;border:1px solid #252a39;border-radius:999px;padding:8px 10px}\n    .btn{cursor:pointer;user-select:none;background:#0e1118;border:1px solid #2b3143;color:#e8ecf6;border-radius:12px;padding:10px 14px;font-weight:600}\n    .btn.primary{background:linear-gradient(90deg,#4ecb71,#24a2ff);border-color:#3b83ff;color:#0a1222}\n    .btn.ghost{background:transparent}\n    .stack{display:flex;gap:10px;flex-wrap:wrap}\n    .kpi{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}\n    @media(min-width:720px){.kpi{grid-template-columns:repeat(4,1fr)}}\n    .kpi .tile{background:#0e1118;border:1px solid #262b3a;border-radius:14px;padding:14px}\n    .tile h3{margin:0 0 6px;font-size:12px;font-weight:600;color:#9aa3b7;letter-spacing:.4px;text-transform:uppercase}\n    .tile .big{font-size: clamp(18px,3.5vw,26px);font-weight:800}\n    .sub{font-size:12px;color:#a0aac0;margin-top:4px}\n    .muted{color:#a0aac0}\n    .foot{display:flex;justify-content:space-between;align-items:center;margin-top:8px;color:#9aa3b7;font-size:12px}\n    .warn{color:var(--danger)}\n  <\/style>\n<\/head>\n<body>\n  <div class=\"container\">\n    <h1>Calculator KPI \u2013 Leaduri \u00b7 Clien\u021bi \u00b7 Buget \u00b7 ROI<\/h1>\n    <p class=\"lead\">Porne\u0219te de la conversie \u0219i CPL pentru a estima c\u00e2te <strong>leaduri<\/strong> \u0219i ce <strong>buget<\/strong> sunt necesare pentru un venit \u021bint\u0103 sau un num\u0103r \u021bint\u0103 de clien\u021bi. Valorile sunt precompletate cu rezultatele tale.<\/p>\n\n    <div class=\"grid\">\n      <!-- Set\u0103ri obiectiv -->\n      <section class=\"card span-6\">\n        <div class=\"stack\" role=\"group\" aria-label=\"Tip obiectiv\">\n          <span class=\"pill\"><input type=\"radio\" name=\"goal\" id=\"goal-rev\" checked><label for=\"goal-rev\">Obiectiv: Venit<\/label><\/span>\n          <span class=\"pill\"><input type=\"radio\" name=\"goal\" id=\"goal-clients\"><label for=\"goal-clients\">Obiectiv: Clien\u021bi<\/label><\/span>\n        <\/div>\n        <div class=\"field\" id=\"target-revenue-wrap\">\n          <label for=\"targetRevenue\">Venit \u021bint\u0103 (lei)<\/label>\n          <input type=\"number\" id=\"targetRevenue\" min=\"0\" step=\"100\" value=\"4000000\" \/>\n          <div class=\"help\">Ex.: 4.000.000 lei<\/div>\n        <\/div>\n        <div class=\"field\" id=\"target-clients-wrap\" style=\"display:none\">\n          <label for=\"targetClients\">Clien\u021bi \u021bint\u0103 (num\u0103r)<\/label>\n          <input type=\"number\" id=\"targetClients\" min=\"0\" step=\"1\" value=\"3833\" \/>\n        <\/div>\n        <div class=\"foot\">\n          <button class=\"btn primary\" id=\"calc\">Calculeaz\u0103<\/button>\n          <div class=\"stack\">\n            <button class=\"btn ghost\" id=\"useBaseline\">Preia valorile curente<\/button>\n            <button class=\"btn ghost\" id=\"resetDefaults\">Reset<\/button>\n          <\/div>\n        <\/div>\n      <\/section>\n\n      <!-- Parametri performan\u021b\u0103 -->\n      <section class=\"card span-6\">\n        <div class=\"row\">\n          <div class=\"field\">\n            <label for=\"conv\">Rat\u0103 conversie lead \u2192 client (%)<\/label>\n            <input type=\"number\" id=\"conv\" min=\"0\" max=\"100\" step=\"0.01\" value=\"46.49\" \/>\n            <div class=\"help\">Procentul leadurilor care devin clien\u021bi<\/div>\n          <\/div>\n          <div class=\"field\">\n            <label for=\"cpl\">Cost per lead \u2013 CPL (lei)<\/label>\n            <input type=\"number\" id=\"cpl\" min=\"0\" step=\"0.01\" value=\"58.43\" \/>\n            <div class=\"help\">Buget \/ lead<\/div>\n          <\/div>\n        <\/div>\n        <div class=\"row\">\n          <div class=\"field\">\n            <label for=\"arpu\">Venit mediu per client \u2013 ARPU (lei)<\/label>\n            <input type=\"number\" id=\"arpu\" min=\"0\" step=\"0.01\" value=\"1043.26\" \/>\n            <div class=\"help\">Venit mediu pe client (din v\u00e2nz\u0103ri)<\/div>\n          <\/div>\n          <div class=\"field\">\n            <label for=\"cac\">CAC calculat (lei)<\/label>\n            <input type=\"number\" id=\"cac\" value=\"125.70\" disabled \/>\n            <div class=\"help\">Derivat automat: CAC = CPL \/ (Conversie)<\/div>\n          <\/div>\n        <\/div>\n      <\/section>\n\n      <!-- Rezultate -->\n      <section class=\"card span-12\">\n        <div class=\"kpi\">\n          <div class=\"tile\">\n            <h3>Clien\u021bi necesari<\/h3>\n            <div class=\"big\" id=\"kClients\">\u2013<\/div>\n            <div class=\"sub\">rezulta\u021bi din obiectiv \u0219i ARPU<\/div>\n          <\/div>\n          <div class=\"tile\">\n            <h3>Leaduri necesare<\/h3>\n            <div class=\"big\" id=\"kLeads\">\u2013<\/div>\n            <div class=\"sub\">clien\u021bi \/ (conversie)<\/div>\n          <\/div>\n          <div class=\"tile\">\n            <h3>Buget estimat<\/h3>\n            <div class=\"big\" id=\"kBudget\">\u2013<\/div>\n            <div class=\"sub\">leaduri \u00d7 CPL<\/div>\n          <\/div>\n          <div class=\"tile\">\n            <h3>ROI estimat<\/h3>\n            <div class=\"big\" id=\"kRoi\">\u2013<\/div>\n            <div class=\"sub\">(venit \u2212 cost) \/ cost<\/div>\n          <\/div>\n        <\/div>\n      <\/section>\n\n      <!-- Baz\u0103 actual\u0103 -->\n      <section class=\"card span-12\">\n        <h2 style=\"margin:6px 0 10px;font-size:16px;color:#a0aac0\">Valorile tale de referin\u021b\u0103 (perioada 1 Oct 2024 \u2013 1 Oct 2025)<\/h2>\n        <div class=\"kpi\">\n          <div class=\"tile\"><h3>Leaduri generate<\/h3><div class=\"big\">4.227<\/div><\/div>\n          <div class=\"tile\"><h3>Clien\u021bi finali<\/h3><div class=\"big\">1.965<\/div><\/div>\n          <div class=\"tile\"><h3>Rat\u0103 conversie<\/h3><div class=\"big\">46,49%<\/div><\/div>\n          <div class=\"tile\"><h3>Buget total<\/h3><div class=\"big\">246.982 lei<\/div><\/div>\n          <div class=\"tile\"><h3>CPL<\/h3><div class=\"big\">58,43 lei<\/div><\/div>\n          <div class=\"tile\"><h3>CAC (calculat)<\/h3><div class=\"big\">125,70 lei<\/div><\/div>\n          <div class=\"tile\"><h3>Venit total<\/h3><div class=\"big\">2.050.000 lei<\/div><\/div>\n          <div class=\"tile\"><h3>ARPU<\/h3><div class=\"big\">1.043,26 lei<\/div><\/div>\n        <\/div>\n      <\/section>\n    <\/div>\n  <\/div>\n\n  <script>\n    const fmt = (n, style='decimal', max=0) => {\n      const opts = style==='currency'?{style:'currency',currency:'RON',maximumFractionDigits:max}:{maximumFractionDigits:max};\n      return new Intl.NumberFormat('ro-RO', opts).format(n);\n    };\n\n    const $ = (id)=>document.getElementById(id);\n\n    const recalcCAC = ()=>{\n      const conv = Math.max(0, Math.min(100, parseFloat($(\"conv\").value)||0));\n      const cpl  = Math.max(0, parseFloat($(\"cpl\").value)||0);\n      const convDec = conv\/100;\n      const cac = convDec>0 ? cpl\/convDec : 0;\n      $(\"cac\").value = cac.toFixed(2);\n    };\n\n    const toggleGoal = ()=>{\n      const byRevenue = $(\"goal-rev\").checked;\n      $(\"target-revenue-wrap\").style.display = byRevenue?\"block\":\"none\";\n      $(\"target-clients-wrap\").style.display = byRevenue?\"none\":\"block\";\n    };\n\n    function calculate(){\n      const conv = Math.max(0, Math.min(100, parseFloat($(\"conv\").value)||0));\n      const cpl  = Math.max(0, parseFloat($(\"cpl\").value)||0);\n      const arpu = Math.max(0, parseFloat($(\"arpu\").value)||0);\n      const convDec = conv\/100;\n\n      let targetClients, targetRevenue;\n      if($(\"goal-rev\").checked){\n        targetRevenue = Math.max(0, parseFloat($(\"targetRevenue\").value)||0);\n        targetClients = arpu>0 ? targetRevenue \/ arpu : 0;\n      } else {\n        targetClients = Math.max(0, parseFloat($(\"targetClients\").value)||0);\n        targetRevenue = targetClients * arpu;\n      }\n\n      const leadsNeeded = convDec>0 ? targetClients \/ convDec : 0;\n      const budget = leadsNeeded * cpl;\n      const roi = budget>0 ? (targetRevenue - budget) \/ budget : 0;\n\n      $(\"kClients\").textContent = fmt(Math.round(targetClients));\n      $(\"kLeads\").textContent   = fmt(Math.round(leadsNeeded));\n      $(\"kBudget\").textContent  = fmt(budget, 'currency');\n      $(\"kRoi\").textContent     = (roi*100).toFixed(1) + \"%\";\n    }\n\n    \/\/ Buttons\n    $(\"calc\").addEventListener('click', calculate);\n    $(\"goal-rev\").addEventListener('change', toggleGoal);\n    $(\"goal-clients\").addEventListener('change', toggleGoal);\n\n    [\"conv\",\"cpl\"].forEach(id=>$(id).addEventListener('input',recalcCAC));\n\n    $(\"resetDefaults\").addEventListener('click', ()=>{\n      $(\"goal-rev\").checked = true;\n      toggleGoal();\n      $(\"targetRevenue\").value = 4000000;\n      $(\"targetClients\").value = 3833;\n      $(\"conv\").value = 46.49;\n      $(\"cpl\").value  = 58.43;\n      $(\"arpu\").value = 1043.26;\n      recalcCAC();\n      calculate();\n    });\n\n    $(\"useBaseline\").addEventListener('click', ()=>{\n      \/\/ Recalculeaz\u0103 ARPU din baza actual\u0103 pentru robuste\u021be\n      const baselineRevenue = 2050000;\n      const baselineClients = 1965;\n      const baselineARPU = baselineClients>0 ? baselineRevenue \/ baselineClients : 0;\n\n      $(\"conv\").value = 46.49;\n      $(\"cpl\").value  = 58.43;\n      $(\"arpu\").value = baselineARPU.toFixed(2);\n      recalcCAC();\n      calculate();\n    });\n\n    \/\/ Init\n    recalcCAC();\n    calculate();\n  <\/script>\n<\/body>\n<\/html>\n\n<!-- ========================= -->\n<!-- WORDPRESS EMBED VARIANTA  -->\n<!-- Pasteaz\u0103 DOAR de aici \u00een blocul \u201cCustom HTML\u201d \/ Elementor HTML.  -->\n<!-- Codul este namespaced (#kpi-app) ca s\u0103 nu fie stricat de tema WP.  -->\n\n<style id=\"kpi-calculator-wp-styles\">\n  #kpi-app{--bg:#0f1115;--panel:#181b22;--muted:#8b93a7;--text:#e6e8ee;--accent:#62d66a;--accent2:#5aa7ff;--danger:#ff6b6b;background:linear-gradient(180deg,#0f1115,#0b0d12);padding:24px;border-radius:12px}\n  #kpi-app *{box-sizing:border-box;color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif}\n  #kpi-app h1{font-size:clamp(22px,3.2vw,30px);margin:0 0 8px}\n  #kpi-app p.lead{margin:0 0 22px;color:var(--muted)}\n  #kpi-app .grid{display:grid;grid-template-columns:repeat(12,1fr);gap:18px}\n  #kpi-app .card{grid-column:span 12;background:var(--panel);border:1px solid #232838;border-radius:16px;padding:18px}\n  @media(min-width:820px){#kpi-app .span-6{grid-column:span 6}#kpi-app .span-12{grid-column:span 12}}\n  #kpi-app .row{display:grid;grid-template-columns:1fr 1fr;gap:12px}\n  #kpi-app .field{display:flex;flex-direction:column;gap:8px;margin:8px 0}\n  #kpi-app label{font-size:12px;color:#a8b0c2}\n  #kpi-app input,#kpi-app select{background:#0e1118;border:1px solid #252a39;border-radius:10px;padding:12px 12px;color:var(--text);outline:none;font-size:14px}\n  #kpi-app input:focus,#kpi-app select:focus{border-color:#3a9bff;box-shadow:0 0 0 2px rgba(58,155,255,.15)}\n  #kpi-app .help{font-size:12px;color:#9aa3b7}\n  #kpi-app .pill{display:inline-flex;gap:10px;align-items:center;background:#0e1118;border:1px solid #252a39;border-radius:999px;padding:8px 10px}\n  #kpi-app .btn{cursor:pointer;user-select:none;background:#0e1118;border:1px solid #2b3143;color:#e8ecf6;border-radius:12px;padding:10px 14px;font-weight:600}\n  #kpi-app .btn.primary{background:linear-gradient(90deg,#4ecb71,#24a2ff);border-color:#3b83ff;color:#0a1222}\n  #kpi-app .btn.ghost{background:transparent}\n  #kpi-app .stack{display:flex;gap:10px;flex-wrap:wrap}\n  #kpi-app .kpi{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}\n  @media(min-width:720px){#kpi-app .kpi{grid-template-columns:repeat(4,1fr)}}\n  #kpi-app .kpi .tile{background:#0e1118;border:1px solid #262b3a;border-radius:14px;padding:14px}\n  #kpi-app .tile h3{margin:0 0 6px;font-size:12px;font-weight:600;color:#9aa3b7;letter-spacing:.4px;text-transform:uppercase}\n  #kpi-app .tile .big{font-size:clamp(18px,3.5vw,26px);font-weight:800}\n  #kpi-app .sub{font-size:12px;color:#a0aac0;margin-top:4px}\n<\/style>\n\n<div id=\"kpi-app\">\n  <h1>Calculator KPI \u2013 Leaduri \u00b7 Clien\u021bi \u00b7 Buget \u00b7 ROI<\/h1>\n  <p class=\"lead\">Porne\u0219te de la conversie \u0219i CPL pentru a estima c\u00e2te <strong>leaduri<\/strong> \u0219i ce <strong>buget<\/strong> sunt necesare pentru un venit \u021bint\u0103 sau un num\u0103r \u021bint\u0103 de clien\u021bi. Valorile sunt precompletate cu rezultatele tale.<\/p>\n\n  <div class=\"grid\">\n    <section class=\"card span-6\">\n      <div class=\"stack\" role=\"group\" aria-label=\"Tip obiectiv\">\n        <span class=\"pill\"><input type=\"radio\" name=\"goal\" id=\"wp-goal-rev\" checked><label for=\"wp-goal-rev\">Obiectiv: Venit<\/label><\/span>\n        <span class=\"pill\"><input type=\"radio\" name=\"goal\" id=\"wp-goal-clients\"><label for=\"wp-goal-clients\">Obiectiv: Clien\u021bi<\/label><\/span>\n      <\/div>\n      <div class=\"field\" id=\"wp-target-revenue-wrap\">\n        <label for=\"wp-targetRevenue\">Venit \u021bint\u0103 (lei)<\/label>\n        <input type=\"number\" id=\"wp-targetRevenue\" min=\"0\" step=\"100\" value=\"4000000\" \/>\n        <div class=\"help\">Ex.: 4.000.000 lei<\/div>\n      <\/div>\n      <div class=\"field\" id=\"wp-target-clients-wrap\" style=\"display:none\">\n        <label for=\"wp-targetClients\">Clien\u021bi \u021bint\u0103 (num\u0103r)<\/label>\n        <input type=\"number\" id=\"wp-targetClients\" min=\"0\" step=\"1\" value=\"3833\" \/>\n      <\/div>\n      <div class=\"stack\">\n        <button class=\"btn primary\" id=\"wp-calc\">Calculeaz\u0103<\/button>\n        <button class=\"btn ghost\" id=\"wp-useBaseline\">Preia valorile curente<\/button>\n        <button class=\"btn ghost\" id=\"wp-resetDefaults\">Reset<\/button>\n      <\/div>\n    <\/section>\n\n    <section class=\"card span-6\">\n      <div class=\"row\">\n        <div class=\"field\">\n          <label for=\"wp-conv\">Rat\u0103 conversie lead \u2192 client (%)<\/label>\n          <input type=\"number\" id=\"wp-conv\" min=\"0\" max=\"100\" step=\"0.01\" value=\"46.49\" \/>\n          <div class=\"help\">Procentul leadurilor care devin clien\u021bi<\/div>\n        <\/div>\n        <div class=\"field\">\n          <label for=\"wp-cpl\">Cost per lead \u2013 CPL (lei)<\/label>\n          <input type=\"number\" id=\"wp-cpl\" min=\"0\" step=\"0.01\" value=\"58.43\" \/>\n          <div class=\"help\">Buget \/ lead<\/div>\n        <\/div>\n      <\/div>\n      <div class=\"row\">\n        <div class=\"field\">\n          <label for=\"wp-arpu\">Venit mediu per client \u2013 ARPU (lei)<\/label>\n          <input type=\"number\" id=\"wp-arpu\" min=\"0\" step=\"0.01\" value=\"1043.26\" \/>\n          <div class=\"help\">Venit mediu pe client (din v\u00e2nz\u0103ri)<\/div>\n        <\/div>\n        <div class=\"field\">\n          <label for=\"wp-cac\">CAC calculat (lei)<\/label>\n          <input type=\"number\" id=\"wp-cac\" value=\"125.70\" disabled \/>\n          <div class=\"help\">Derivat automat: CAC = CPL \/ (Conversie)<\/div>\n        <\/div>\n      <\/div>\n    <\/section>\n\n    <section class=\"card span-12\">\n      <div class=\"kpi\">\n        <div class=\"tile\"><h3>Clien\u021bi necesari<\/h3><div class=\"big\" id=\"wp-kClients\">\u2013<\/div><div class=\"sub\">rezulta\u021bi din obiectiv \u0219i ARPU<\/div><\/div>\n        <div class=\"tile\"><h3>Leaduri necesare<\/h3><div class=\"big\" id=\"wp-kLeads\">\u2013<\/div><div class=\"sub\">clien\u021bi \/ (conversie)<\/div><\/div>\n        <div class=\"tile\"><h3>Buget estimat<\/h3><div class=\"big\" id=\"wp-kBudget\">\u2013<\/div><div class=\"sub\">leaduri \u00d7 CPL<\/div><\/div>\n        <div class=\"tile\"><h3>ROI estimat<\/h3><div class=\"big\" id=\"wp-kRoi\">\u2013<\/div><div class=\"sub\">(venit \u2212 cost) \/ cost<\/div><\/div>\n      <\/div>\n    <\/section>\n  <\/div>\n<\/div>\n\n<script>\n(function(){\n  const root = document.getElementById('kpi-app');\n  const fmt = (n, style='decimal', max=0) => {\n    const opts = style==='currency'?{style:'currency',currency:'RON',maximumFractionDigits:max}:{maximumFractionDigits:max};\n    return new Intl.NumberFormat('ro-RO', opts).format(n);\n  };\n  const $ = id => root.querySelector('#'+id);\n  const recalcCAC = ()=>{const conv=parseFloat($('#wp-conv').value)||0;const cpl=parseFloat($('#wp-cpl').value)||0;const cds=conv\/100;$('#wp-cac').value=(cds>0?cpl\/cds:0).toFixed(2)};\n  const toggleGoal=()=>{const byRev=$('#wp-goal-rev').checked;$('#wp-target-revenue-wrap').style.display=byRev?'block':'none';$('#wp-target-clients-wrap').style.display=byRev?'none':'block'};\n  function calculate(){\n    const conv=Math.max(0,Math.min(100,parseFloat($('#wp-conv').value)||0));\n    const cpl =Math.max(0,parseFloat($('#wp-cpl').value)||0);\n    const arpu=Math.max(0,parseFloat($('#wp-arpu').value)||0);\n    const convDec=conv\/100;\n    let targetClients,targetRevenue;\n    if($('#wp-goal-rev').checked){\n      targetRevenue=Math.max(0,parseFloat($('#wp-targetRevenue').value)||0);\n      targetClients=arpu>0?targetRevenue\/arpu:0;\n    } else {\n      targetClients=Math.max(0,parseFloat($('#wp-targetClients').value)||0);\n      targetRevenue=targetClients*arpu;\n    }\n    const leadsNeeded=convDec>0?targetClients\/convDec:0;\n    const budget=leadsNeeded*cpl;\n    const roi=budget>0?(targetRevenue-budget)\/budget:0;\n    $('#wp-kClients').textContent=fmt(Math.round(targetClients));\n    $('#wp-kLeads').textContent=fmt(Math.round(leadsNeeded));\n    $('#wp-kBudget').textContent=fmt(budget,'currency');\n    $('#wp-kRoi').textContent=(roi*100).toFixed(1)+'%';\n  }\n  $('#wp-calc').addEventListener('click',calculate);\n  $('#wp-goal-rev').addEventListener('change',toggleGoal);\n  $('#wp-goal-clients').addEventListener('change',toggleGoal);\n  ['wp-conv','wp-cpl'].forEach(id=>$('#'+id).addEventListener('input',recalcCAC));\n  $('#wp-resetDefaults').addEventListener('click',()=>{\n    $('#wp-goal-rev').checked=true;toggleGoal();\n    $('#wp-targetRevenue').value=4000000;$('#wp-targetClients').value=3833;\n    $('#wp-conv').value=46.49;$('#wp-cpl').value=58.43;$('#wp-arpu').value=1043.26;recalcCAC();calculate();\n  });\n  $('#wp-useBaseline').addEventListener('click',()=>{\n    const baselineRevenue=2050000, baselineClients=1965, baselineARPU=baselineClients>0?baselineRevenue\/baselineClients:0;\n    $('#wp-conv').value=46.49;$('#wp-cpl').value=58.43;$('#wp-arpu').value=baselineARPU.toFixed(2);recalcCAC();calculate();\n  });\n  recalcCAC();calculate();\n})();\n<\/script>\n\n<!-- Sf\u00e2r\u0219it variant\u0103 WordPress embed -->\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;96620&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;0&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;0&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;Rate this page&quot;,&quot;legend&quot;:&quot;0\\\/5 - (0 votes)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;cat investesc in mk&quot;,&quot;width&quot;:&quot;0&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 0px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            <span class=\"kksr-muted\">Rate this page<\/span>\n    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>Calculator KPI \u2013 Leaduri \u00b7 Clien\u021bi \u00b7 Buget \u00b7 ROI Calculator KPI \u2013 Leaduri \u00b7 Clien\u021bi \u00b7 Buget \u00b7 ROI Porne\u0219te de la conversie \u0219i CPL pentru a estima c\u00e2te leaduri \u0219i ce buget sunt necesare pentru un venit \u021bint\u0103 sau un num\u0103r \u021bint\u0103 de clien\u021bi. Valorile sunt precompletate cu rezultatele tale. Obiectiv: Venit Obiectiv: [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"folder":[],"class_list":["post-96620","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/cargotrack.ro\/en\/wp-json\/wp\/v2\/pages\/96620","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cargotrack.ro\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cargotrack.ro\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cargotrack.ro\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cargotrack.ro\/en\/wp-json\/wp\/v2\/comments?post=96620"}],"version-history":[{"count":0,"href":"https:\/\/cargotrack.ro\/en\/wp-json\/wp\/v2\/pages\/96620\/revisions"}],"wp:attachment":[{"href":"https:\/\/cargotrack.ro\/en\/wp-json\/wp\/v2\/media?parent=96620"}],"wp:term":[{"taxonomy":"folder","embeddable":true,"href":"https:\/\/cargotrack.ro\/en\/wp-json\/wp\/v2\/folder?post=96620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}