PrestaShop / ganalytics

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

Hard to read products name with jsonEncode #86

Open Casper-O opened 8 years ago

Casper-O commented 8 years ago

I have a site, where products contains local chars like Æ Ø Å. it seems to me like the jsonEncode of product names is wrong. Our site have a product named "salmer på dansk og tysk" - this is now located in our analytics reports like the following including the "" tags.

"Salmer p\u00e5 dansk og tysk"

Casper-O commented 8 years ago

https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce

also says nothing about data should be json encoded!

cedricfontaine commented 8 years ago

Could you try to change the jsonEncode by addslashes in the wrapProduct ?

Casper-O commented 8 years ago

91 this should most likely solve it, right ?

cedricfontaine commented 8 years ago

Yes,

Casper-O commented 8 years ago

I will add it to one of the stores i had this issue with next week :+1: