Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dan_vitch
Visitor

Posting E-commerce Data

I am using Google Analytics. I am currently tracking page view and events on my app, and it works fine. I recently started working on tracking e-commerce data via the transaction event. It partially works.

I see the transactions and revenues coming through, but I am missing: Quantity, Product, Product Sku, and Product Category.

Here are a few sample urls:

http://www.google-analytics.com/collect ... 847&iv=Buy

http://www.google-analytics.com/collect ... 835&iv=Buy

http://www.google-analytics.com/collect ... 847&iv=Buy

http://www.google-analytics.com/collect ... 863&iv=Buy

Outside of changing my tid, and cid everything else is verbatim. As you can see item name(in), quantity(iq), category(iv) and sku(ic) have values in all three examples.
0 Kudos
1 REPLY 1
dan_vitch
Visitor

Re: Posting E-commerce Data

You have to split the transaction and the item.

https://developers.google.com/analytics ... guide#ecom

And here are urls:

http://www.google-analytics.com/collect ... t=0&cu=USD

http://www.google-analytics.com/collect ... Buy&cu=USD

Make sure you have the same transaction id for both the transaction and the item. Also the type (t) for transaction is transaction and the type for the items is item.
0 Kudos