{"action":"created","issue":{"url":"https://api.github.com/repos/segmentio/analytics-go/issues/130","repository_url":"https://api.github.com/repos/segmentio/analytics-go","labels_url":"https://api.github.com/repos/segmentio/analytics-go/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/segmentio/analytics-go/issues/130/comments","events_url":"https://api.github.com/repos/segmentio/analytics-go/issues/130/events","html_url":"https://github.com/segmentio/analytics-go/issues/130","id":343862253,"node_id":"MDU6SXNzdWUzNDM4NjIyNTM=","number":130,"title":"ecommerce track ","user":{"login":"metrue","id":1001246,"node_id":"MDQ6VXNlcjEwMDEyNDY=","avatar_url":"https://avatars2.githubusercontent.com/u/1001246?v=4","gravatar_id":"","url":"https://api.github.com/users/metrue","html_url":"https://github.com/metrue","followers_url":"https://api.github.com/users/metrue/followers","following_url":"https://api.github.com/users/metrue/following{/other_user}","gists_url":"https://api.github.com/users/metrue/gists{/gist_id}","starred_url":"https://api.github.com/users/metrue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metrue/subscriptions","organizations_url":"https://api.github.com/users/metrue/orgs","repos_url":"https://api.github.com/users/metrue/repos","events_url":"https://api.github.com/users/metrue/events{/privacy}","received_events_url":"https://api.github.com/users/metrue/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-24T02:37:26Z","updated_at":"2018-07-24T14:43:28Z","closed_at":null,"author_association":"NONE","body":"I would like to know what the ecommerce track event looks like in v3. I found docs for v2 \r\n\r\nhttps://segment.com/docs/spec/ecommerce/v2/\r\n```\r\nanalytics.track('Product List Viewed', {\r\n  list_id: 'hot_deals_1',\r\n  category: 'Deals',\r\n  products: [\r\n    {\r\n      product_id: '507f1f77bcf86cd799439011',\r\n      sku: '45790-32',\r\n      name: 'Monopoly: 3rd Edition',\r\n      price: 19,\r\n      position: 1,\r\n      category: 'Games',\r\n      url: 'https://www.example.com/product/path',\r\n      image_url: 'https://www.example.com/product/path.jpg'\r\n    },\r\n    {\r\n      product_id: '505bd76785ebb509fc183733',\r\n      sku: '46493-32',\r\n      name: 'Uno Card Game',\r\n      price: 3,\r\n      position: 2,\r\n      category: 'Games'\r\n    }\r\n  ]\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/segmentio/analytics-go/issues/comments/407432279","html_url":"https://github.com/segmentio/analytics-go/issues/130#issuecomment-407432279","issue_url":"https://api.github.com/repos/segmentio/analytics-go/issues/130","id":407432279,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzQzMjI3OQ==","user":{"login":"f2prateek","id":843979,"node_id":"MDQ6VXNlcjg0Mzk3OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/843979?v=4","gravatar_id":"","url":"https://api.github.com/users/f2prateek","html_url":"https://github.com/f2prateek","followers_url":"https://api.github.com/users/f2prateek/followers","following_url":"https://api.github.com/users/f2prateek/following{/other_user}","gists_url":"https://api.github.com/users/f2prateek/gists{/gist_id}","starred_url":"https://api.github.com/users/f2prateek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f2prateek/subscriptions","organizations_url":"https://api.github.com/users/f2prateek/orgs","repos_url":"https://api.github.com/users/f2prateek/repos","events_url":"https://api.github.com/users/f2prateek/events{/privacy}","received_events_url":"https://api.github.com/users/f2prateek/received_events","type":"User","site_admin":false},"created_at":"2018-07-24T14:43:28Z","updated_at":"2018-07-24T14:43:28Z","author_association":"MEMBER","body":"The v2 here refers to the ecommerce spec itself, not the go library.  v2 of e-commerce messages looks the same in the v1, v2 and v3 versions of the go library."}}
{"actor":{"display_login":"f2prateek"}}