Closed ladanazita closed 6 years ago
I tried to clean this up as much as possible. There are still many checks, but I believe they are necessary by nature of the logic required to build contextData
when both lVars
and contextValues
are configured.
@brennan parity wise — I've also mapped lVarsV2
and contextValues
on ecommerce events as well as screen
events.
Gotcha @ladanazita - I would agree with mapping lVars on screen events, but not on ecommerce events. The latter would suggest that we're accepting unspecced properties from the customer's ecommerce events, which we shouldn't.
Hmm, in general are we saying that people shouldn't pass in custom properties on ecommerce events? I could see a case for lVars on ecommerce events, for instance if they send in wish list items as an array.
Also, our client-side integration maps lVars on ecommerce events
Yeah - I don't think people should pass in custom properties on ecommerce events. I don't see a specced property called "Wishlist" of data type array in our ecommerce spec, either.
@brennan yeah that was an example of a custom property I just made up.
What about for parity?
@f2prateek ping!
Reverting lVars based on our discussion documented here