mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
add currency attribute to revenue button
This commit is contained in:
parent
065499a3fa
commit
6ce9a8cef4
1 changed files with 2 additions and 1 deletions
|
|
@ -170,7 +170,8 @@ export function TestConsole({ websiteId }: { websiteId: string }) {
|
|||
<Button
|
||||
id="generate-revenue-button"
|
||||
data-umami-event="checkout-cart"
|
||||
data-umami-event-revenue={(Math.random() * 100).toFixed(2).toString()}
|
||||
data-umami-event-revenue={(Math.random() * 10000).toFixed(2).toString()}
|
||||
data-umami-event-currency="USD"
|
||||
variant="primary"
|
||||
>
|
||||
Generate revenue data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue