{"id":774,"date":"2024-04-11T22:59:17","date_gmt":"2024-04-11T21:59:17","guid":{"rendered":"https:\/\/dev.webrankdigital.com\/webrankold\/?page_id=774"},"modified":"2024-04-11T23:00:19","modified_gmt":"2024-04-11T22:00:19","slug":"roi-calculator","status":"publish","type":"page","link":"https:\/\/dev.webrankdigital.com\/webrankold\/roi-calculator\/","title":{"rendered":"ROI Calculator"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"774\" class=\"elementor elementor-774\" data-elementor-settings=\"{&quot;ha_cmc_init_switcher&quot;:&quot;no&quot;}\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section data-ka-cursor-size=\"1\" class=\"elementor-section elementor-top-section elementor-element elementor-element-b9ce0b5 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b9ce0b5\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;_ha_eqh_enable&quot;:false,&quot;kng_cursor_interaction&quot;:&quot;default&quot;,&quot;kng_cursor_magnetic&quot;:&quot;none&quot;,&quot;kng_cursor_size_multiplier&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:1,&quot;sizes&quot;:[]}}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div data-ka-cursor-size=\"1\" class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0743634\" data-id=\"0743634\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;kng_cursor_interaction&quot;:&quot;default&quot;,&quot;kng_cursor_magnetic&quot;:&quot;none&quot;,&quot;kng_cursor_size_multiplier&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:1,&quot;sizes&quot;:[]}}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div data-ka-cursor-size=\"1\" class=\"elementor-element elementor-element-fa83db9 elementor-widget elementor-widget-html\" data-id=\"fa83db9\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;kng_cursor_interaction&quot;:&quot;default&quot;,&quot;kng_cursor_magnetic&quot;:&quot;none&quot;,&quot;kng_cursor_size_multiplier&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:1,&quot;sizes&quot;:[]}}\" data-widget_type=\"html.default\">\n\t\t\t\t\t<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<title>ROI Calculator<\/title>\n<style>\nbody {\n  font-family: 'Arial', sans-serif;\n  text-align: center;\n  margin: 0;\n  padding: 0;\n}\n\n.container {\n  max-width: 425px;\n  margin: auto;\n  padding: 20px;\n  background-color: #fff;\n  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n  border-radius: 8px;\n  margin-top: 50px;\n}\n\n.input-group {\n  margin-bottom: 15px;\n}\n\ninput[type=\"number\"] {\n  width: calc(100% - 18px);\n  padding: 8px;\n  margin-top: 6px;\n  border-radius: 4px;\n  border: 1px solid #ddd;\n  box-sizing: border-box;\n}\n\nbutton {\n  background-color: #008cba;\n  color: white;\n  padding: 10px 20px;\n  margin: 10px 0;\n  border: none;\n  border-radius: 4px;\n  cursor: pointer;\n  width: calc(100% - 20px);\n}\n\nbutton:hover {\n  opacity: 0.9;\n}\n\n.result {\n  display: none;\n  padding: 10px;\n  margin-top: 20px;\n  border: 1px solid #bde1ef;\n  border-radius: 4px;\n}\n\n<\/style>\n<\/head>\n<body>\n<div class=\"container\">\n  <h2>Google Maps Marketing ROI Calculator<\/h2>\n  <div class=\"input-group\">\n    <label for=\"customers\">How many customers do you currently get per month?<\/label>\n    <input type=\"number\" id=\"customers\">\n  <\/div>\n  <div class=\"input-group\">\n    <label for=\"value\">How much revenue do you earn from each customer?<\/label>\n    <input type=\"number\" id=\"value\">\n  <\/div>\n  <div class=\"input-group\">\n    <label for=\"increase\">Expected increase in customers (%):<\/label>\n    <input type=\"number\" id=\"increase\">\n  <\/div>\n  <div class=\"input-group\">\n    <label for=\"cost\">Cost of our marketing service per month ($):<\/label>\n    <input type=\"number\" id=\"cost\">\n  <\/div>\n  <button onclick=\"calculateROI()\">Calculate ROI<\/button>\n  <div class=\"result\" id=\"result\"><\/div>\n<\/div>\n\n<script>\nfunction calculateROI() {\n  var customers = parseInt(document.getElementById('customers').value);\n  var value = parseInt(document.getElementById('value').value);\n  var increase = parseInt(document.getElementById('increase').value);\n  var cost = parseInt(document.getElementById('cost').value);\n  \n  \/\/ Calculate additional revenue per month\n  var additionalCustomers = Math.round(customers * (increase \/ 100));\n  var additionalRevenue = additionalCustomers * value;\n  \n  \/\/ Calculate ROI\n  var roi = Math.round(((additionalRevenue - cost) \/ cost) * 100);\n  \n  \/\/ Check for division by zero\n  if(cost === 0 || isNaN(roi)) {\n    document.getElementById('result').innerHTML = 'Please ensure all inputs are valid and the cost is not zero.';\n    document.getElementById('result').style.display = 'block';\n    return;\n  }\n\n  \/\/ Update result\n  document.getElementById('result').innerHTML =\n    'With our marketing services, your estimated ROI is <strong>' + \n    roi + '%<\/strong>. This equates to an additional $' + \n    additionalRevenue + ' per month.<br><br>' +\n    'Calculation Summary:<br>' +\n    'Additional Monthly Customers: ' + additionalCustomers + '<br>' +\n    'Additional Revenue: ' + additionalCustomers + ' * $' + value + ' = $' + additionalRevenue + '<br>' +\n    'ROI: (($' + additionalRevenue + ' - $' + cost + ') \/ $' + cost + ') * 100 = ' + roi + '%';\n  document.getElementById('result').style.display = 'block';\n}\n<\/script>\n<\/body>\n<\/html>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>ROI Calculator Google Maps Marketing ROI Calculator How many customers do you currently get per month? How much revenue do you earn from each customer? Expected increase in customers (%): Cost of our marketing service per month ($): Calculate ROI<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-774","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/dev.webrankdigital.com\/webrankold\/wp-json\/wp\/v2\/pages\/774","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.webrankdigital.com\/webrankold\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dev.webrankdigital.com\/webrankold\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dev.webrankdigital.com\/webrankold\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.webrankdigital.com\/webrankold\/wp-json\/wp\/v2\/comments?post=774"}],"version-history":[{"count":8,"href":"https:\/\/dev.webrankdigital.com\/webrankold\/wp-json\/wp\/v2\/pages\/774\/revisions"}],"predecessor-version":[{"id":783,"href":"https:\/\/dev.webrankdigital.com\/webrankold\/wp-json\/wp\/v2\/pages\/774\/revisions\/783"}],"wp:attachment":[{"href":"https:\/\/dev.webrankdigital.com\/webrankold\/wp-json\/wp\/v2\/media?parent=774"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}