PageSourceSearch

https://integrately.com/_nuxt/CDMwODgR.js

js integrately.com collected 2026-10-01 09:01:39 UTC 13,127 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BhAJKeGI.js","./OrQHdHep.js","./DTN0ztWw.js"])))=>i.map(i=>d[i]);
2import{p as I,u as $,g as x,f as N,e as E,q as L,c as i,a as e,b as g,h as b,v as h,i as l,t as f,n as w,x as u,j as R,d,F as y,r as V,k as A,a0 as H,J as U,o as r,ac as P,ag as z}from"./OrQHdHep.js";import{_ as D,a as M,b as q}from"./DP0KfC8o.js";const B=I("/images/calculators/roas-formula.png"),G=P(()=>z(()=>import("./BhAJKeGI.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(p=>p.default||p)),W={class:""},j={class:"calcSection bg-white"},Q={class:"container"},Y={class:"calculatorSection"},J={class:"calculatorContainer",id:"calculatorApp"},X={class:"calcFields"},K={class:"calcFieldContainer"},Z={class:"calcFieldVal"},ee={class:"calcFieldContainer"},te={class:"calcFieldVal"},ae={class:"calcFieldContainer"},le={class:"calcFieldVal"},ne={class:"calcResult",id:"cpc-value"},se={class:"shareResultContainer"},oe={class:"shareResultInputWrap"},ie=["disabled"],re={key:0,width:"16",height:"16",class:"rightMarginSm",viewBox:"0 0 38 37"},de={key:1},ue={key:2},pe={key:3},ce={class:"calculatorContentContainer"},me={class:"calculatorfaqSection"},ge={class:"container"},be={class:"p-12 flex bg-white rounded-2xl flex-col tablet-p:p-5 tablet-p:py-8"},he=["onClick"],fe={class:"overflow-hidden max-h-0 transition-all pl-11"},ye={class:"mt-3 last:mb-5"},ve={class:"py-32 desktop:py-24 laptop:py-20 tablet-p:py-16 bg-white"},we={__name:"roas-calculator",setup(p){$({title:"ROAS Calculator",description:"Use our free ROAS calculator to check how successful your ad campaign is.",link:[{rel:"canonical",href:x().url.canonicalURL}]}),N({contentType:"text/html; charset=UTF-8",title:"ROAS Calculator",description:"Use our free ROAS calculator to check how successful your ad campaign is.",ogTitle:"ROAS Calculator",ogUrl:x().url.canonicalURL,ogDescription:"Use our free ROAS calculator to check how successful your ad campaign is.",ogImage:"http://integrately.com/images/calculators/roas-calculator.png",ogType:"website",twitterTitle:"ROAS Calculator",twitterDescription:"Use our free ROAS calculator to check how successful your ad campaign is.",twitterImage:"http://integrately.com/images/calculators/roas-calculator.png",twitterCard:"summary_large_image",fbAppId:"301553917773270",msapplicationTileColor:"#ffffff",msapplicationTileImage:"/images/fav/ms-icon-144x144.png",themeColor:"#ffffff",viewport:"width=device-width, initial-scale=1"});const O=E(),a=A({revenue:null,adSpent:null,email:"",emailSending:!1,emailSent:!1,revenueParamName:"revenue",adSpentParamName:"adSpent",title:"ROAS Calculator"}),v=U(()=>{if(isNaN(a.revenue)||isNaN(a.adSpent))return 0;try{var n=a.revenue*100/a.adSpent;return isFinite(n)?n.toFixed(2):0}catch{return 0}}),k=A([{question:"What is considered a good ROAS?",answer:"A good ROAS is not fixed and is determined by the organization's profit margins and ad expenses. However, a good rule of thumb is to shoot for a target ROAS that is at least twice your original investment.",isExpanded:!1}]);L(async()=>{let n=new URLSearchParams(O.query);n.has(a.revenueParamName)&&(a.revenue=n.get(a.revenueParamName)),n.has(a.adSpentParamName)&&(a.adSpent=n.get(a.adSpentParamName))});function _(n,t){n.isExpanded=!n.isExpanded;let o=t.target.nextElementSibling;o.style.maxHeight?o.style.maxHeight=null:o.style.maxHeight=o.scrollHeight+"px"}function S(){let n=a.email;return/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(n)}function C(){var n={Name:"ROAS Calculator",Description:"Use our free ROAS calculator to check how successful your ad campaign is.",Inputs:[{Label:"Revenue From Ads",Value:a.revenue},{Label:"Amount Spent On Ads",Value:a.adSpent}],Outputs:[{Label:"ROAS (Return On Ad Spend)",Value:v.value}],URL:window.location.origin+window.location.pathname+`?${a.revenueParamName}=${a.revenue}&${a.adSpentParamName}=${a.adSpent}`};return n}async function F(){var n=a.email;if(S()){a.emailSending=!0;var t={Email:n,Subject:"ROAS Calculator Results",result:C()};await H("/api/calculator/send-email",{server:!1,method:"POST",body:t,onResponse({request:o,response:c,options:m}){a.emailSending=!1,a.emailSent=!0,setTimeout(function(){a.emailSent=!1},2e3)},onResponseError({request:o,response:c,options:m}){a.emailSending=!1,a.emailSent=!0}},"$CLoEotGE96")}}return(n,t)=>{const o=q,c=M,m=G;return r(),i(y,null,[e("section",null,[e("div",W,[g(o,{heading:"ROAS Calculator","image-src":"roas-calculator.svg","image-alt":"ROAS calculator"})])]),e("section",j,[e("div",Q,[e("div",Y,[e("div",J,[e("div",X,[e("div",K,[t[5]||(t[5]=e("div",{class:"calcFieldLabel"}," Revenue From Ads ",-1)),e("div",Z,[t[4]||(t[4]=e("div",{class:"calcFieldValHelp"},"$",-1)),b(e("input",{type:"text",class:"calcFieldInput",placeholder:"0","onUpdate:modelValue":t[0]||(t[0]=s=>l(a).revenue=s)},null,512),[[h,l(a).revenue]])])]),e("div",ee,[t[7]||(t[7]=e("div",{class:"calcFieldLabel"}," Amount Spent On Ads ",-1)),e("div",te,[t[6]||(t[6]=e("div",{class:"calcFieldValHelp"},"$",-1)),b(e("input",{type:"text",class:"calcFieldInput",placeholder:"0","onUpdate:modelValue":t[1]||(t[1]=s=>l(a).adSpent=s)},null,512),[[h,l(a).adSpent]])])]),e("div",ae,[t[9]||(t[9]=e("div",{class:"calcFieldLabel"}," ROAS (Return On Ad Spend) ",-1)),e("div",le,[t[8]||(t[8]=e("div",{class:"calcFieldValHelp"},"%",-1)),e("div",ne,f(l(v)),1)])])]),e("div",se,[t[11]||(t[11]=e("div",{class:"hareResultHeading"},[e("img",{width:"56",height:"56",class:"rightMarginSm",loading:"lazy",src:D,alt:"email result"}),e("div",{class:"hareResultHeadingTxt"},"Email this result to me")],-1)),e("div",oe,[b(e("input",{type:"email",placeholder:"Enter your email address","onUpdate:modelValue":t[2]||(t[2]=s=>l(a).email=s),disabled:l(a).emailSending},null,8,ie),[[h,l(a).email]]),e("button",{onClick:t[3]||(t[3]=s=>F()),class:w({disabled:!S(),loading:l(a).emailSending,success:l(a).emailSent})},[!l(a).emailSending&&!l(a).emailSent?(r(),i("svg",re,[...t[10]||(t[10]=[e("path",{fill:"#f35a38",d:"M36.7,0.6l-36,15.1v2l13.7,5.3l5.3,13.7h2L36.7,0.6z"},null,-1)])])):u("",!0),!l(a).emailSending&&!l(a).emailSent?(r(),i("span",de,"Send")):u("",!0),l(a).emailSending?(r(),i("span",ue,"Sending...")):u("",!0),l(a).emailSent?(r(),i("span",pe,"Sent!")):u("",!0)],2)])])]),e("div",ce,[g(c,{title:l(a).title,"image-src":"roas-calculator.png"},null,8,["title"]),t[12]||(t[12]=e("p",null,`You've most likely heard the phrase "return on ad spend" (ROAS), a profitability measure that compares how well your marketing campaign is performing to how much money you spent to run it.`,-1)),t[13]||(t[13]=e("h2",null,"How to Calculate Return on Ad Spend (ROAS)",-1)),t[14]||(t[14]=e("p",null,"Calculate your Return on Ad Spend (ROAS) as ",-1)),t[15]||(t[15]=e("table",{cellpadding:"10",cellspacing:"0",style:{"margin-bottom":"15px"}},[e("tbody",null,[e("tr",null,[e("td",{rowspan:"2",style:{"padding-right":"10px"}},[e("b",null,"ROAS =")]),e("td",{style:{"border-bottom":"1px solid #272727","text-align":"center"}},[e("b",null,"Amount Gained from Ads")]),e("td",{align:"center",rows
2pan:"2",style:{"padding-left":"10px"}},[e("b",null,"X 100")])]),e("tr",null,[e("td",{align:"center",rowspan:"2"},[e("b",null,"Amount Spent on Ads")])])])],-1)),t[16]||(t[16]=R('<p>Here,</p><ul><li><b>ROAS:</b> The percentage return on investment from advertising</li><li><b>Amount Gained from Ads:</b> The amount of revenue generated as a result of the ad campaign</li><li><b>Amount Spent on Ads:</b> The total amount spent on the ad campaign (i.e the amount spent on the ad network/ website for running the ad) . It does not include the cost of creating and managing the ads.</li></ul><img src="'+B+'" width="549" height="192" alt="ROAS Calculator online" loading="lazy"><h2>What is ROAS?</h2><p>Return on ad spend (ROAS) is a metric to calculate how much money you make from each dollar you spent on advertising.</p><p>It gives you an analysis of output gained against the investment in your Facebook ads.</p><p>For example, if you spent $100 on Facebook ads and generated $200 in sales, then</p>',7)),t[17]||(t[17]=e("table",{cellpadding:"10",cellspacing:"0",style:{"margin-bottom":"15px"}},[e("tbody",null,[e("tr",null,[e("td",{rowspan:"2",style:{"padding-right":"10px"}},"ROAS = "),e("td",{style:{"border-bottom":"1px solid #272727","text-align":"center"}},"$200"),e("td",{rowspan:"2",style:{"padding-left":"10px"}},"= 2.0")]),e("tr",null,[e("td",{align:"center",rowspan:"2"},"$5")])])],-1)),t[18]||(t[18]=R("<h2>How to Improve Your ROAS</h2><p>Improve your ROAS with our simple tips!</p><ul><li><b>Realistic Goals:</b> Set achievable goals that you can measure to track your ROAS progress</li><li><b>Effective ads:</b> Create effective ads that generate clicks and conversions.</li><li><b>Measure results:</b> Get insights of the profitable ads from your campaign and also the ones that need improvement.</li><li><b>Test, test, and test some more:</b> That&#39;s the only way to know what works and what doesn&#39;t</li><li><b>Increase your budget:</b> When your ROAS is high and you&#39;re making a good profit, then increase your budget to make even more money!</li><li><b>Custom Audiences:</b> Target people who are already interested in your product or service.</li><li><b>A/B Testing:</b> Experiment with different types of ads and target audiences to find what works best for your business</li><li><b>Frequency &amp; Relevance:</b> Make relevant ads and ensure that they are seen by the right people</li></ul><h2>Is ROAS Enough to Gauge Profitability</h2><p>A straight answer to the question is a big &#39;NO&#39;.</p><p>ROAS only gives you insights into the effectiveness of your ad campaign.</p><p>But it is insufficient to determine the profitability. ROI (return-on-investment) helps here to a great extent.</p><p>ROI is the revenue generated against the overall investment. It includes the expenses on people, tools, along with the expenses on your ads.</p>",8)),t[19]||(t[19]=e("table",{cellpadding:"10",cellspacing:"0",style:{"margin-bottom":"15px"}},[e("tbody",null,[e("tr",null,[e("td",{rowspan:"2",style:{"padding-right":"10px"}},"ROI ="),e("td",{style:{"border-bottom":"1px solid #272727"}},"Net Profit"),e("td",{rowspan:"2",style:{"padding-left":"10px"}}," x 100")]),e("tr",null,[e("td",null,"Net Spend ")])])],-1)),t[20]||(t[20]=e("p",null,"Let us understand this with an example,",-1)),t[21]||(t[21]=e("p",null,"Suppose, you spend $100 on ads and generate a revenue of $200. The amount spent on other things like software, personnel, etc is $150. Therefore,",-1)),t[22]||(t[22]=e("table",{class:"tableStyle",width:"100%",cellpadding:"15",cellspacing:"0"},[e("tbody",null,[e("tr",null,[e("td",null,[e("table",{cellpadding:"10",cellspacing:"0",style:{"margin-bottom":"15px"}},[e("tbody",null,[e("tr",null,[e("td",{rowspan:"2",style:{"padding-right":"10px"}},"ROI ="),e("td",{style:{"border-bottom":"1px solid #272727"}}," -$50 "),e("td",{rowspan:"2",style:{"padding-left":"10px"}},[d(" x 100 = "),e("span",{class:"red bold700"},"-20%")])]),e("tr",null,[e("td",null,"$250")])])]),e("p",{style:{"padding-bottom":"0"}},[d("This indicates a "),e("span",{class:"red bold700"},"loss of 20%")])]),e("td",null,[e("table",{cellpadding:"10",cellspacing:"0",style:{"margin-bottom":"15px"}},[e("tbody",null,[e("tr",null,[e("td",{rowspan:"2",style:{"padding-right":"10px"}},"ROI ="),e("td",{style:{"border-bottom":"1px solid #272727"}}," $200 "),e("td",{rowspan:"2",style:{"padding-left":"10px"}},[d(" x 100 = "),e("span",{class:"green bold700"},"200%")])]),e("tr",null,[e("td",null,"$100")])])]),e("p",{style:{"padding-bottom":"0"}},[d("This indicates a "),e("span",{class:"green bold700"},"200% return")])])])])],-1)),t[23]||(t[23]=e("p",null,[d("So if you measure your returns using ROAS, your ads are very effective. However, in reality, the company is suffering a loss of "),e("span",{class:"bold
2700"},"20%"),d(".")],-1)),t[24]||(t[24]=e("p",null,"Hence, a Business must consider both metrics to analyze the performance accurately.",-1)),t[25]||(t[25]=e("p",null,"All in all, use ROI to check your profitability, and if you find Facebook ads to be one of the contributors to your success, then focus on improving your ROAS.",-1))])])])]),e("div",me,[e("div",ge,[e("div",be,[t[26]||(t[26]=e("div",{class:"text-5xl desktop:text-4xl laptop:text-4xl tablet-l:text-3xl tablet-p:text-[28px] tablet-p:leading-[36px] font-extrabold tracking-tighter leading-[66px] desktop:leading-[50px] laptop:leading-[44px] mb-6"},"Frequently Asked Questions",-1)),(r(!0),i(y,null,V(l(k),s=>(r(),i(y,null,[e("h3",{class:w(["relative cursor-pointer p-5 hover:bg-skin-secondary rounded-lg flex items-center gap-4 font-bold text-[22px] desktop:text-xl laptop:text-lg tablet-l:text-lg tablet-p:text-base tablet-p:leading-[24px] before:inline-flex before:relative before:w-[10px] before:h-[10px] before:border-r-2 before:border-skin-dark before:border-b-2 before:rotate-45 tablet-p:p-3",{expanded:s.isExpanded}]),onClick:T=>_(s,T)},f(s.question),11,he),e("div",fe,[e("p",ye,f(s.answer),1)])],64))),256))])])]),e("section",ve,[g(m,{"cal-name":"roas-calculator"})])],64)}}};export{we as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.