Event Serialization

dinesh_b_kumar_

25-06-2019

Hi Team,

If we do event serialization with products variable, then order count, order value, quantity & order value will be counted only once even if there is multiple confirmation page refresh?

s.purchaseID = "uniqueCode";

s.products = ;shoe;1;100;

s.events = 'purchase';

Thanks,

Dinesh

Answers (2)

Answers (2)

ntaillet

25-06-2019

Hi,

Andrey is right. And every additional event you send in the same server call (beacon / hit) is serialized.

Please check with the documentation: https://docs.adobe.com/help/en/analytics/implementation/javascript-implementation/event-purchase.htm...​. "The purchaseID variable serializes all events passed in the variable s.events, and overrides any serialization value for events. If purchaseID is left blank, each instance of the purchase event, even page reloads, is counted."

And beware purchaseID is limited to 20 characters.

Nicolas