import { jsx, jsxs, Fragment } from "react/jsx-runtime";
import { F as FeatureHighlights, c as Calendar, d as Target, M as MousePointer, P as ProcessSteps, T as TrendingUp, E as ExpandableScenarios, e as Eye, K as KeyPointsList } from "./index.js";
import { I as InfoCard } from "./index2.js";
function _createMdxContent(props) {
  return jsxs(Fragment, {
    children: [jsx(FeatureHighlights, {
      cardTitle: "Last-Click Attribution with Paid Priority",
      cardDescription: "Paid ads always get priority. If we find any ad clicks in the 90 days before purchase, the most recent ad click gets all the credit. Otherwise, we use a priority system that favors attributed sources over direct traffic.",
      cardIcon: Target,
      highlights: [{
        icon: Calendar,
        title: "90-Day Window",
        description: "We look back 90 days from purchase"
      }, {
        icon: Target,
        title: "Paid Ads First",
        description: "Ad clicks always get priority"
      }, {
        icon: MousePointer,
        title: "Last-Click",
        description: "Most recent interaction wins"
      }]
    }), "\n", jsx(ProcessSteps, {
      title: "How Our System Works",
      icon: TrendingUp,
      steps: [{
        number: 1,
        title: "Look Back 90 Days",
        description: "When a purchase happens, we look back 90 days to find all the ways this customer interacted with your marketing."
      }, {
        number: 2,
        title: "Check for Paid Ad Clicks",
        description: "We search for any clicks from your paid ads (Google, Facebook, etc.). If we find any ad clicks, we move to step 3."
      }, {
        number: 3,
        title: "Last Paid Click Wins",
        description: "If we found paid ad clicks, the most recent ad click before the purchase gets 100% credit. This is your attribution."
      }, {
        number: 4,
        title: "Fallback Priority System",
        description: "If there are no paid ad clicks, we prioritize attributed sources (email/SMS, organic search, social, referral) over direct traffic. We find the best source type available, then use the most recent visit of that type."
      }]
    }), "\n", jsx(ExpandableScenarios, {
      title: "Attribution Scenarios",
      description: "See how different customer journeys are attributed",
      icon: Eye,
      scenarios: [{
        id: 1,
        title: "Last Paid Click Wins",
        description: "Customer clicks multiple ads - the last ad click gets the credit",
        steps: [{
          platform: "Google Ads",
          action: "Click",
          day: "Day 1",
          color: "bg-blue-500"
        }, {
          platform: "Facebook Ads",
          action: "Click",
          day: "Day 15",
          color: "bg-blue-600"
        }, {
          platform: "Purchase",
          action: "Completes",
          day: "Day 20",
          color: "bg-green-500"
        }],
        attribution: "Facebook gets 100% credit (most recent paid ad click before purchase)"
      }, {
        id: 2,
        title: "No Paid Clicks => Fallback",
        description: "Customer visits from organic search, then returns directly",
        steps: [{
          platform: "Organic Search",
          action: "Visit",
          day: "Day 1",
          color: "bg-green-600"
        }, {
          platform: "Direct Visit",
          action: "Returns",
          day: "Day 5",
          color: "bg-gray-400"
        }, {
          platform: "Purchase",
          action: "Completes",
          day: "Day 10",
          color: "bg-green-500"
        }],
        attribution: "Organic Search gets credit (no paid ads, so we prioritize organic search over direct traffic)"
      }, {
        id: 3,
        title: "Outside 90-Day Window",
        description: "Ad clicks happened too long ago, falls back to priority system",
        steps: [{
          platform: "Google Ads",
          action: "Click",
          day: "Day 1",
          color: "bg-gray-400"
        }, {
          platform: "Organic Search",
          action: "Visit",
          day: "Day 89",
          color: "bg-green-600"
        }, {
          platform: "Purchase",
          action: "Completes",
          day: "Day 100",
          color: "bg-green-500"
        }],
        attribution: "Organic Search gets credit (Google ad was 99 days ago, outside window, so we use the highest-priority source available)"
      }]
    }), "\n", jsx(InfoCard, {
      title: 'Why Some Purchases Show as "Unknown"',
      description: "When we cannot match a purchase to any of your marketing",
      icon: Eye,
      variant: "default",
      intro: "A purchase is labeled Unknown when we cannot find any record of that customer visiting your site within 90 days before buying:",
      items: [{
        title: "No Recent Website Visits",
        description: "The customer did not visit your website in the 90 days before purchasing, or their visit was blocked by ad blockers",
        dotColor: "amber"
      }, {
        title: "Cannot Match the Customer",
        description: "We cannot connect their website visits to their purchase (different email/phone, or they never identified themselves on your site)",
        dotColor: "amber"
      }, {
        title: "Old Marketing Touch",
        description: "They clicked your ad or visited your site more than 90 days ago, which is outside our tracking window",
        dotColor: "amber"
      }]
    }), "\n", jsx(KeyPointsList, {
      title: "Important Notes",
      points: [{
        text: "Paid ads always win: If there are ANY paid ad clicks in the 90 days before purchase, the last paid ad click gets 100% credit"
      }, {
        text: "Fallback priority system: When no paid ads exist, we prioritize sources in this order: email & SMS > organic search > social > referral > direct > unknown"
      }, {
        text: "Best source wins: We find the highest-priority source type available, then use the most recent visit of that type"
      }, {
        text: "Direct is last resort: Direct traffic only gets credit when there are no other attributed sources in the window"
      }],
      variant: "highlighted"
    })]
  });
}
function MDXContent(props = {}) {
  const { wrapper: MDXLayout } = props.components || {};
  return MDXLayout ? jsx(MDXLayout, {
    ...props,
    children: jsx(_createMdxContent, {
      ...props
    })
  }) : _createMdxContent();
}
export {
  MDXContent as default
};
