Closed ianstormtaylor closed 10 years ago
@yaro-atwix how's this one coming?
Working on this. However, we found the problem with traits and we are going to fix it. But ecommerce part corresponds the specs at the moment.
We have done with that. Going to include into a next pull requests alongside with the tests
The pull request with the latest changes has been created
For the
traits
dictionaries that are sent we have a spec for them to be named with specific keys, so that we can recognize them in our code and send them to the right providers. For example we recognizefirstName
instead ofcustomerFirstname
. So we'll want to change all of those.Here's the documentation for the
traits
. And then for Ecommerce tracking (viewed product, completed order, etc.) we have an additional spec for the special properties that go along with that here: https://segment.io/docs/tracking-api/ecommerce/So we'll need to fix both of those. Here are some examples of where I see places that need to be fixed:
I've also invited you guys to our private spec repository so you can see the entire spec there too.