import { jsx, jsxs, Fragment } from "react/jsx-runtime";
import { T as TrendingUp, E as ExpandableScenarios } from "./index.js";
import { I as InfoCard } from "./index2.js";
import { C as CircleHelp } from "./circle-help.js";
function _createMdxContent(props) {
  return jsxs(Fragment, {
    children: [jsx(InfoCard, {
      title: "Before you start troubleshooting",
      description: "Check these four things first — they cover the most common causes",
      icon: TrendingUp,
      variant: "highlighted",
      items: [{
        title: "Is the tracking snippet installed?",
        description: "Your dashboard cannot show revenue attribution data without the snippet on your website. Check your website source code or use the testing guide to verify it is firing."
      }, {
        title: "Are your ad accounts connected?",
        description: "Go to Settings and confirm at least one ad account is showing as connected. Without a connected ad account, spend data will not appear."
      }, {
        title: "Has enough time passed?",
        description: "After connecting, it can take 24-48 hours for data to fully populate. If you connected recently, wait a day before investigating further."
      }, {
        title: "Does your selected date range include activity?",
        description: "If you set the date range to a period before ads were connected or before the snippet was installed, there will be no data to show."
      }]
    }), "\n", jsx(ExpandableScenarios, {
      title: "Specific scenarios",
      description: "Find your situation and follow the steps",
      icon: CircleHelp,
      scenarios: [{
        id: 1,
        title: "Dashboard is completely empty",
        description: "No metrics, no charts, nothing showing at all",
        steps: [{
          platform: "Check snippet",
          action: "Installed?",
          day: "Step 1",
          color: "bg-blue-500"
        }, {
          platform: "Check ad accounts",
          action: "Connected?",
          day: "Step 2",
          color: "bg-blue-500"
        }, {
          platform: "Check date range",
          action: "Correct?",
          day: "Step 3",
          color: "bg-green-500"
        }],
        attribution: "Most likely cause: the tracking snippet is not installed or the ad accounts are not connected. Start with the snippet verification guide."
      }, {
        id: 2,
        title: "Ad spend shows but no revenue",
        description: "Spend and impressions appear, but measured revenue is zero",
        steps: [{
          platform: "Snippet present",
          action: "Fires?",
          day: "Step 1",
          color: "bg-blue-500"
        }, {
          platform: "Purchase events",
          action: "Firing?",
          day: "Step 2",
          color: "bg-blue-500"
        }, {
          platform: "Conversions exist",
          action: "In period?",
          day: "Step 3",
          color: "bg-green-500"
        }],
        attribution: "Ad spend is coming from your connected ad accounts (working correctly). Missing revenue usually means that transactions are not coming in. Go to the Transactions tab and change the picker from Click Date to Transaction Date and verify that there is data. If there is not, contact support. If there is, double check that the snippet is installed correctly."
      }, {
        id: 3,
        title: "Revenue from ads is much lower than expected or a high % of unknow attribution",
        description: "Some revenue shows, but the numbers seem too low",
        steps: [{
          platform: "Snippet coverage",
          action: "All pages?",
          day: "Step 1",
          color: "bg-blue-500"
        }, {
          platform: "Purchase events",
          action: "All orders?",
          day: "Step 2",
          color: "bg-blue-500"
        }, {
          platform: "Unknown %",
          action: "High?",
          day: "Step 3",
          color: "bg-amber-500"
        }],
        attribution: "Check that the snippet is installed on all pages (not just the homepage), and verify that every completed purchase is triggering a purchase event. Also ensure that you have your call tracking tool set up correctly, if you use one, or consider adding one if you do not already."
      }]
    })]
  });
}
function MDXContent(props = {}) {
  const { wrapper: MDXLayout } = props.components || {};
  return MDXLayout ? jsx(MDXLayout, {
    ...props,
    children: jsx(_createMdxContent, {
      ...props
    })
  }) : _createMdxContent();
}
export {
  MDXContent as default
};
