adobe / adobe/commerce-events

Warning Displayed in shopping cart: Snowplow: Event (45396B) too big, max is 40000

Open
#191 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
10
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Hello

The warning occurs when the Adobe Commerce B2B website adds over 100 SKUs to the cart.

"Snowplow: Event (45396B) too big, max is 40000" the issue is, It exceeds the size limit, with a maximum of 40,000 bytes.

This setting is configured in the file: `packages/storefront-events-collector/src/snowplow.ts`, where `maxPostBytes` is set to 40,000.

According to Snowplow's documentation (https://docs.snowplow.io/docs/sources/trackers/web-trackers/configuring-how-events-sent/#post-support), increasing this value could resolve the warning.

Can you increase this value to prevent the issue?

Attached some screenshots for more referecne.

![Image](https://github.com/user-attachments/assets/2e0632a1-eb3a-4f64-9953-683340792ea2)
![Image](https://github.com/user-attachments/assets/099142cc-405d-43d5-8517-040b11014f84)
![Image](https://github.com/user-attachments/assets/820478e0-5a16-409b-af0b-f6caece1c1f6)

Thank you

Contributor guide

Open the contributing guide

Research direction

Start in packages/storefront-events-collector/src/snowplow.ts and inspect the maxPostBytes setting alongside Snowplow's POST-size documentation. Reproduce the warning with a cart containing over 100 SKUs, then verify that the adjusted limit prevents the event-size warning without introducing a new failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
analytics
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.