mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-06 01:15:42 +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
|
<Button
|
||||||
id="generate-revenue-button"
|
id="generate-revenue-button"
|
||||||
data-umami-event="checkout-cart"
|
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"
|
variant="primary"
|
||||||
>
|
>
|
||||||
Generate revenue data
|
Generate revenue data
|
||||||
|
Loading…
Reference in New Issue
Block a user