mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-05 17:05:46 +01:00
add currency attribute to revenue button
This commit is contained in:
parent
065499a3fa
commit
6ce9a8cef4
@ -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…
Reference in New Issue
Block a user