We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2ad4c1 commit 08da15fCopy full SHA for 08da15f
src/Integrations/EDD.php
@@ -160,6 +160,7 @@ public function track_entered_checkout() {
160
$props = apply_filters(
161
'plausible_analytics_edd_entered_checkout_custom_properties',
162
[
163
+ // @todo Add cart contents
164
'subtotal' => edd_get_cart_subtotal(),
165
'tax' => edd_get_cart_tax(),
166
'total' => edd_get_cart_total(),
@@ -184,7 +185,7 @@ public function track_purchase( $order_id, $payment ) {
184
185
'plausible_analytics_edd_purchase_custom_properties',
186
187
'revenue' => [
- 'amount' => number_format( (float) $payment->total, 2 ),
188
+ 'amount' => $payment->total,
189
'currency' => $payment->currency,
190
],
191
]
0 commit comments