From what I can tell, you can’t send a dimension or a metric along with addItem, but you can send dimensions and metrics along with the transaction.
Based on my testing….
Works:
ga('set', 'dimension4', 'Dimension Value');
ga('set', 'metric2', 5);
ga('ecommerce:addTransaction', {
id: {{booking number}},
affiliation: {{cobrand ID}},
revenue: {{booking value}},
dimension1: {{booking status}},
shipping: '',
tax: ''
});
Google, can you confirm that my observation is correct?
Being able to send and connect a dimension or metric with addItem, and not only the transaction, would be very useful for one of my clients.
Regards,
Eivind
--
--
Great to hear that this will be supported. Thumbs up.
/ Eivind
--
I just wonder if there is any news about this use case?
To be more specific, how to link especially metrics to only one item in the transaction.
If I send a metric along with a transaction, the metric will be sent with each item and the transaction.
Below is an example transaction. “Bookings” is a Metric counter, and the value should be 1 in this case.
The result is that Bookings are summed, and the result is 19 Bookings instead of 1 (there are 18 items sent with this test transaction).

Regards,
Eivind
From: google-analyti...@googlegroups.com [mailto:google-analyti...@googlegroups.com] On Behalf Of Avi Mehta
Sent: 15. januar 2013 00:34
To: Matt Clarke
Cc: google-analyti...@googlegroups.com; Lothaire Ruellan
--