Skip to content

Commit 5d76bcd

Browse files
author
Chris Gårdenberg
committed
fix: Correct property for item_id, not item_number
1 parent bafb477 commit 5d76bcd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

class/class-edu-google.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ public function track_booking_completed( $booking_info ) {
274274

275275
foreach ( $booking_info['OrderRows'] as $order_row ) {
276276
$row = [
277-
'item_number' => isset( $order_row['ItemNumber'] ) ? $order_row['ItemNumber'] : 'OR_' . $order_row['OrderRowId'],
277+
'item_id' => isset( $order_row['ItemNumber'] ) ? $order_row['ItemNumber'] : 'OR_' . $order_row['OrderRowId'],
278278
'item_name' => $order_row['Description'],
279279
'quantity' => $order_row['Quantity'],
280280
'price' => $order_row['TotalPriceIncDiscount'] / $order_row['Quantity'],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eduadmin-analytics",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "This plugin adds support for Google Analytics / Tag Manager to your EduAdmin plugin (WordPress only, not the course portal).",
55
"repository": "https://github.com/MultinetInteractive/eduadmin-google.git",
66
"author": "Chris Gårdenberg <chga@multinet.se>",

0 commit comments

Comments
 (0)