Skip to content

Commit

Permalink
fix: add cpa with conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
IanKrieger committed Jul 31, 2023
1 parent 52e51f0 commit 4686673
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/user/analytics/analyticsOverview/components/LiveFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,16 @@ export default function LiveFeed({ overview, processed }: LiveFeedProps) {
];

if (processed.conversions > 0) {
feedValues.push({
label: "Conversions",
value: `${processed.conversions}`,
});
feedValues.push(
{
label: "Conversions",
value: `${processed.conversions}`,
},
{
label: "CPA",
value: `$${processed.cpa.toLocaleString()}`,
},
);
}

return (
Expand Down

0 comments on commit 4686673

Please sign in to comment.