import { jsx, jsxs, Fragment } from "react/jsx-runtime";
import { F as FeatureHighlights, U as Users, P as ProcessSteps, T as TrendingUp, K as KeyPointsList } from "./index.js";
import "react";
import { I as InfoCard } from "./index2.js";
import { S as ShoppingCart } from "./shopping-cart.js";
function _createMdxContent(props) {
  const _components = {
    p: "p",
    ...props.components
  };
  return jsxs(Fragment, {
    children: [jsx(FeatureHighlights, {
      cardTitle: "Two Stages of the Same Journey",
      cardDescription: "Leads and transactions are not alternatives — they are two sequential steps in your customer funnel. Together, they give you a complete picture of how your marketing is performing.",
      cardIcon: Users,
      columns: 2,
      highlights: [{
        icon: Users,
        title: "A Lead",
        description: "A person who has expressed interest by submitting a form (contact us, request a quote, book an appointment, etc.) or by calling your business — but who has not yet made a purchase. A lead is an opportunity, not a sale."
      }, {
        icon: ShoppingCart,
        title: "A Transaction",
        description: "A completed sale where money changed hands and the purchase event was captured by the tracking snippet. A transaction is the outcome — the lead that converted."
      }]
    }), "\n", jsx(ProcessSteps, {
      title: "How leads and transactions fit into the funnel",
      icon: TrendingUp,
      steps: [{
        number: 1,
        title: "Someone sees your ad or other marketing and clicks",
        description: "The tracking snippet records the click and saves the source. At this point they are just a visitor."
      }, {
        number: 2,
        title: "They fill out a form or call — becoming a Lead",
        description: "When they submit a contact form, request a quote, or call your business, a Lead is created. This is your signal that the marketing worked well enough to generate interest. The lead is attributed to the channel or campaign that brought them in."
      }, {
        number: 3,
        title: "You follow up and close the sale",
        description: "Some businesses have a sales process that needs to occur here, while for others a sale is often immediate. The lead will remain open for 90 days until the sale is closed."
      }, {
        number: 4,
        title: "The sale is recorded — becoming a Transaction",
        description: "When the purchase is completed and captured by the tracking snippet, a Transaction is recorded. It is attributed back to the same original marketing source that created the lead. The lead is now marked as converted, and you can see the final value and the transaction ID."
      }, {
        number: 5,
        title: "Leads go stale",
        description: "Not every lead becomes a customer. Those leads that still have not made a purchase 90 days later will be marked stale."
      }]
    }), "\n", jsx(InfoCard, {
      title: "How to interpret the data",
      description: "Each tab answers a different question about your marketing",
      icon: Users,
      variant: "highlighted",
      children: jsxs("div", {
        className: "space-y-4 text-sm",
        children: [jsxs("div", {
          className: "flex items-start gap-3",
          children: [jsx("div", {
            className: "w-2 h-2 rounded-full bg-blue-500 mt-2 flex-shrink-0"
          }), jsxs("div", {
            children: [jsx("h5", {
              className: "font-medium",
              children: "The Leads tab gives you earlier, faster feedback"
            }), jsx("p", {
              className: "text-muted-foreground",
              children: jsx(_components.p, {
                children: "Not every lead converts right away — some take days, weeks, or longer. If you only watched transactions, you would be waiting a long time to know whether a campaign is generating interest. The Leads tab lets you see which marketing efforts are bringing in the most opportunities now, so you can adjust your strategy without waiting for the full sales cycle to play out."
              })
            })]
          })]
        }), jsxs("div", {
          className: "flex items-start gap-3",
          children: [jsx("div", {
            className: "w-2 h-2 rounded-full bg-blue-500 mt-2 flex-shrink-0"
          }), jsxs("div", {
            children: [jsx("h5", {
              className: "font-medium",
              children: "The Transactions tab tells you what actually drove revenue"
            }), jsx("p", {
              className: "text-muted-foreground",
              children: jsx(_components.p, {
                children: "Transactions are the source of truth for revenue attribution. Each row in the Transactions tab is a real sale that you can trace back to the specific campaign, channel, or source that originated it. This is where you measure ROAS and understand the actual financial return on your ad spend."
              })
            })]
          })]
        }), jsxs("div", {
          className: "flex items-start gap-3",
          children: [jsx("div", {
            className: "w-2 h-2 rounded-full bg-blue-500 mt-2 flex-shrink-0"
          }), jsxs("div", {
            children: [jsx("h5", {
              className: "font-medium",
              children: "Read them together to find where your funnel is leaking"
            }), jsx("p", {
              className: "text-muted-foreground",
              children: jsx(_components.p, {
                children: "A channel generating many leads but few transactions means interest is there but something is breaking down — pricing, follow-up speed, or lead quality. A channel with strong transactions but few leads means it is converting efficiently and may be worth more budget. Comparing the two tabs side by side reveals where to focus your attention."
              })
            })]
          })]
        })]
      })
    }), "\n", jsx(KeyPointsList, {
      title: "Important to know",
      points: [{
        text: "A single customer can appear in both tabs — first as a lead when they submit a form, then as a transaction when the sale is recorded"
      }, {
        text: "Lead counts and transaction counts will not match — not every lead converts, and not every transaction started with an identified lead"
      }, {
        text: "Both tabs support the same date range filtering and attribution logic, so you can compare the same time period across both"
      }],
      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
};
