You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-14Lines changed: 2 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ try {
75
75
->setItemId($item['id'])
76
76
->setItemName($item['name'])
77
77
->setQuantity($item['qty'])
78
-
->setPrice(round($item['price_total'] / $item['qty'], 2)) // unit pric
78
+
->setPrice(round($item['price_total'] / $item['qty'], 2)) // unit price
79
79
->setItemVariant($item['colorName']);
80
80
81
81
$viewCart->addItem($product);
@@ -96,7 +96,7 @@ try {
96
96
}
97
97
```
98
98
99
-
### Request
99
+
### Request Format
100
100
```json
101
101
{
102
102
"client_id": "GA0.43535.234234",
@@ -129,13 +129,6 @@ try {
129
129
}
130
130
```
131
131
132
-
### Response
133
-
```json
134
-
{
135
-
"validationMessages": []
136
-
}
137
-
```
138
-
139
132
## Custom Events
140
133
You can build your own custom events by extending on the Model\Event abstraction class; example
141
134
@@ -158,7 +151,6 @@ class ExampleEvent extends Model\Event
158
151
{
159
152
return [
160
153
'my_variable',
161
-
'my_required_variable',
162
154
];
163
155
}
164
156
@@ -189,10 +181,6 @@ Property name and value will be used as parameter name and value.
189
181
190
182
Just make sure not to use any [Reserved Event Names](https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference?client_type=gtag#reserved_event_names)
0 commit comments