@ammarkhalidfarooq/dashboard-package 0.6.88 → 0.6.90
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/ActiveCampaignsCard.cjs.js +1 -1
- package/dist/ActiveCampaignsCard.cjs.js.map +1 -1
- package/dist/ActiveCampaignsCard.es.js +1 -1
- package/dist/ActiveCampaignsCard.es.js.map +1 -1
- package/dist/index.cjs.js +113 -113
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +113 -113
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1016,7 +1016,7 @@ var ActiveCampaignsCard = function ActiveCampaignsCard(_ref) {
|
|
|
1016
1016
|
subtitle = _ref$subtitle === void 0 ? "Live fundraisers ranked by velocity" : _ref$subtitle,
|
|
1017
1017
|
actionLabel = _ref.actionLabel,
|
|
1018
1018
|
_ref$columns = _ref.columns,
|
|
1019
|
-
columns = _ref$columns === void 0 ? ["Campaign", "Raised", "Progress", "Donors", "Avg
|
|
1019
|
+
columns = _ref$columns === void 0 ? ["Campaign", "Raised", "Progress", "Donors", "Avg Gift"] : _ref$columns,
|
|
1020
1020
|
_ref$rows = _ref.rows,
|
|
1021
1021
|
rows = _ref$rows === void 0 ? [] : _ref$rows,
|
|
1022
1022
|
_ref$gridTemplateColu = _ref.gridTemplateColumns,
|
|
@@ -1507,7 +1507,7 @@ var parseAvgDonationDetail = function parseAvgDonationDetail() {
|
|
|
1507
1507
|
return {
|
|
1508
1508
|
median: median,
|
|
1509
1509
|
topDecile: topDecile
|
|
1510
|
-
// detail: `Median $${formatNumber(median)}
|
|
1510
|
+
// detail: `Median $${formatNumber(median)} - top decile $${formatNumber(topDecile)}`,
|
|
1511
1511
|
};
|
|
1512
1512
|
};
|
|
1513
1513
|
|
|
@@ -1573,7 +1573,7 @@ var buildReportData = function buildReportData() {
|
|
|
1573
1573
|
var hero = {
|
|
1574
1574
|
value: "$".concat(formatNumber(totalRaised)),
|
|
1575
1575
|
trend: "".concat(formatTrend((_growth$totalRevenue = growth === null || growth === void 0 ? void 0 : growth.totalRevenue) !== null && _growth$totalRevenue !== void 0 ? _growth$totalRevenue : 18), " vs pp"),
|
|
1576
|
-
detail: "".concat(passThrough, "
|
|
1576
|
+
detail: "".concat(passThrough, " - ").concat(formatNumber(totalDonors), " donors - $").concat(formatNumber(Number(avgDonation).toFixed(2)), " avg - ").concat(formatNumber(totalVisits), " visits")
|
|
1577
1577
|
};
|
|
1578
1578
|
var metrics = [{
|
|
1579
1579
|
title: "Net Raised",
|
|
@@ -1584,7 +1584,7 @@ var buildReportData = function buildReportData() {
|
|
|
1584
1584
|
title: "Total Donors",
|
|
1585
1585
|
value: formatNumber(totalDonors),
|
|
1586
1586
|
trend: formatTrend((_growth$totalDonation = growth === null || growth === void 0 ? void 0 : growth.totalDonations) !== null && _growth$totalDonation !== void 0 ? _growth$totalDonation : 16.8),
|
|
1587
|
-
detail: "".concat(formatNumber(newDonors), " new
|
|
1587
|
+
detail: "".concat(formatNumber(newDonors), " new - ").concat(formatNumber(returningDonors), " returning")
|
|
1588
1588
|
}, {
|
|
1589
1589
|
title: "Avg Donation",
|
|
1590
1590
|
value: "$".concat(formatNumber(avgDonation)),
|
|
@@ -1594,7 +1594,7 @@ var buildReportData = function buildReportData() {
|
|
|
1594
1594
|
title: "ROAS",
|
|
1595
1595
|
value: "".concat(formatNumber((_apiData$roasCard = apiData === null || apiData === void 0 ? void 0 : apiData.roasCard) !== null && _apiData$roasCard !== void 0 ? _apiData$roasCard : 0), "x"),
|
|
1596
1596
|
trend: formatTrend((_apiData$roasCardPrev = apiData === null || apiData === void 0 ? void 0 : apiData.roasCardPrev) !== null && _apiData$roasCardPrev !== void 0 ? _apiData$roasCardPrev : 0, "x"),
|
|
1597
|
-
detail: "$".concat(formatNumber((_apiData$adSpend = apiData === null || apiData === void 0 ? void 0 : apiData.adSpend) !== null && _apiData$adSpend !== void 0 ? _apiData$adSpend : 0), " spend
|
|
1597
|
+
detail: "$".concat(formatNumber((_apiData$adSpend = apiData === null || apiData === void 0 ? void 0 : apiData.adSpend) !== null && _apiData$adSpend !== void 0 ? _apiData$adSpend : 0), " spend - $").concat(formatNumber((_apiData$attributedRe = apiData === null || apiData === void 0 ? void 0 : apiData.attributedRevenue) !== null && _apiData$attributedRe !== void 0 ? _apiData$attributedRe : 0), " attrib.")
|
|
1598
1598
|
}, {
|
|
1599
1599
|
title: "Conversion",
|
|
1600
1600
|
value: "".concat(formatNumber(convRate), "%"),
|
|
@@ -1611,7 +1611,7 @@ var buildReportData = function buildReportData() {
|
|
|
1611
1611
|
var hasStackedData = (stackedTR === null || stackedTR === void 0 ? void 0 : stackedTR.paidAds) || (stackedTR === null || stackedTR === void 0 ? void 0 : stackedTR.email) || (stackedTR === null || stackedTR === void 0 ? void 0 : stackedTR.organic);
|
|
1612
1612
|
var mainChart = {
|
|
1613
1613
|
label: "Total revenue trend",
|
|
1614
|
-
subtitle: "Last 30 days
|
|
1614
|
+
subtitle: "Last 30 days - daily aggregation",
|
|
1615
1615
|
value: "$".concat(formatNumber(totalRaised)),
|
|
1616
1616
|
trend: "".concat(formatTrend((_growth$totalRevenue2 = growth === null || growth === void 0 ? void 0 : growth.totalRevenue) !== null && _growth$totalRevenue2 !== void 0 ? _growth$totalRevenue2 : 18), " vs pp"),
|
|
1617
1617
|
hideControls: true,
|
|
@@ -2168,7 +2168,7 @@ var DonorGeographyPanel = function DonorGeographyPanel(_ref9) {
|
|
|
2168
2168
|
barColor = _ref9$barColor === void 0 ? "#6366F1" : _ref9$barColor;
|
|
2169
2169
|
return /*#__PURE__*/jsxRuntime.jsx(Panel, {
|
|
2170
2170
|
title: "Donor geography",
|
|
2171
|
-
subtitle: "Top countries
|
|
2171
|
+
subtitle: "Top countries - ".concat(formatNumber(totalDonors), " total"),
|
|
2172
2172
|
children: (geoList.length ? geoList.slice(0, 6) : []).map(function (g, i) {
|
|
2173
2173
|
var _g$percentage;
|
|
2174
2174
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
@@ -2202,7 +2202,7 @@ var DonorGeographyPanel = function DonorGeographyPanel(_ref9) {
|
|
|
2202
2202
|
color: "#111827",
|
|
2203
2203
|
flexShrink: 0
|
|
2204
2204
|
},
|
|
2205
|
-
children: [formatNumber(g.value), "
|
|
2205
|
+
children: [formatNumber(g.value), " - ", formatNumber(g.percentage), "%"]
|
|
2206
2206
|
})]
|
|
2207
2207
|
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
2208
2208
|
style: {
|
|
@@ -2398,7 +2398,7 @@ var DonationTypePanel = function DonationTypePanel(_ref1) {
|
|
|
2398
2398
|
oneTimeTotal = _parseDonationTypeCha.oneTimeTotal;
|
|
2399
2399
|
return /*#__PURE__*/jsxRuntime.jsxs(Panel, {
|
|
2400
2400
|
title: "Recurring vs one-time",
|
|
2401
|
-
subtitle: "Donation type
|
|
2401
|
+
subtitle: "Donation type - weekly",
|
|
2402
2402
|
children: [/*#__PURE__*/jsxRuntime.jsx("div", {
|
|
2403
2403
|
style: {
|
|
2404
2404
|
display: "flex",
|
|
@@ -2723,7 +2723,7 @@ var PageHeader = function PageHeader(_ref12) {
|
|
|
2723
2723
|
color: THEME.muted,
|
|
2724
2724
|
marginTop: 1
|
|
2725
2725
|
},
|
|
2726
|
-
children: [windowLabel, "
|
|
2726
|
+
children: [windowLabel, " - Generated ", generatedLabel]
|
|
2727
2727
|
})]
|
|
2728
2728
|
}), /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
2729
2729
|
style: {
|
|
@@ -2779,7 +2779,7 @@ var PageFooter = function PageFooter(_ref13) {
|
|
|
2779
2779
|
fontSize: 8,
|
|
2780
2780
|
color: THEME.muted
|
|
2781
2781
|
},
|
|
2782
|
-
children: ["Confidential
|
|
2782
|
+
children: ["Confidential - Generated by Dashboard - ", generatedLabel, " \xA0\xA0 Page ", page, " of 2 - madinah.com"]
|
|
2783
2783
|
})
|
|
2784
2784
|
});
|
|
2785
2785
|
};
|
|
@@ -2805,7 +2805,7 @@ var ExportPdfLayout = /*#__PURE__*/React.forwardRef(function (_ref14, ref) {
|
|
|
2805
2805
|
month: "short",
|
|
2806
2806
|
day: "numeric",
|
|
2807
2807
|
year: "numeric"
|
|
2808
|
-
}, estOptions)) + "
|
|
2808
|
+
}, estOptions)) + " - " + now.toLocaleTimeString("en-US", _objectSpread2({
|
|
2809
2809
|
hour: "2-digit",
|
|
2810
2810
|
minute: "2-digit"
|
|
2811
2811
|
}, estOptions)) + " EST";
|
|
@@ -3018,7 +3018,7 @@ var ExportPdfLayout = /*#__PURE__*/React.forwardRef(function (_ref14, ref) {
|
|
|
3018
3018
|
title: "Total Donors",
|
|
3019
3019
|
value: ((_metricByTitle$Total = metricByTitle["Total Donors"]) === null || _metricByTitle$Total === void 0 ? void 0 : _metricByTitle$Total.value) || "".concat(formatNumber(totalDonors)),
|
|
3020
3020
|
trend: ((_metricByTitle$Total2 = metricByTitle["Total Donors"]) === null || _metricByTitle$Total2 === void 0 ? void 0 : _metricByTitle$Total2.trend) || signed((growth === null || growth === void 0 ? void 0 : growth.totalDonations) || 16.8),
|
|
3021
|
-
detail: ((_metricByTitle$Total3 = metricByTitle["Total Donors"]) === null || _metricByTitle$Total3 === void 0 ? void 0 : _metricByTitle$Total3.detail) || "".concat(formatNumber(newDonors), " new
|
|
3021
|
+
detail: ((_metricByTitle$Total3 = metricByTitle["Total Donors"]) === null || _metricByTitle$Total3 === void 0 ? void 0 : _metricByTitle$Total3.detail) || "".concat(formatNumber(newDonors), " new - ").concat(formatNumber(returningDonors), " returning")
|
|
3022
3022
|
}), /*#__PURE__*/jsxRuntime.jsx(KpiCard, {
|
|
3023
3023
|
title: "Avg Donation",
|
|
3024
3024
|
value: kpi$(avgDonation),
|
|
@@ -3035,7 +3035,7 @@ var ExportPdfLayout = /*#__PURE__*/React.forwardRef(function (_ref14, ref) {
|
|
|
3035
3035
|
title: "ROAS",
|
|
3036
3036
|
value: kpiRoas((_apiData$roasCard = apiData === null || apiData === void 0 ? void 0 : apiData.roasCard) !== null && _apiData$roasCard !== void 0 ? _apiData$roasCard : 0),
|
|
3037
3037
|
trend: ((_metricByTitle$ROAS = metricByTitle.ROAS) === null || _metricByTitle$ROAS === void 0 ? void 0 : _metricByTitle$ROAS.trend) || signed((_apiData$roasCardPrev = apiData === null || apiData === void 0 ? void 0 : apiData.roasCardPrev) !== null && _apiData$roasCardPrev !== void 0 ? _apiData$roasCardPrev : 0, "×"),
|
|
3038
|
-
detail: ((_metricByTitle$ROAS2 = metricByTitle.ROAS) === null || _metricByTitle$ROAS2 === void 0 ? void 0 : _metricByTitle$ROAS2.detail) || "".concat(d$((_apiData$adSpend = apiData === null || apiData === void 0 ? void 0 : apiData.adSpend) !== null && _apiData$adSpend !== void 0 ? _apiData$adSpend : 0), " spend
|
|
3038
|
+
detail: ((_metricByTitle$ROAS2 = metricByTitle.ROAS) === null || _metricByTitle$ROAS2 === void 0 ? void 0 : _metricByTitle$ROAS2.detail) || "".concat(d$((_apiData$adSpend = apiData === null || apiData === void 0 ? void 0 : apiData.adSpend) !== null && _apiData$adSpend !== void 0 ? _apiData$adSpend : 0), " spend - ").concat(d$((_apiData$attributedRe = apiData === null || apiData === void 0 ? void 0 : apiData.attributedRevenue) !== null && _apiData$attributedRe !== void 0 ? _apiData$attributedRe : 0), " attrib.")
|
|
3039
3039
|
}), /*#__PURE__*/jsxRuntime.jsx(KpiCard, {
|
|
3040
3040
|
title: "Conversion",
|
|
3041
3041
|
value: kpiPct(convRate),
|
|
@@ -3079,7 +3079,7 @@ var ExportPdfLayout = /*#__PURE__*/React.forwardRef(function (_ref14, ref) {
|
|
|
3079
3079
|
marginTop: 2,
|
|
3080
3080
|
lineHeight: 1.15
|
|
3081
3081
|
},
|
|
3082
|
-
children: ["Last ", daysLabel, "
|
|
3082
|
+
children: ["Last ", daysLabel, " - daily aggregation"]
|
|
3083
3083
|
}), /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
3084
3084
|
style: {
|
|
3085
3085
|
display: "flex",
|
|
@@ -3265,7 +3265,7 @@ var ExportPdfLayout = /*#__PURE__*/React.forwardRef(function (_ref14, ref) {
|
|
|
3265
3265
|
fontWeight: 700,
|
|
3266
3266
|
color: "#111827"
|
|
3267
3267
|
},
|
|
3268
|
-
children: [formatNumber(newDonors), "
|
|
3268
|
+
children: [formatNumber(newDonors), " - ", newPct, "%"]
|
|
3269
3269
|
})]
|
|
3270
3270
|
}), /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
3271
3271
|
style: {
|
|
@@ -3301,7 +3301,7 @@ var ExportPdfLayout = /*#__PURE__*/React.forwardRef(function (_ref14, ref) {
|
|
|
3301
3301
|
fontWeight: 700,
|
|
3302
3302
|
color: "#111827"
|
|
3303
3303
|
},
|
|
3304
|
-
children: [formatNumber(returningDonors), "
|
|
3304
|
+
children: [formatNumber(returningDonors), " - ", retPct, "%"]
|
|
3305
3305
|
})]
|
|
3306
3306
|
}), /*#__PURE__*/jsxRuntime.jsx(Divider, {
|
|
3307
3307
|
mb: 6
|
|
@@ -3352,7 +3352,7 @@ var ExportPdfLayout = /*#__PURE__*/React.forwardRef(function (_ref14, ref) {
|
|
|
3352
3352
|
barColor: C.indigo
|
|
3353
3353
|
}), /*#__PURE__*/jsxRuntime.jsxs(Panel, {
|
|
3354
3354
|
title: "Refunds & chargebacks",
|
|
3355
|
-
subtitle: "Trust health
|
|
3355
|
+
subtitle: "Trust health - ".concat(numberOfDays, "-day window"),
|
|
3356
3356
|
children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
3357
3357
|
style: {
|
|
3358
3358
|
display: "flex",
|
|
@@ -3428,11 +3428,11 @@ var ExportPdfLayout = /*#__PURE__*/React.forwardRef(function (_ref14, ref) {
|
|
|
3428
3428
|
color: "#6B7280",
|
|
3429
3429
|
lineHeight: 1.45
|
|
3430
3430
|
},
|
|
3431
|
-
children: [d$(totalRefundedAmount), " refunded
|
|
3431
|
+
children: [d$(totalRefundedAmount), " refunded - ", formatNumber(totalChargebacks), " chargebacks - ", formatNumber(lostChargebacks), " cases lost"]
|
|
3432
3432
|
})]
|
|
3433
3433
|
}), /*#__PURE__*/jsxRuntime.jsx(Panel, {
|
|
3434
3434
|
title: "Traffic source",
|
|
3435
|
-
subtitle: "Revenue by channel
|
|
3435
|
+
subtitle: "Revenue by channel - ".concat(daysLabel),
|
|
3436
3436
|
children: /*#__PURE__*/jsxRuntime.jsx(MiniTable, {
|
|
3437
3437
|
head: ["Source", "Revenue", "Share"],
|
|
3438
3438
|
rows: [].concat(_toConsumableArray(trafficItems.map(function (t) {
|
|
@@ -3448,7 +3448,7 @@ var ExportPdfLayout = /*#__PURE__*/React.forwardRef(function (_ref14, ref) {
|
|
|
3448
3448
|
},
|
|
3449
3449
|
children: [/*#__PURE__*/jsxRuntime.jsxs(Panel, {
|
|
3450
3450
|
title: "Order Bump",
|
|
3451
|
-
subtitle: "Revenue trend
|
|
3451
|
+
subtitle: "Revenue trend - last ".concat(daysLabel),
|
|
3452
3452
|
children: [/*#__PURE__*/jsxRuntime.jsx("div", {
|
|
3453
3453
|
style: {
|
|
3454
3454
|
fontSize: 17,
|
|
@@ -3524,7 +3524,7 @@ var ExportPdfLayout = /*#__PURE__*/React.forwardRef(function (_ref14, ref) {
|
|
|
3524
3524
|
primaryColor: C.cyan
|
|
3525
3525
|
}), /*#__PURE__*/jsxRuntime.jsxs(Panel, {
|
|
3526
3526
|
title: "Referrals",
|
|
3527
|
-
subtitle: "Revenue trend
|
|
3527
|
+
subtitle: "Revenue trend - last ".concat(daysLabel),
|
|
3528
3528
|
children: [/*#__PURE__*/jsxRuntime.jsx("div", {
|
|
3529
3529
|
style: {
|
|
3530
3530
|
fontSize: 17,
|
|
@@ -4063,7 +4063,7 @@ var ReportHeader = function ReportHeader(_ref) {
|
|
|
4063
4063
|
month: "short",
|
|
4064
4064
|
day: "numeric",
|
|
4065
4065
|
year: "numeric"
|
|
4066
|
-
}) + "
|
|
4066
|
+
}) + " - " + now.toLocaleTimeString("en-US", {
|
|
4067
4067
|
hour: "2-digit",
|
|
4068
4068
|
minute: "2-digit"
|
|
4069
4069
|
}) + " GMT";
|
|
@@ -4134,7 +4134,7 @@ var ReportHeader = function ReportHeader(_ref) {
|
|
|
4134
4134
|
fontSize: exportMode ? 10 : 12,
|
|
4135
4135
|
color: "#9CA3AF"
|
|
4136
4136
|
},
|
|
4137
|
-
children: ["30-day window
|
|
4137
|
+
children: ["30-day window - Generated ", generatedLabel]
|
|
4138
4138
|
})]
|
|
4139
4139
|
})]
|
|
4140
4140
|
}), /*#__PURE__*/jsxRuntime.jsxs(material.Box, {
|
|
@@ -4338,11 +4338,11 @@ var DonorMixCard = function DonorMixCard(_ref) {
|
|
|
4338
4338
|
_ref$items = _ref.items,
|
|
4339
4339
|
items = _ref$items === void 0 ? [{
|
|
4340
4340
|
label: "New donors",
|
|
4341
|
-
val: "146
|
|
4341
|
+
val: "146 - 68%",
|
|
4342
4342
|
color: "rgb(99, 99, 230)"
|
|
4343
4343
|
}, {
|
|
4344
4344
|
label: "Returning",
|
|
4345
|
-
val: "69
|
|
4345
|
+
val: "69 - 32%",
|
|
4346
4346
|
color: "#10B981"
|
|
4347
4347
|
}] : _ref$items,
|
|
4348
4348
|
_ref$showBottomSummar = _ref.showBottomSummary,
|
|
@@ -4549,7 +4549,7 @@ var DonorMixCard = function DonorMixCard(_ref) {
|
|
|
4549
4549
|
|
|
4550
4550
|
var TrafficSourceCard = function TrafficSourceCard(_ref) {
|
|
4551
4551
|
var _ref$title = _ref.title,
|
|
4552
|
-
title = _ref$title === void 0 ? "Traffic
|
|
4552
|
+
title = _ref$title === void 0 ? "Traffic Source" : _ref$title,
|
|
4553
4553
|
subtitle = _ref.subtitle,
|
|
4554
4554
|
_ref$trafficSourceDat = _ref.trafficSourceData,
|
|
4555
4555
|
trafficSourceData = _ref$trafficSourceDat === void 0 ? [] : _ref$trafficSourceDat,
|
|
@@ -4559,7 +4559,7 @@ var TrafficSourceCard = function TrafficSourceCard(_ref) {
|
|
|
4559
4559
|
_ref$numberOfDays = _ref.numberOfDays,
|
|
4560
4560
|
numberOfDays = _ref$numberOfDays === void 0 ? 30 : _ref$numberOfDays;
|
|
4561
4561
|
var daysLabel = "".concat(numberOfDays, " day").concat(numberOfDays === 1 ? "" : "s");
|
|
4562
|
-
var resolvedSubtitle = subtitle || "Revenue by channel
|
|
4562
|
+
var resolvedSubtitle = subtitle || "Revenue by channel - ".concat(daysLabel);
|
|
4563
4563
|
var paidAdsColor = "rgb(99, 99, 230)";
|
|
4564
4564
|
var organicColor = "#10B981";
|
|
4565
4565
|
var emailColor = "#0EA5E9";
|
|
@@ -5280,7 +5280,7 @@ var DonationTypeBarChart = function DonationTypeBarChart(_ref) {
|
|
|
5280
5280
|
total: (dataObj === null || dataObj === void 0 || (_dataObj$summary4 = dataObj.summary) === null || _dataObj$summary4 === void 0 || (_dataObj$summary4 = _dataObj$summary4.oneTime) === null || _dataObj$summary4 === void 0 ? void 0 : _dataObj$summary4.total) || 0,
|
|
5281
5281
|
color: oneTimeColor
|
|
5282
5282
|
}];
|
|
5283
|
-
title = "Recurring vs
|
|
5283
|
+
title = "Recurring vs One-time";
|
|
5284
5284
|
isDistributed = false;
|
|
5285
5285
|
}
|
|
5286
5286
|
var resolvedChartHeight = chartHeight !== null && chartHeight !== void 0 ? chartHeight : exportMode ? 110 : 170;
|
|
@@ -5558,7 +5558,7 @@ var LandingPagesCard = function LandingPagesCard(_ref2) {
|
|
|
5558
5558
|
cvr: "2.2%"
|
|
5559
5559
|
}];
|
|
5560
5560
|
return /*#__PURE__*/jsxRuntime.jsxs(CardWrapper, {
|
|
5561
|
-
title: "Top
|
|
5561
|
+
title: "Top Landing Pages",
|
|
5562
5562
|
subtitle: "Pages ranked by donations attributed",
|
|
5563
5563
|
children: [/*#__PURE__*/jsxRuntime.jsxs(material.Box, {
|
|
5564
5564
|
sx: {
|
|
@@ -5608,7 +5608,7 @@ var LandingPagesCard = function LandingPagesCard(_ref2) {
|
|
|
5608
5608
|
textAlign: "left",
|
|
5609
5609
|
whiteSpace: "nowrap"
|
|
5610
5610
|
},
|
|
5611
|
-
children: "Conv.
|
|
5611
|
+
children: "Conv. Rate"
|
|
5612
5612
|
})]
|
|
5613
5613
|
}), data.length === 0 ? /*#__PURE__*/jsxRuntime.jsx(material.Typography, {
|
|
5614
5614
|
sx: {
|
|
@@ -5716,8 +5716,8 @@ var KeywordsCard = function KeywordsCard(_ref3) {
|
|
|
5716
5716
|
}];
|
|
5717
5717
|
var daysLabel = "".concat(numberOfDays, " day").concat(numberOfDays === 1 ? "" : "s");
|
|
5718
5718
|
return /*#__PURE__*/jsxRuntime.jsx(CardWrapper, {
|
|
5719
|
-
title: "Top
|
|
5720
|
-
subtitle: "Search terms ranked by clicks
|
|
5719
|
+
title: "Top Organic Keywords",
|
|
5720
|
+
subtitle: "Search terms ranked by clicks - last ".concat(daysLabel),
|
|
5721
5721
|
children: !available || data.length === 0 ? /*#__PURE__*/jsxRuntime.jsx(material.Typography, {
|
|
5722
5722
|
sx: {
|
|
5723
5723
|
fontSize: "13px",
|
|
@@ -5859,35 +5859,35 @@ var KeywordsCard = function KeywordsCard(_ref3) {
|
|
|
5859
5859
|
};
|
|
5860
5860
|
var GeographyCard = function GeographyCard(_ref4) {
|
|
5861
5861
|
var _ref4$subtitle = _ref4.subtitle,
|
|
5862
|
-
subtitle = _ref4$subtitle === void 0 ? "Top
|
|
5862
|
+
subtitle = _ref4$subtitle === void 0 ? "Top Countries by Organic Traffic" : _ref4$subtitle,
|
|
5863
5863
|
dataProp = _ref4.data;
|
|
5864
5864
|
var data = dataProp !== null && dataProp !== void 0 ? dataProp : [{
|
|
5865
5865
|
country: "United States",
|
|
5866
|
-
stats: "3,120
|
|
5866
|
+
stats: "3,120 - 37%",
|
|
5867
5867
|
percentage: 37
|
|
5868
5868
|
}, {
|
|
5869
5869
|
country: "United Kingdom",
|
|
5870
|
-
stats: "1,840
|
|
5870
|
+
stats: "1,840 - 22%",
|
|
5871
5871
|
percentage: 22
|
|
5872
5872
|
}, {
|
|
5873
5873
|
country: "Canada",
|
|
5874
|
-
stats: "920
|
|
5874
|
+
stats: "920 - 11%",
|
|
5875
5875
|
percentage: 11
|
|
5876
5876
|
}, {
|
|
5877
5877
|
country: "Australia",
|
|
5878
|
-
stats: "650
|
|
5878
|
+
stats: "650 - 8%",
|
|
5879
5879
|
percentage: 8
|
|
5880
5880
|
}, {
|
|
5881
5881
|
country: "UAE",
|
|
5882
|
-
stats: "580
|
|
5882
|
+
stats: "580 - 7%",
|
|
5883
5883
|
percentage: 7
|
|
5884
5884
|
}, {
|
|
5885
5885
|
country: "Other",
|
|
5886
|
-
stats: "1,310
|
|
5886
|
+
stats: "1,310 - 16%",
|
|
5887
5887
|
percentage: 16
|
|
5888
5888
|
}];
|
|
5889
5889
|
return /*#__PURE__*/jsxRuntime.jsx(CardWrapper, {
|
|
5890
|
-
title: "Geography
|
|
5890
|
+
title: "Geography Insights",
|
|
5891
5891
|
subtitle: subtitle,
|
|
5892
5892
|
children: data.length === 0 ? /*#__PURE__*/jsxRuntime.jsx(material.Typography, {
|
|
5893
5893
|
sx: {
|
|
@@ -5969,7 +5969,7 @@ var TopCampaignsRaisedCard = function TopCampaignsRaisedCard(_ref5) {
|
|
|
5969
5969
|
value: "$6,320"
|
|
5970
5970
|
}];
|
|
5971
5971
|
return /*#__PURE__*/jsxRuntime.jsxs(CardWrapper, {
|
|
5972
|
-
title: "Top
|
|
5972
|
+
title: "Top Campaigns by Total Raised",
|
|
5973
5973
|
subtitle: "Email campaigns ranked by donations",
|
|
5974
5974
|
children: [/*#__PURE__*/jsxRuntime.jsxs(material.Box, {
|
|
5975
5975
|
sx: {
|
|
@@ -6075,7 +6075,7 @@ var TopCampaignsCTRCard = function TopCampaignsCTRCard(_ref6) {
|
|
|
6075
6075
|
value: "7.6%"
|
|
6076
6076
|
}];
|
|
6077
6077
|
return /*#__PURE__*/jsxRuntime.jsxs(CardWrapper, {
|
|
6078
|
-
title: "Top
|
|
6078
|
+
title: "Top Campaigns by CTR",
|
|
6079
6079
|
subtitle: "Click-through rate leaders",
|
|
6080
6080
|
children: [/*#__PURE__*/jsxRuntime.jsxs(material.Box, {
|
|
6081
6081
|
sx: {
|
|
@@ -6181,7 +6181,7 @@ var TopCampaignsConvRateCard = function TopCampaignsConvRateCard(_ref7) {
|
|
|
6181
6181
|
value: "3.4%"
|
|
6182
6182
|
}];
|
|
6183
6183
|
return /*#__PURE__*/jsxRuntime.jsxs(CardWrapper, {
|
|
6184
|
-
title: "Top
|
|
6184
|
+
title: "Top Campaigns by Conversion",
|
|
6185
6185
|
subtitle: "Click-to-donation conversion",
|
|
6186
6186
|
children: [/*#__PURE__*/jsxRuntime.jsxs(material.Box, {
|
|
6187
6187
|
sx: {
|
|
@@ -6203,7 +6203,7 @@ var TopCampaignsConvRateCard = function TopCampaignsConvRateCard(_ref7) {
|
|
|
6203
6203
|
color: "rgba(0, 0, 0, 0.4)",
|
|
6204
6204
|
fontWeight: 500
|
|
6205
6205
|
},
|
|
6206
|
-
children: "Conv.
|
|
6206
|
+
children: "Conv. Rate"
|
|
6207
6207
|
})]
|
|
6208
6208
|
}), data.length === 0 ? /*#__PURE__*/jsxRuntime.jsx(material.Typography, {
|
|
6209
6209
|
sx: {
|
|
@@ -6297,7 +6297,7 @@ var TopPerformingCampaignsCard = function TopPerformingCampaignsCard(_ref8) {
|
|
|
6297
6297
|
}];
|
|
6298
6298
|
var data = dataProp === null ? fallbackData : dataProp;
|
|
6299
6299
|
return /*#__PURE__*/jsxRuntime.jsxs(CardWrapper, {
|
|
6300
|
-
title: "Top
|
|
6300
|
+
title: "Top Performing Campaigns",
|
|
6301
6301
|
subtitle: "Paid campaigns ranked by ROAS",
|
|
6302
6302
|
children: [/*#__PURE__*/jsxRuntime.jsxs(material.Box, {
|
|
6303
6303
|
sx: {
|
|
@@ -6451,7 +6451,7 @@ var PaidDonorGeographyCard = function PaidDonorGeographyCard(_ref9) {
|
|
|
6451
6451
|
color: "#000",
|
|
6452
6452
|
lineHeight: 1.15
|
|
6453
6453
|
},
|
|
6454
|
-
children: "Paid
|
|
6454
|
+
children: "Paid Donor Geography"
|
|
6455
6455
|
}), /*#__PURE__*/jsxRuntime.jsx(material.Typography, {
|
|
6456
6456
|
sx: {
|
|
6457
6457
|
fontSize: "13px",
|
|
@@ -6502,7 +6502,7 @@ var PaidDonorGeographyCard = function PaidDonorGeographyCard(_ref9) {
|
|
|
6502
6502
|
minWidth: "60px",
|
|
6503
6503
|
textAlign: "right"
|
|
6504
6504
|
},
|
|
6505
|
-
children: [item.value, "
|
|
6505
|
+
children: [item.value, " - ", item.percentage, "%"]
|
|
6506
6506
|
})]
|
|
6507
6507
|
}, index);
|
|
6508
6508
|
})]
|
|
@@ -6730,7 +6730,7 @@ var RefundsChargebacksCard = function RefundsChargebacksCard(_ref) {
|
|
|
6730
6730
|
textAlign: "left",
|
|
6731
6731
|
lineHeight: 1.15
|
|
6732
6732
|
},
|
|
6733
|
-
children: "Refunds &
|
|
6733
|
+
children: "Refunds & Chargebacks"
|
|
6734
6734
|
}), /*#__PURE__*/jsxRuntime.jsxs(material.Typography, {
|
|
6735
6735
|
sx: {
|
|
6736
6736
|
fontSize: "13px",
|
|
@@ -6738,7 +6738,7 @@ var RefundsChargebacksCard = function RefundsChargebacksCard(_ref) {
|
|
|
6738
6738
|
textAlign: "left",
|
|
6739
6739
|
lineHeight: 1.15
|
|
6740
6740
|
},
|
|
6741
|
-
children: ["Trust health
|
|
6741
|
+
children: ["Trust health - ", windowLabel]
|
|
6742
6742
|
})]
|
|
6743
6743
|
}), /*#__PURE__*/jsxRuntime.jsxs(material.Box, {
|
|
6744
6744
|
sx: {
|
|
@@ -6856,7 +6856,7 @@ var RefundsChargebacksCard = function RefundsChargebacksCard(_ref) {
|
|
|
6856
6856
|
fontWeight: 500,
|
|
6857
6857
|
textAlign: "left"
|
|
6858
6858
|
},
|
|
6859
|
-
children: ["$", fmt(totalRefundedAmount), " refunded
|
|
6859
|
+
children: ["$", fmt(totalRefundedAmount), " refunded - ", totalChargebacks, " chargebacks - ", totalRefunds, " refunds"]
|
|
6860
6860
|
})
|
|
6861
6861
|
}), /*#__PURE__*/jsxRuntime.jsxs(material.Box, {
|
|
6862
6862
|
sx: {
|
|
@@ -6965,12 +6965,12 @@ var OverallDetailsGrid = function OverallDetailsGrid(_ref) {
|
|
|
6965
6965
|
alignItems: "stretch"
|
|
6966
6966
|
},
|
|
6967
6967
|
children: [/*#__PURE__*/jsxRuntime.jsx(ActiveCampaignsCard, {
|
|
6968
|
-
title: "Active
|
|
6968
|
+
title: "Active Campaigns",
|
|
6969
6969
|
subtitle: "Live fundraisers ranked by velocity",
|
|
6970
6970
|
columns: ["Campaign", "Raised", "Progress", "Donors", "Avg gift"],
|
|
6971
6971
|
rows: activeCampaignsRows
|
|
6972
6972
|
}), /*#__PURE__*/jsxRuntime.jsx(DonorMixCard, {
|
|
6973
|
-
title: "Donor
|
|
6973
|
+
title: "Donor Mix",
|
|
6974
6974
|
subtitle: "Acquisition vs retention",
|
|
6975
6975
|
series: [newDonors, returningDonors],
|
|
6976
6976
|
labels: ["New donors", "Returning"],
|
|
@@ -6979,11 +6979,11 @@ var OverallDetailsGrid = function OverallDetailsGrid(_ref) {
|
|
|
6979
6979
|
centerValue: String(totalMix),
|
|
6980
6980
|
items: [{
|
|
6981
6981
|
label: "New donors",
|
|
6982
|
-
val: "".concat(newDonors, "
|
|
6982
|
+
val: "".concat(newDonors, " - ").concat(newPct, "%"),
|
|
6983
6983
|
color: "rgb(99, 99, 230)"
|
|
6984
6984
|
}, {
|
|
6985
6985
|
label: "Returning",
|
|
6986
|
-
val: "".concat(returningDonors, "
|
|
6986
|
+
val: "".concat(returningDonors, " - ").concat(retPct, "%"),
|
|
6987
6987
|
color: "#10B981"
|
|
6988
6988
|
}],
|
|
6989
6989
|
bottomSummaryValue: "$".concat(formatNumber(avgGift)),
|
|
@@ -7006,7 +7006,7 @@ var OverallDetailsGrid = function OverallDetailsGrid(_ref) {
|
|
|
7006
7006
|
paddingTop: "0px !important"
|
|
7007
7007
|
},
|
|
7008
7008
|
children: /*#__PURE__*/jsxRuntime.jsx(ActiveCampaignsCard, {
|
|
7009
|
-
title: "Active
|
|
7009
|
+
title: "Active Campaigns",
|
|
7010
7010
|
subtitle: "Live fundraisers ranked by velocity",
|
|
7011
7011
|
columns: ["Campaign", "Raised", "Progress", "Donors", "Avg gift"],
|
|
7012
7012
|
rows: activeCampaignsRows
|
|
@@ -7024,7 +7024,7 @@ var OverallDetailsGrid = function OverallDetailsGrid(_ref) {
|
|
|
7024
7024
|
}
|
|
7025
7025
|
},
|
|
7026
7026
|
children: /*#__PURE__*/jsxRuntime.jsx(DonorMixCard, {
|
|
7027
|
-
title: "Donor
|
|
7027
|
+
title: "Donor Mix",
|
|
7028
7028
|
subtitle: "Acquisition vs retention",
|
|
7029
7029
|
series: [newDonors, returningDonors],
|
|
7030
7030
|
labels: ["New donors", "Returning"],
|
|
@@ -7032,12 +7032,12 @@ var OverallDetailsGrid = function OverallDetailsGrid(_ref) {
|
|
|
7032
7032
|
centerLabel: "donors",
|
|
7033
7033
|
centerValue: String(totalMix),
|
|
7034
7034
|
items: [{
|
|
7035
|
-
label: "New
|
|
7036
|
-
val: "".concat(newDonors, "
|
|
7035
|
+
label: "New Donors",
|
|
7036
|
+
val: "".concat(newDonors, " - ").concat(newPct, "%"),
|
|
7037
7037
|
color: "rgb(99, 99, 230)"
|
|
7038
7038
|
}, {
|
|
7039
7039
|
label: "Returning",
|
|
7040
|
-
val: "".concat(returningDonors, "
|
|
7040
|
+
val: "".concat(returningDonors, " - ").concat(retPct, "%"),
|
|
7041
7041
|
color: "#10B981"
|
|
7042
7042
|
}],
|
|
7043
7043
|
bottomSummaryValue: "$".concat(formatNumber(avgGift)),
|
|
@@ -7069,7 +7069,7 @@ var OverallDetailsGrid = function OverallDetailsGrid(_ref) {
|
|
|
7069
7069
|
var bottomCards = /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
7070
7070
|
children: [/*#__PURE__*/jsxRuntime.jsx(MetricSparklineCard, {
|
|
7071
7071
|
title: "Order Bump",
|
|
7072
|
-
subtitle: "Revenue trend
|
|
7072
|
+
subtitle: "Revenue trend - last ".concat(daysLabel),
|
|
7073
7073
|
value: "$".concat(formatNumber((orderBumpData === null || orderBumpData === void 0 ? void 0 : orderBumpData.totalRevenue) || 0)),
|
|
7074
7074
|
trend: "".concat((orderBumpData === null || orderBumpData === void 0 ? void 0 : orderBumpData.growthPercentage) >= 0 ? "▲" : "▼", " ").concat(Math.abs((orderBumpData === null || orderBumpData === void 0 ? void 0 : orderBumpData.growthPercentage) || 0).toFixed(1), "% vs pp"),
|
|
7075
7075
|
chartData: (orderBumpData === null || orderBumpData === void 0 || (_orderBumpData$chart = orderBumpData.chart) === null || _orderBumpData$chart === void 0 ? void 0 : _orderBumpData$chart.map(function (item) {
|
|
@@ -7112,7 +7112,7 @@ var OverallDetailsGrid = function OverallDetailsGrid(_ref) {
|
|
|
7112
7112
|
sx: CARD_SX
|
|
7113
7113
|
}), /*#__PURE__*/jsxRuntime.jsx(MetricSparklineCard, {
|
|
7114
7114
|
title: "Referrals",
|
|
7115
|
-
subtitle: "Revenue trend
|
|
7115
|
+
subtitle: "Revenue trend - last ".concat(daysLabel),
|
|
7116
7116
|
value: "$".concat(formatNumber((referralData === null || referralData === void 0 ? void 0 : referralData.totalRevenue) || 0)),
|
|
7117
7117
|
trend: "".concat((referralData === null || referralData === void 0 ? void 0 : referralData.growthPercentage) >= 0 ? "▲" : "▼", " ").concat(Math.abs((referralData === null || referralData === void 0 ? void 0 : referralData.growthPercentage) || 0).toFixed(1), "% vs pp"),
|
|
7118
7118
|
chartData: (referralData === null || referralData === void 0 || (_referralData$chartDa = referralData.chartData) === null || _referralData$chartDa === void 0 ? void 0 : _referralData$chartDa.map(function (item) {
|
|
@@ -7614,7 +7614,7 @@ var RecurringDonationAmounts = function RecurringDonationAmounts() {
|
|
|
7614
7614
|
minWidth: "60px",
|
|
7615
7615
|
textAlign: "right"
|
|
7616
7616
|
},
|
|
7617
|
-
children: "".concat(item.plans, "
|
|
7617
|
+
children: "".concat(item.plans, " - ").concat(item.share, "%")
|
|
7618
7618
|
})]
|
|
7619
7619
|
}, index);
|
|
7620
7620
|
})
|
|
@@ -17595,7 +17595,7 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
17595
17595
|
error: false,
|
|
17596
17596
|
warning: false
|
|
17597
17597
|
},
|
|
17598
|
-
"Avg
|
|
17598
|
+
"Avg Donation": {
|
|
17599
17599
|
value: "$".concat(formatNumber(((_apiData$overviewStat10 = apiData === null || apiData === void 0 || (_apiData$overviewStat11 = apiData.overviewStats) === null || _apiData$overviewStat11 === void 0 || (_apiData$overviewStat11 = _apiData$overviewStat11.overview) === null || _apiData$overviewStat11 === void 0 ? void 0 : _apiData$overviewStat11.overallAVGDonations) !== null && _apiData$overviewStat10 !== void 0 ? _apiData$overviewStat10 : 0).toFixed(2))),
|
|
17600
17600
|
subValue: "".concat(Number((_apiData$overviewStat12 = apiData === null || apiData === void 0 || (_apiData$overviewStat13 = apiData.overviewStats) === null || _apiData$overviewStat13 === void 0 || (_apiData$overviewStat13 = _apiData$overviewStat13.overview.growthPercentage) === null || _apiData$overviewStat13 === void 0 ? void 0 : _apiData$overviewStat13.overallAVGDonations) !== null && _apiData$overviewStat12 !== void 0 ? _apiData$overviewStat12 : 0).toFixed(2), "% vs pp\n "),
|
|
17601
17601
|
label: "Average Donation Amount",
|
|
@@ -17747,7 +17747,7 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
17747
17747
|
categories = _buildStackedSeries.categories,
|
|
17748
17748
|
series = _buildStackedSeries.series;
|
|
17749
17749
|
mainChart = _objectSpread2(_objectSpread2({}, mainChart), {}, {
|
|
17750
|
-
label: "Total
|
|
17750
|
+
label: "Total Revenue Trend",
|
|
17751
17751
|
data: undefined,
|
|
17752
17752
|
// Clear single data property to force series usage
|
|
17753
17753
|
series: series,
|
|
@@ -17771,7 +17771,7 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
17771
17771
|
_categories = _buildStackedSeries2.categories,
|
|
17772
17772
|
_series = _buildStackedSeries2.series;
|
|
17773
17773
|
mainChart = _objectSpread2(_objectSpread2({}, mainChart), {}, {
|
|
17774
|
-
label: "Net
|
|
17774
|
+
label: "Net Revenue Trend",
|
|
17775
17775
|
data: undefined,
|
|
17776
17776
|
series: _series,
|
|
17777
17777
|
categories: _categories,
|
|
@@ -17781,7 +17781,7 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
17781
17781
|
});
|
|
17782
17782
|
} else if (Array.isArray(netData) && netData.length > 0) {
|
|
17783
17783
|
mainChart = _objectSpread2(_objectSpread2({}, mainChart), {}, {
|
|
17784
|
-
label: "Net
|
|
17784
|
+
label: "Net Revenue Trend",
|
|
17785
17785
|
data: netData.map(function (item) {
|
|
17786
17786
|
return item.value;
|
|
17787
17787
|
}),
|
|
@@ -17803,7 +17803,7 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
17803
17803
|
_categories2 = _buildStackedSeries3.categories,
|
|
17804
17804
|
_series2 = _buildStackedSeries3.series;
|
|
17805
17805
|
mainChart = _objectSpread2(_objectSpread2({}, mainChart), {}, {
|
|
17806
|
-
label: "Donor
|
|
17806
|
+
label: "Donor Trend",
|
|
17807
17807
|
data: undefined,
|
|
17808
17808
|
series: _series2,
|
|
17809
17809
|
categories: _categories2,
|
|
@@ -17813,7 +17813,7 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
17813
17813
|
});
|
|
17814
17814
|
} else if (Array.isArray(donorsData) && donorsData.length > 0) {
|
|
17815
17815
|
mainChart = _objectSpread2(_objectSpread2({}, mainChart), {}, {
|
|
17816
|
-
label: "Donor
|
|
17816
|
+
label: "Donor Trend",
|
|
17817
17817
|
data: donorsData.map(function (item) {
|
|
17818
17818
|
return item.value;
|
|
17819
17819
|
}),
|
|
@@ -17889,7 +17889,7 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
17889
17889
|
});
|
|
17890
17890
|
}
|
|
17891
17891
|
}
|
|
17892
|
-
if (activeMetric === "Avg
|
|
17892
|
+
if (activeMetric === "Avg Donation") {
|
|
17893
17893
|
var _apiData$overviewStat26;
|
|
17894
17894
|
var avgData = apiData === null || apiData === void 0 || (_apiData$overviewStat26 = apiData.overviewStats) === null || _apiData$overviewStat26 === void 0 ? void 0 : _apiData$overviewStat26.avgDonations;
|
|
17895
17895
|
var _hasStackedData5 = (avgData === null || avgData === void 0 ? void 0 : avgData.paidAds) || (avgData === null || avgData === void 0 ? void 0 : avgData.email) || (avgData === null || avgData === void 0 ? void 0 : avgData.organic);
|
|
@@ -17898,7 +17898,7 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
17898
17898
|
_categories5 = _buildStackedSeries6.categories,
|
|
17899
17899
|
_series5 = _buildStackedSeries6.series;
|
|
17900
17900
|
mainChart = _objectSpread2(_objectSpread2({}, mainChart), {}, {
|
|
17901
|
-
label: "Average
|
|
17901
|
+
label: "Average Donation Trend",
|
|
17902
17902
|
data: undefined,
|
|
17903
17903
|
series: _series5,
|
|
17904
17904
|
categories: _categories5,
|
|
@@ -17908,7 +17908,7 @@ var OverallSection = function OverallSection(_ref) {
|
|
|
17908
17908
|
});
|
|
17909
17909
|
} else if (Array.isArray(avgData) && avgData.length > 0) {
|
|
17910
17910
|
mainChart = _objectSpread2(_objectSpread2({}, mainChart), {}, {
|
|
17911
|
-
label: "Average
|
|
17911
|
+
label: "Average Donation Trend",
|
|
17912
17912
|
data: avgData.map(function (item) {
|
|
17913
17913
|
return item.value;
|
|
17914
17914
|
}),
|
|
@@ -18152,7 +18152,7 @@ var PaidSection = function PaidSection(_ref) {
|
|
|
18152
18152
|
error: false,
|
|
18153
18153
|
warning: false
|
|
18154
18154
|
},
|
|
18155
|
-
"Cost
|
|
18155
|
+
"Cost Per Donor": {
|
|
18156
18156
|
value: "$".concat(formatNumber(373)),
|
|
18157
18157
|
subValue: "12% vs pp",
|
|
18158
18158
|
data: [350, 380, 360, 410, 390, 370, 373],
|
|
@@ -18162,7 +18162,7 @@ var PaidSection = function PaidSection(_ref) {
|
|
|
18162
18162
|
error: false,
|
|
18163
18163
|
warning: false
|
|
18164
18164
|
},
|
|
18165
|
-
"Conversion
|
|
18165
|
+
"Conversion Rate": {
|
|
18166
18166
|
value: "3.1%",
|
|
18167
18167
|
subValue: "12% vs pp",
|
|
18168
18168
|
data: [2.8, 3.0, 2.9, 3.4, 3.2, 3.1, 3.1],
|
|
@@ -18173,7 +18173,7 @@ var PaidSection = function PaidSection(_ref) {
|
|
|
18173
18173
|
error: false,
|
|
18174
18174
|
warning: false
|
|
18175
18175
|
},
|
|
18176
|
-
"Avg
|
|
18176
|
+
"Avg Donation": {
|
|
18177
18177
|
value: "$".concat(formatNumber(130.58)),
|
|
18178
18178
|
subValue: "12% vs pp",
|
|
18179
18179
|
data: [120, 135, 125, 140, 130, 128, 130.58],
|
|
@@ -18217,7 +18217,7 @@ var PaidSection = function PaidSection(_ref) {
|
|
|
18217
18217
|
error: false,
|
|
18218
18218
|
warning: false
|
|
18219
18219
|
},
|
|
18220
|
-
"Cost
|
|
18220
|
+
"Cost Per Donor": {
|
|
18221
18221
|
value: "$".concat(formatNumber((_overview$costPerDono = overview.costPerDonor) !== null && _overview$costPerDono !== void 0 ? _overview$costPerDono : 0)),
|
|
18222
18222
|
subValue: formatGrowth$2(growth.costPerDonor),
|
|
18223
18223
|
data: flatSeries((_overview$costPerDono2 = overview.costPerDonor) !== null && _overview$costPerDono2 !== void 0 ? _overview$costPerDono2 : 0),
|
|
@@ -18227,7 +18227,7 @@ var PaidSection = function PaidSection(_ref) {
|
|
|
18227
18227
|
error: false,
|
|
18228
18228
|
warning: false
|
|
18229
18229
|
},
|
|
18230
|
-
"Conversion
|
|
18230
|
+
"Conversion Rate": {
|
|
18231
18231
|
value: "".concat(Number((_overview$conversionR = overview.conversionRate) !== null && _overview$conversionR !== void 0 ? _overview$conversionR : 0).toFixed(2), "%"),
|
|
18232
18232
|
subValue: formatGrowth$2(growth.conversionRate),
|
|
18233
18233
|
data: flatSeries((_overview$conversionR2 = overview.conversionRate) !== null && _overview$conversionR2 !== void 0 ? _overview$conversionR2 : 0),
|
|
@@ -18238,7 +18238,7 @@ var PaidSection = function PaidSection(_ref) {
|
|
|
18238
18238
|
error: false,
|
|
18239
18239
|
warning: false
|
|
18240
18240
|
},
|
|
18241
|
-
"Avg
|
|
18241
|
+
"Avg Donation": {
|
|
18242
18242
|
value: "$".concat(formatNumber((_overview$averageDona = overview.averageDonation) !== null && _overview$averageDona !== void 0 ? _overview$averageDona : 0)),
|
|
18243
18243
|
subValue: formatGrowth$2(growth.averageDonation),
|
|
18244
18244
|
data: flatSeries((_overview$averageDona2 = overview.averageDonation) !== null && _overview$averageDona2 !== void 0 ? _overview$averageDona2 : 0),
|
|
@@ -18390,7 +18390,7 @@ var PaidSection = function PaidSection(_ref) {
|
|
|
18390
18390
|
isPrimary: true,
|
|
18391
18391
|
isPremium: true,
|
|
18392
18392
|
numberOfDays: numberOfDays,
|
|
18393
|
-
metric: activeMetric === "Conversion
|
|
18393
|
+
metric: activeMetric === "Conversion Rate" ? "Percent" : activeMetric === "ROAS" ? "ROAS" : selectedInfo.money ? "Revenue" : "Donors"
|
|
18394
18394
|
})
|
|
18395
18395
|
}), /*#__PURE__*/jsxRuntime.jsxs(material.Grid, {
|
|
18396
18396
|
container: true,
|
|
@@ -18407,9 +18407,9 @@ var PaidSection = function PaidSection(_ref) {
|
|
|
18407
18407
|
minHeight: "430px"
|
|
18408
18408
|
},
|
|
18409
18409
|
children: /*#__PURE__*/jsxRuntime.jsx(ActiveCampaignsCard, {
|
|
18410
|
-
title: "Channel
|
|
18410
|
+
title: "Channel Performance",
|
|
18411
18411
|
subtitle: "Ad platforms ranked by ROAS",
|
|
18412
|
-
columns: ["
|
|
18412
|
+
columns: ["Channel", "Ppend", "Revenue", "ROAS", "CPA", "Trend"],
|
|
18413
18413
|
gridTemplateColumns: "2.2fr 1fr 1fr 0.8fr 0.8fr 1.2fr",
|
|
18414
18414
|
height: "100%",
|
|
18415
18415
|
rows: channelRows !== null && channelRows !== void 0 ? channelRows : [{
|
|
@@ -18492,7 +18492,7 @@ var PaidSection = function PaidSection(_ref) {
|
|
|
18492
18492
|
}
|
|
18493
18493
|
},
|
|
18494
18494
|
children: /*#__PURE__*/jsxRuntime.jsx(DonorMixCard, {
|
|
18495
|
-
title: "Spend
|
|
18495
|
+
title: "Spend Allocation",
|
|
18496
18496
|
subtitle: (_spendAllocation$subt = spendAllocation === null || spendAllocation === void 0 ? void 0 : spendAllocation.subtitle) !== null && _spendAllocation$subt !== void 0 ? _spendAllocation$subt : "Where $80.3K went this month",
|
|
18497
18497
|
series: (_spendAllocation$seri = spendAllocation === null || spendAllocation === void 0 ? void 0 : spendAllocation.series) !== null && _spendAllocation$seri !== void 0 ? _spendAllocation$seri : [40.8, 35.1, 14.2, 6.6, 3.3],
|
|
18498
18498
|
labels: (_spendAllocation$labe = spendAllocation === null || spendAllocation === void 0 ? void 0 : spendAllocation.labels) !== null && _spendAllocation$labe !== void 0 ? _spendAllocation$labe : ["Meta Ads", "Google Ads", "TikTok", "YouTube", "Snapchat"],
|
|
@@ -18658,7 +18658,7 @@ var OrganicSection = function OrganicSection(_ref) {
|
|
|
18658
18658
|
warning: false,
|
|
18659
18659
|
error: false
|
|
18660
18660
|
},
|
|
18661
|
-
"Revenue
|
|
18661
|
+
"Revenue Raised": {
|
|
18662
18662
|
value: "$".concat(formatNumber(240398)),
|
|
18663
18663
|
subValue: "0.4x vs pp",
|
|
18664
18664
|
data: [2.5, 3.1, 2.8, 4.2, 3.8, 4.5, 5.2],
|
|
@@ -18668,7 +18668,7 @@ var OrganicSection = function OrganicSection(_ref) {
|
|
|
18668
18668
|
warning: false,
|
|
18669
18669
|
error: false
|
|
18670
18670
|
},
|
|
18671
|
-
"Avg
|
|
18671
|
+
"Avg Donation": {
|
|
18672
18672
|
value: "$".concat(formatNumber(130.58)),
|
|
18673
18673
|
subValue: "18% vs pp",
|
|
18674
18674
|
data: [110, 125, 120, 135, 130, 128, 130.58],
|
|
@@ -18733,7 +18733,7 @@ var OrganicSection = function OrganicSection(_ref) {
|
|
|
18733
18733
|
warning: false,
|
|
18734
18734
|
error: false
|
|
18735
18735
|
},
|
|
18736
|
-
"Revenue
|
|
18736
|
+
"Revenue Raised": {
|
|
18737
18737
|
value: "$".concat(formatNumber((_overview$totalRevenu3 = overview.totalRevenue) !== null && _overview$totalRevenu3 !== void 0 ? _overview$totalRevenu3 : 0)),
|
|
18738
18738
|
subValue: growthCaption("totalRevenue"),
|
|
18739
18739
|
data: revenueSeries.data,
|
|
@@ -18743,7 +18743,7 @@ var OrganicSection = function OrganicSection(_ref) {
|
|
|
18743
18743
|
warning: false,
|
|
18744
18744
|
error: false
|
|
18745
18745
|
},
|
|
18746
|
-
"Avg
|
|
18746
|
+
"Avg Donation": {
|
|
18747
18747
|
value: "$".concat(formatNumber((_overview$overallAVGD3 = overview.overallAVGDonations) !== null && _overview$overallAVGD3 !== void 0 ? _overview$overallAVGD3 : 0)),
|
|
18748
18748
|
subValue: growthCaption("overallAVGDonations"),
|
|
18749
18749
|
data: avgDonationSeries.data,
|
|
@@ -18797,7 +18797,7 @@ var OrganicSection = function OrganicSection(_ref) {
|
|
|
18797
18797
|
var _item$visitors2, _item$percentage, _item$percentage2;
|
|
18798
18798
|
return {
|
|
18799
18799
|
country: item.country || "Unknown",
|
|
18800
|
-
stats: "".concat(formatNumber((_item$visitors2 = item.visitors) !== null && _item$visitors2 !== void 0 ? _item$visitors2 : 0), "
|
|
18800
|
+
stats: "".concat(formatNumber((_item$visitors2 = item.visitors) !== null && _item$visitors2 !== void 0 ? _item$visitors2 : 0), " - ").concat(Number((_item$percentage = item.percentage) !== null && _item$percentage !== void 0 ? _item$percentage : 0).toFixed(0), "%"),
|
|
18801
18801
|
percentage: Number((_item$percentage2 = item.percentage) !== null && _item$percentage2 !== void 0 ? _item$percentage2 : 0)
|
|
18802
18802
|
};
|
|
18803
18803
|
});
|
|
@@ -18917,7 +18917,7 @@ var OrganicSection = function OrganicSection(_ref) {
|
|
|
18917
18917
|
}
|
|
18918
18918
|
},
|
|
18919
18919
|
children: /*#__PURE__*/jsxRuntime.jsx(DonorMixCard, {
|
|
18920
|
-
title: "Source
|
|
18920
|
+
title: "Source Breakdown",
|
|
18921
18921
|
subtitle: "Where organic visitors come from",
|
|
18922
18922
|
series: (_sourceBreakdown$seri = sourceBreakdown === null || sourceBreakdown === void 0 ? void 0 : sourceBreakdown.series) !== null && _sourceBreakdown$seri !== void 0 ? _sourceBreakdown$seri : [40.8, 35.1, 14.2, 3.3],
|
|
18923
18923
|
labels: (_sourceBreakdown$labe = sourceBreakdown === null || sourceBreakdown === void 0 ? void 0 : sourceBreakdown.labels) !== null && _sourceBreakdown$labe !== void 0 ? _sourceBreakdown$labe : ["Meta Ads", "Google Ads", "TikTok", "Snapchat"],
|
|
@@ -18972,7 +18972,7 @@ var OrganicSection = function OrganicSection(_ref) {
|
|
|
18972
18972
|
}
|
|
18973
18973
|
},
|
|
18974
18974
|
children: /*#__PURE__*/jsxRuntime.jsx(GeographyCard, {
|
|
18975
|
-
subtitle: "Top
|
|
18975
|
+
subtitle: "Top Countries by Organic Traffic",
|
|
18976
18976
|
data: geographyData
|
|
18977
18977
|
})
|
|
18978
18978
|
})]
|
|
@@ -19502,7 +19502,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
19502
19502
|
apiLoading = _ref$apiLoading === void 0 ? false : _ref$apiLoading,
|
|
19503
19503
|
_ref$numberOfDays = _ref.numberOfDays,
|
|
19504
19504
|
numberOfDays = _ref$numberOfDays === void 0 ? 30 : _ref$numberOfDays;
|
|
19505
|
-
var _useState = React.useState("Total
|
|
19505
|
+
var _useState = React.useState("Total Raised"),
|
|
19506
19506
|
_useState2 = _slicedToArray(_useState, 2),
|
|
19507
19507
|
activeMetric = _useState2[0],
|
|
19508
19508
|
setActiveMetric = _useState2[1];
|
|
@@ -19524,7 +19524,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
19524
19524
|
var _overview$totalRevenu, _overview$totalDonati, _overview$conversionR, _overview$ctr, _overview$revenuePerE, _deliverability$openR, _deliverability$total, _deliverability$uniqu, _deliverability$bounc, _deliverability$reven;
|
|
19525
19525
|
if (!hasEmailOverview) {
|
|
19526
19526
|
return {
|
|
19527
|
-
"Total
|
|
19527
|
+
"Total Raised": {
|
|
19528
19528
|
value: "$".concat(formatNumber(48920)),
|
|
19529
19529
|
subValue: "12% vs pp",
|
|
19530
19530
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.PaidOutlined, {}),
|
|
@@ -19540,7 +19540,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
19540
19540
|
error: false,
|
|
19541
19541
|
warning: false
|
|
19542
19542
|
},
|
|
19543
|
-
"Conversion
|
|
19543
|
+
"Conversion Rate": {
|
|
19544
19544
|
value: "3.2%",
|
|
19545
19545
|
subValue: "12% vs pp",
|
|
19546
19546
|
icon: /*#__PURE__*/jsxRuntime.jsx(ConversionRateIcon, {}),
|
|
@@ -19558,7 +19558,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
19558
19558
|
error: false,
|
|
19559
19559
|
warning: false
|
|
19560
19560
|
},
|
|
19561
|
-
"Revenue
|
|
19561
|
+
"Revenue Per Email": {
|
|
19562
19562
|
value: "$".concat(formatNumber(2.45)),
|
|
19563
19563
|
subValue: "12% vs pp",
|
|
19564
19564
|
icon: /*#__PURE__*/jsxRuntime.jsx(RevenuePerEmailIcon, {}),
|
|
@@ -19567,7 +19567,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
19567
19567
|
error: false,
|
|
19568
19568
|
warning: false
|
|
19569
19569
|
},
|
|
19570
|
-
"Open
|
|
19570
|
+
"Open Rate": {
|
|
19571
19571
|
value: "42.3%",
|
|
19572
19572
|
subValue: "12% vs pp",
|
|
19573
19573
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.Email, {}),
|
|
@@ -19593,7 +19593,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
19593
19593
|
error: false,
|
|
19594
19594
|
warning: false
|
|
19595
19595
|
},
|
|
19596
|
-
"Bounce
|
|
19596
|
+
"Bounce Rate": {
|
|
19597
19597
|
value: "1.8%",
|
|
19598
19598
|
subValue: "12% vs pp",
|
|
19599
19599
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.HighlightOff, {}),
|
|
@@ -19601,7 +19601,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
19601
19601
|
error: false,
|
|
19602
19602
|
warning: false
|
|
19603
19603
|
},
|
|
19604
|
-
"Revenue
|
|
19604
|
+
"Revenue Per Click": {
|
|
19605
19605
|
value: "$".concat(formatNumber(30.35)),
|
|
19606
19606
|
subValue: "12% vs pp",
|
|
19607
19607
|
icon: /*#__PURE__*/jsxRuntime.jsx(RevenuePerClickIcon, {}),
|
|
@@ -19613,7 +19613,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
19613
19613
|
};
|
|
19614
19614
|
}
|
|
19615
19615
|
return {
|
|
19616
|
-
"Total
|
|
19616
|
+
"Total Raised": {
|
|
19617
19617
|
value: "$".concat(formatNumber((_overview$totalRevenu = overview.totalRevenue) !== null && _overview$totalRevenu !== void 0 ? _overview$totalRevenu : 0)),
|
|
19618
19618
|
subValue: growthCaption("totalRevenue"),
|
|
19619
19619
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.PaidOutlined, {}),
|
|
@@ -19629,7 +19629,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
19629
19629
|
error: false,
|
|
19630
19630
|
warning: false
|
|
19631
19631
|
},
|
|
19632
|
-
"Conversion
|
|
19632
|
+
"Conversion Rate": {
|
|
19633
19633
|
value: "".concat(Number((_overview$conversionR = overview.conversionRate) !== null && _overview$conversionR !== void 0 ? _overview$conversionR : 0).toFixed(2), "%"),
|
|
19634
19634
|
subValue: growthCaption("conversionRate"),
|
|
19635
19635
|
icon: /*#__PURE__*/jsxRuntime.jsx(ConversionRateIcon, {}),
|
|
@@ -19647,7 +19647,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
19647
19647
|
error: false,
|
|
19648
19648
|
warning: false
|
|
19649
19649
|
},
|
|
19650
|
-
"Revenue
|
|
19650
|
+
"Revenue Per Email": {
|
|
19651
19651
|
value: "$".concat(formatNumber((_overview$revenuePerE = overview.revenuePerEmail) !== null && _overview$revenuePerE !== void 0 ? _overview$revenuePerE : 0)),
|
|
19652
19652
|
subValue: growthCaption("revenuePerEmail"),
|
|
19653
19653
|
icon: /*#__PURE__*/jsxRuntime.jsx(RevenuePerEmailIcon, {}),
|
|
@@ -19656,7 +19656,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
19656
19656
|
error: false,
|
|
19657
19657
|
warning: false
|
|
19658
19658
|
},
|
|
19659
|
-
"Open
|
|
19659
|
+
"Open Rate": {
|
|
19660
19660
|
value: "".concat(Number((_deliverability$openR = deliverability.openRate) !== null && _deliverability$openR !== void 0 ? _deliverability$openR : 0).toFixed(2), "%"),
|
|
19661
19661
|
subValue: growthCaption("openRate", deliverabilityGrowth),
|
|
19662
19662
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.Email, {}),
|
|
@@ -19682,7 +19682,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
19682
19682
|
error: false,
|
|
19683
19683
|
warning: false
|
|
19684
19684
|
},
|
|
19685
|
-
"Bounce
|
|
19685
|
+
"Bounce Rate": {
|
|
19686
19686
|
value: "".concat(Number((_deliverability$bounc = deliverability.bounceRate) !== null && _deliverability$bounc !== void 0 ? _deliverability$bounc : 0).toFixed(2), "%"),
|
|
19687
19687
|
subValue: growthCaption("bounceRate", deliverabilityGrowth),
|
|
19688
19688
|
icon: /*#__PURE__*/jsxRuntime.jsx(iconsMaterial.HighlightOff, {}),
|
|
@@ -19690,7 +19690,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
19690
19690
|
error: false,
|
|
19691
19691
|
warning: false
|
|
19692
19692
|
},
|
|
19693
|
-
"Revenue
|
|
19693
|
+
"Revenue Per Click": {
|
|
19694
19694
|
value: "$".concat(formatNumber((_deliverability$reven = deliverability.revenuePerClick) !== null && _deliverability$reven !== void 0 ? _deliverability$reven : 0)),
|
|
19695
19695
|
subValue: growthCaption("revenuePerClick", deliverabilityGrowth),
|
|
19696
19696
|
icon: /*#__PURE__*/jsxRuntime.jsx(RevenuePerClickIcon, {}),
|
|
@@ -19774,7 +19774,7 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
19774
19774
|
gap: "6px",
|
|
19775
19775
|
mb: 0
|
|
19776
19776
|
},
|
|
19777
|
-
children: ["Total
|
|
19777
|
+
children: ["Total Raised", "Donations", "Conversion Rate", "CTR", "Revenue Per Email", "Open Rate", "Clicks", "Unique Clicks", "Bounce Rate", "Revenue Per Click"].map(renderCard)
|
|
19778
19778
|
}), /*#__PURE__*/jsxRuntime.jsxs(material.Grid, {
|
|
19779
19779
|
container: true,
|
|
19780
19780
|
spacing: 3,
|
|
@@ -19789,8 +19789,8 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
19789
19789
|
paddingTop: "0px !important"
|
|
19790
19790
|
},
|
|
19791
19791
|
children: /*#__PURE__*/jsxRuntime.jsx(EmailTrendCard, {
|
|
19792
|
-
title: "Open
|
|
19793
|
-
subtitle: "Daily
|
|
19792
|
+
title: "Open Rate Trend",
|
|
19793
|
+
subtitle: "Daily - ".concat(daysLabel),
|
|
19794
19794
|
value: hasEmailOverview ? "".concat(Number((_deliverability$openR2 = deliverability.openRate) !== null && _deliverability$openR2 !== void 0 ? _deliverability$openR2 : 0).toFixed(2), "%") : "42.3%",
|
|
19795
19795
|
trend: hasEmailOverview ? formatTrendBadge(deliverabilityGrowth.openRate, true) : "2.1pp",
|
|
19796
19796
|
trendData: hasEmailOverview ? apiData === null || apiData === void 0 ? void 0 : apiData.openRateTrend : undefined,
|
|
@@ -19819,23 +19819,23 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
19819
19819
|
}
|
|
19820
19820
|
},
|
|
19821
19821
|
children: /*#__PURE__*/jsxRuntime.jsx(EmailTrendCard, {
|
|
19822
|
-
title: "Clicks
|
|
19823
|
-
subtitle: "Total + unique
|
|
19822
|
+
title: "Clicks Trend",
|
|
19823
|
+
subtitle: "Total + unique - ".concat(daysLabel),
|
|
19824
19824
|
value: hasEmailOverview ? formatNumber((_deliverability$total2 = deliverability.totalClicks) !== null && _deliverability$total2 !== void 0 ? _deliverability$total2 : 0) : "1,612",
|
|
19825
19825
|
trend: hasEmailOverview ? formatTrendBadge(deliverabilityGrowth.totalClicks) : "14%",
|
|
19826
19826
|
trendSeries: hasEmailOverview ? [{
|
|
19827
|
-
name: "Total
|
|
19827
|
+
name: "Total Clicks",
|
|
19828
19828
|
data: apiData === null || apiData === void 0 ? void 0 : apiData.totalClicksTrend
|
|
19829
19829
|
}, {
|
|
19830
|
-
name: "Unique
|
|
19830
|
+
name: "Unique Clicks",
|
|
19831
19831
|
data: apiData === null || apiData === void 0 ? void 0 : apiData.uniqueClicksTrend,
|
|
19832
19832
|
dashed: true
|
|
19833
19833
|
}] : undefined,
|
|
19834
19834
|
series: [{
|
|
19835
|
-
name: "Total
|
|
19835
|
+
name: "Total Clicks",
|
|
19836
19836
|
data: [56, 112, 80, 150, 112]
|
|
19837
19837
|
}, {
|
|
19838
|
-
name: "Unique
|
|
19838
|
+
name: "Unique Clicks",
|
|
19839
19839
|
data: [30, 70, 45, 100, 75],
|
|
19840
19840
|
dashed: true
|
|
19841
19841
|
}],
|
|
@@ -19863,8 +19863,8 @@ var EmailSection = function EmailSection(_ref) {
|
|
|
19863
19863
|
}
|
|
19864
19864
|
},
|
|
19865
19865
|
children: /*#__PURE__*/jsxRuntime.jsx(EmailTrendCard, {
|
|
19866
|
-
title: "Bounce
|
|
19867
|
-
subtitle: "Daily
|
|
19866
|
+
title: "Bounce Rate Trend",
|
|
19867
|
+
subtitle: "Daily - lower is better",
|
|
19868
19868
|
value: hasEmailOverview ? "".concat(Number((_deliverability$bounc2 = deliverability.bounceRate) !== null && _deliverability$bounc2 !== void 0 ? _deliverability$bounc2 : 0).toFixed(2), "%") : "1.8%",
|
|
19869
19869
|
trend: hasEmailOverview ? formatTrendBadge(deliverabilityGrowth.bounceRate, true) : "0.3pp",
|
|
19870
19870
|
trendData: hasEmailOverview ? apiData === null || apiData === void 0 ? void 0 : apiData.bounceRateTrend : undefined,
|