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: CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,15 @@
1
1
# Changelog
2
2
3
+
## 0.5.0 - January 26, 2024
4
+
5
+
-**Breaking Changes** A new `onWebPixelEvent(PixelEvent)` function has been added to the `CheckoutEventProcessor` interface. This allows listening for [Web Pixel](https://shopify.dev/docs/apps/marketing/pixels) events that take place in checkout, so they can be emitted to your preferred analytics system. See `README.md` for more details.
6
+
7
+
_Note_: If your processor extends `DefaultCheckoutEventProcessor`, a no-op implementation has been added, so no changes are required unless you'd like to respond to pixel events. If your processor does not extend `DefaultCheckoutEventProcessor`, you will need to implement this function.
8
+
9
+
- Fix: Prevent loading checkout twice during preloads.
10
+
- Fix: Match `CheckoutDialog`'s header padding with checkout's padding.
11
+
- Fix: Ensure the WebView cache is cleared on error responses for preloaded requests.
12
+
3
13
## 0.4.0 - January 10, 2024
4
14
5
15
-**Breaking Changes:** The library has been rebranded from Shopify Checkout Kit to Shopify Checkout Sheet Kit. Apologies for any inconvenience caused. Here are the steps to upgrade:
App developers can use [lifecycle events](#monitoring-the-lifecycle-of-a-checkout-session) to
262
267
monitor and log the status of a checkout session.
263
268
269
+
To safeguard user privacy, [Web Pixel](https://shopify.dev/docs/apps/marketing/pixels) events will not be dispatched from within the checkout webview. Instead, the events will be relayed back to your application through the `onWebPixelEvent` checkout event processor function.
270
+
271
+
Implement this function to process the events you're interested in, augment them with customer and session identity, transform them into an appropriate schema and submit them to your preferred analytics system. For example:
// ... other functions, incl. processCustomEvent(event)
299
+
```
300
+
301
+
_Note:You will likely need to augment these events with customer/session information derived from app state._
302
+
303
+
_Note:The `customData` attribute of CustomPixelEvent can take on any shape. As such, this attribute will be returned as a String. Client applications should define a custom data type and deserialize the `customData` string into that type._
304
+
264
305
### Integrating identity & customer accounts
265
306
266
307
Buyer-aware checkout experience reduces friction and increases conversion. Depending on the context
0 commit comments