dan_vitch
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2014
04:08 PM
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.
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.
1 REPLY 1
dan_vitch
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2014
06:48 PM
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.
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.