Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Hard to read products name with jsonEncode #86

Open
Casper-O opened this issue Dec 9, 2015 · 5 comments
Open

Hard to read products name with jsonEncode #86

Casper-O opened this issue Dec 9, 2015 · 5 comments

Comments

@Casper-O
Copy link
Contributor

Casper-O commented Dec 9, 2015

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
Copy link
Contributor Author

Casper-O commented Dec 9, 2015

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

also says nothing about data should be json encoded!

@cedricfontaine
Copy link
Contributor

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

@Casper-O
Copy link
Contributor Author

Casper-O commented Feb 5, 2016

#91 this should most likely solve it, right ?

@cedricfontaine
Copy link
Contributor

Yes,

@Casper-O
Copy link
Contributor Author

Casper-O commented Feb 5, 2016

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants