diff --git a/src/v1/sources/shopify/pixelTransform.js b/src/v1/sources/shopify/pixelTransform.js index 5cabbde1eb..ba64bc4810 100644 --- a/src/v1/sources/shopify/pixelTransform.js +++ b/src/v1/sources/shopify/pixelTransform.js @@ -27,7 +27,7 @@ function processPixelEvent(inputEvent) { const { checkout } = data ?? {}; const { order } = checkout ?? {}; const { customer } = order ?? {}; - let message; + let message = {}; switch (name) { case PIXEL_EVENT_TOPICS.PAGE_VIEWED: message = pageViewedEventBuilder(inputEvent);