Closed BARK-AHAAS closed 1 month ago
We are a little behind the latest web-pixel schema.
However, it looks as though Rudderstack are augmenting standard event data and have introduced their own product schema.
Here's an example standard event and what the schema looks like (the relevant part of the schema is the data.lineItems
attribute) https://shopify.dev/docs/api/web-pixels-api/standard-events/payment_info_submitted
So we can add properties
. But it doesn't look like requires_shipping
, compare_at_price
, grams
, gift_card
, rank
etc. are available.
I haven't looked into how Rudderstack works, If they subscribe to standard events, augment them with this additional data, and emit new custom events, you should be able to listen for the custom events in the same pixel event callback.
If they don't emit custom events. It'd probably be a web pixels feature request to update the product schema.
If you want information around whether the product was actually bought with a gift card, or was shipped / picked up, you could look at other parts of the standard event schema (transactions, discountApplications, delivery - we'll make sure these attributes are up to date ASAP).
Totally makes sense. After reviewing the available items provided in the web-pixel schema and discussing with my PM the ones of highest concern are:
One thing i also noticed is that these note they are only available if you have updated to Checkout Extensibility, which our shop has. Not sure if there is something additional i need to do with the SDK to trigger these or if they will just be picked up once the code is updated on your end?
No, I don't think you'll need to do anything else to get those attributes
Description
I am currently leveraging the
pixel
event listener to send events to Rudderstack so that I can create charts to compare performance to our web Storefront.Below is how products come back on the Rudderstack Shopify web integration:
and this is how products come through in the
pixel
event:I am currently writing logic to parse the pixel event to mach the shape of the web event but I am running into cases where data is omitted from the
pixel
event - most notably:It would be very helpful if the data returned in the pixel event matched the data returned in the web event so that comprable dashboards / reporting can be created across the 2 platforms.
Rationale
Some of these omitted values are essential to gaining a full scope of the products that customer's are checking out with and adding them to the
pixel
event would increase the impact of reports created leveraging the checkout-sheet-kit-react-native library's built in event.