Expand my Community achievements bar.

How can we measure the experience event size ?

Avatar

Level 5

 The maximum size of an event is 10 KB~System enforced guardrail 

what of there is a use case where we need to capture more than 10KB ?  Is there any work around ?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

5 Replies

Avatar

Level 7

Hi @Indra,

 

I can share some tips, that may be helpful:

 

*If you need to capture more than 10 KB:

-Segment the information: Brake down the data into smaller events. (Example: Split a large object into several smaller parts and send each part as a separate event.

-Use external references: Store large data internally (cloud storage or server) and include only a reference or identifier in the event that points to the location of data.

-Sever -Side Processing: Pre-process data on the server side to reduce size or aggregate information before sending it to Real-Time CDP.

If this does not work, contact Adobe Technical Support for personalized assistance and further recommendations.

 

Hope this helps, and let us know the final solution!

 

@jpetermarias 

 

Avatar

Employee

@Indra 

 

Can you please share an example of where the inbound event is more than 10KB?

Avatar

Level 5

Sample event more than 10KB: Some 20 to 25 products in cart and Custom Fields contributing major chunk of size

Sample Event:

 

{
"eventID": "purchase1234567890",
"eventType": "commerce.purchase",
"timestamp": "2024-08-21T14:00:00.000Z",
"eventMergeId": "merge0987654321",
"web": {
"webPageDetails": {
"URL": "https://www.shop.com/cart/checkout",
"referrer": "https://www.shop.com/products/item456",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36",
"language": "en-US",
"title": "Checkout - Shop.com"
}
},
"person": {
"personID": "customer789456123",
"email": "customer@example.com",
"firstName": "Jane",
"lastName": "Doe",
"address": {
"street": "456 Market Street",
"city": "Metropolis",
"state": "NY",
"postalCode": "10001",
"country": "US"
}
},
"productListItems": [
{
"productName": "Wireless Bluetooth Headphones",
"productID": "headphones123",
"price": 199.99,
"currency": "USD",
"quantity": 1,
"productCategory": "Electronics",
"sku": "WBH-123",
"variant": "Black"
},
{
"productName": "Smartphone Case",
"productID": "case456",
"price": 29.99,
"currency": "USD",
"quantity": 2,
"productCategory": "Accessories",
"sku": "SPC-456",
"variant": "Blue"
}
],
"purchase": {
"orderID": "order789456",
"totalAmount": 229.97,
"currency": "USD",
"purchaseDate": "2024-08-21T14:01:00.000Z",
"paymentMethod": "Credit Card",
"shippingCost": 15.99,
"shippingMethod": "Standard",
"deliveryDate": "2024-08-25T14:00:00.000Z"
},
"customFields": {
"promoCode": "SUMMER21",
"loyaltyPointsUsed": 1500,
"specialInstructions": "Please leave the package at the front door.",
"field1": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque euismod, urna eu tincidunt consectetur, libero nisi cursus arcu, non dapibus lorem sapien nec nisl.",
"field2": "Aenean ac eros nec mauris faucibus blandit sit amet eget ligula. In malesuada lacus sed erat feugiat, sit amet dapibus sem scelerisque."
}
}

Avatar

Employee

I can see you have a custom field with special instructions in the above payload.  What is the goal in terms of segmentation for customfields.specialInstructions ?

 

Avatar

Administrator

@Indra Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni