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';
Yes, that's correct.
Andrey is right. And every additional event you send in the same server call (beacon / hit) is serialized.
And beware purchaseID is limited to 20 characters.
s.purchaseID should do the job without having to serialize an event...
Unless you're using some random number for s.purchaseID?