From 6f34aa9cc99a0755f22d014423fc74eddf064514 Mon Sep 17 00:00:00 2001 From: sarneijim Date: Wed, 19 Jul 2023 18:03:28 +0100 Subject: [PATCH 1/2] fix: fix Lido/Kiln button analytics not working --- .../ethereum/StakeFlowModal/utils/getTrackProperties.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ledger-live-desktop/src/renderer/families/ethereum/StakeFlowModal/utils/getTrackProperties.ts b/apps/ledger-live-desktop/src/renderer/families/ethereum/StakeFlowModal/utils/getTrackProperties.ts index 1e256a46fe1a..0911256c5aa3 100644 --- a/apps/ledger-live-desktop/src/renderer/families/ethereum/StakeFlowModal/utils/getTrackProperties.ts +++ b/apps/ledger-live-desktop/src/renderer/families/ethereum/StakeFlowModal/utils/getTrackProperties.ts @@ -5,7 +5,7 @@ type Props = { export function getTrackProperties({ value, modal = "stake" }: Props) { return { - page: window.location.hash + path: window.location.hash .split("/") .filter(e => e !== "#") .join("/"), From a1e4816eca4fec772c33ca03d6bda2c0078e6de9 Mon Sep 17 00:00:00 2001 From: sarneijim Date: Wed, 19 Jul 2023 18:04:08 +0100 Subject: [PATCH 2/2] chore: add changeset --- .changeset/five-pots-learn.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/five-pots-learn.md diff --git a/.changeset/five-pots-learn.md b/.changeset/five-pots-learn.md new file mode 100644 index 000000000000..7a8f2d1fa0a0 --- /dev/null +++ b/.changeset/five-pots-learn.md @@ -0,0 +1,5 @@ +--- +"ledger-live-desktop": patch +--- + +Fix Lido/Kiln button analytics not working