PrestaShop / ganalytics

Gain clear insights into important metrics about your customers, using Google Analytics in PrestaShop 1.6.
10 stars 44 forks source link

Google doesn't handle comma thousand separator. #105

Closed Perfecticus closed 7 years ago

Perfecticus commented 7 years ago

By leaving number_format open for implementation per locale, the resulting json data will not be consistent. Google seemingly doesnt handle comma separated thousands resulting in erronous prices for certain locales (Swedish tested).

Instead include these additional parameters to force decimal separator '.' and no thousand separator, to ensure product prices sent to google is correct.