Hi,
I'm trying to use google universal analytics e-commerce tracking. Everything is working as expected, except the currency. Our web store takes payments in $, £ and € and while I'm passing a currency code with every transaction, the currencyCode in analytics always appears as "(not set)" in reports.
The user returns to our store after entering their credit card details and the following tracking code is generated and embedded in the page:
ga("require", "ecommerce", "ecommerce.js");
ga("ecommerce:addTransaction", {
"id": "WP19312MQCL1F",
"affiliation": "Online Store",
"revenue": "1.2",
"shipping": "0",
"vat": "0.2",
"currencyCode": "USD"
});
ga("ecommerce:addItem", {
"id": "WP19312MQCL1F",
"name": "Community Donation",
"sku": "com.beaumont.donation.1_0_0",
"price": "1",
"quantity": "1"
});
ga("ecommerce:send");
The analytics api states that I can specify the currency globally, in the transaction or in the item. I have tried all sorts of combinations with no luck.
Incidentally, what I track purchases using the measurement protocol, the currency tracks just fine, but with universal.js, I can't get it to register.
Your help is very much appreciated.
Regards,
Ben