Skip to content

Commit

Permalink
🐛 fix event_action Google analytics param for chart_download_*
Browse files Browse the repository at this point in the history
  • Loading branch information
bnjmacdonald committed Jan 8, 2025
1 parent 9e6c9c8 commit c74c45d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/@ourworldindata/grapher/src/modal/DownloadModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -875,9 +875,7 @@ export const DownloadModalDataTab = (props: DownloadModalProps) => {
onClick={() => onDownloadClick(CsvDownloadType.Full)}
tracking={
"chart_download_full_data--" +
serverSideDownloadAvailable
? "server"
: "client"
(serverSideDownloadAvailable ? "server" : "client")
}
/>
<DownloadButton
Expand All @@ -889,9 +887,7 @@ export const DownloadModalDataTab = (props: DownloadModalProps) => {
}
tracking={
"chart_download_filtered_data--" +
serverSideDownloadAvailable
? "server"
: "client"
(serverSideDownloadAvailable ? "server" : "client")
}
/>
</div>
Expand Down

0 comments on commit c74c45d

Please sign in to comment.