Move to Universal Analytics - how to send City, State, Country -
for reason city, state, country not used in universal analytics
https://developers.google.com/analytics/devguides/collection/upgrade/reference/gajs-analyticsjs
new version:
ga('ecommerce:addtransaction', { 'id': '1234', // transaction id. required 'affiliation': 'acme clothing', // affiliation or store name 'revenue': '11.99', // grand total 'shipping': '5', // shipping 'tax': '1.29' // tax });
old version:
_gaq.push(['_addtrans', '1234', // transaction id. required 'acme clothing', // affiliation or store name '11.99', // total. required '1.29', // tax '5', // shipping 'san jose', // city 'california', // state or province 'usa' // country ]);
but how can send city, state , country now? google calculate these variables only?
Comments
Post a Comment