import { jsx, jsxs, Fragment } from "react/jsx-runtime";
import { T as TrendingUp, K as KeyPointsList } from "./index.js";
import "react";
import { I as InfoCard } from "./index2.js";
import { D as DollarSign } from "./dollar-sign.js";
function _createMdxContent(props) {
  const _components = {
    p: "p",
    ...props.components
  };
  return jsxs(Fragment, {
    children: [jsx(InfoCard, {
      title: "What is Cost Per Lead (CPL)?",
      description: "How much you are spending in ads for every new lead your campaigns generate",
      icon: DollarSign,
      variant: "highlighted",
      children: jsxs("div", {
        className: "space-y-4 text-sm",
        children: [jsx("p", {
          className: "text-muted-foreground",
          children: jsx(_components.p, {
            children: "Cost Per Lead is calculated by dividing your total ad spend by the number of leads generated\nin the same period."
          })
        }), jsxs("div", {
          className: "bg-muted rounded-lg p-3",
          children: [jsx("p", {
            className: "font-medium",
            children: "Formula: Ad Spend divided by Leads = Cost Per Lead"
          }), jsx("p", {
            className: "text-muted-foreground mt-1",
            children: jsx(_components.p, {
              children: "Example: $500 spent on ads, 25 leads generated = $20 CPL"
            })
          })]
        }), jsx("p", {
          className: "text-muted-foreground",
          children: jsx(_components.p, {
            children: "You can find CPL in the Leads tab of your dashboard, broken down by channel and campaign."
          })
        })]
      })
    }), "\n", jsx(InfoCard, {
      title: "Is your CPL healthy?",
      description: "How to evaluate whether your cost per lead makes sense for your business",
      icon: TrendingUp,
      variant: "default",
      intro: "There is no universal good CPL — it depends entirely on how much a customer is worth to your business.",
      items: [{
        title: "Compare CPL to your average order value",
        description: "If a lead converts to a customer worth $500, a CPL of $50 is very healthy. A CPL of $400 leaves little margin."
      }, {
        title: "Factor in your lead-to-customer conversion rate",
        description: "If only 10% of leads become customers, your effective cost per customer is 10x your CPL. Use this to set a CPL ceiling that keeps campaigns profitable."
      }, {
        title: "Compare CPL across channels",
        description: "A channel with a lower CPL is delivering leads more efficiently. Use this to shift budget toward your most cost-effective sources."
      }]
    }), "\n", jsx(KeyPointsList, {
      title: "Key things to remember",
      points: [{
        text: "CPL only counts leads we can attribute to an ad click — unattributed leads from direct visits are not included in the calculation"
      }, {
        text: "A rising CPL over time means your ads are becoming less efficient — investigate targeting, creative, or market saturation"
      }, {
        text: "A falling CPL is a good sign — more leads for the same spend means improved campaign performance"
      }],
      variant: "highlighted"
    })]
  });
}
function MDXContent(props = {}) {
  const { wrapper: MDXLayout } = props.components || {};
  return MDXLayout ? jsx(MDXLayout, {
    ...props,
    children: jsx(_createMdxContent, {
      ...props
    })
  }) : _createMdxContent(props);
}
export {
  MDXContent as default
};
