@liiift-studio/sanity-visitor-insights 0.78.0 → 0.78.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/studio/VisitorInsightsTool.tsx +26 -22
- package/src/studio/panels.test.tsx +44 -0
- package/src/studio/panels.tsx +4 -2
package/dist/index.js
CHANGED
|
@@ -3053,8 +3053,8 @@ function JourneyPanel({ data }) {
|
|
|
3053
3053
|
]
|
|
3054
3054
|
}
|
|
3055
3055
|
),
|
|
3056
|
-
spread(segments) && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_sanity_ui_compat3.Text, { size: 1, children: spread(segments) }),
|
|
3057
3056
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(FunnelChart, { stages, measurement: data.measurement ?? "independent-totals" }),
|
|
3057
|
+
spread(segments) && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_sanity_ui_compat3.Text, { size: 1, children: spread(segments) }),
|
|
3058
3058
|
(data.outcomes?.length ?? 0) > 0 && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
3059
3059
|
Section,
|
|
3060
3060
|
{
|
|
@@ -3655,7 +3655,7 @@ function PanelTabs({ value, onChange }) {
|
|
|
3655
3655
|
}
|
|
3656
3656
|
function CoverageRibbon({ ratio }) {
|
|
3657
3657
|
if (ratio === null) {
|
|
3658
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_sanity_ui_compat4.Text, { size: 0, muted: true, children: "
|
|
3658
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_sanity_ui_compat4.Text, { size: 0, muted: true, children: "Figures marked (GA4) on this tab come from Google Analytics. How much of your traffic it is seeing has not been checked for this window \u2014 open Overview to measure it." });
|
|
3659
3659
|
}
|
|
3660
3660
|
if (ratio < 0.2) return null;
|
|
3661
3661
|
const seen = Math.round((1 - ratio) * 100);
|