@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.mjs
CHANGED
|
@@ -2982,8 +2982,8 @@ function JourneyPanel({ data }) {
|
|
|
2982
2982
|
]
|
|
2983
2983
|
}
|
|
2984
2984
|
),
|
|
2985
|
-
spread(segments) && /* @__PURE__ */ jsx3(Text3, { size: 1, children: spread(segments) }),
|
|
2986
2985
|
/* @__PURE__ */ jsx3(FunnelChart, { stages, measurement: data.measurement ?? "independent-totals" }),
|
|
2986
|
+
spread(segments) && /* @__PURE__ */ jsx3(Text3, { size: 1, children: spread(segments) }),
|
|
2987
2987
|
(data.outcomes?.length ?? 0) > 0 && /* @__PURE__ */ jsx3(
|
|
2988
2988
|
Section,
|
|
2989
2989
|
{
|
|
@@ -3584,7 +3584,7 @@ function PanelTabs({ value, onChange }) {
|
|
|
3584
3584
|
}
|
|
3585
3585
|
function CoverageRibbon({ ratio }) {
|
|
3586
3586
|
if (ratio === null) {
|
|
3587
|
-
return /* @__PURE__ */ jsx4(Text4, { size: 0, muted: true, children: "
|
|
3587
|
+
return /* @__PURE__ */ jsx4(Text4, { 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." });
|
|
3588
3588
|
}
|
|
3589
3589
|
if (ratio < 0.2) return null;
|
|
3590
3590
|
const seen = Math.round((1 - ratio) * 100);
|