-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Fixed in 2.2.xThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failedGate 1 Failed. Automatic verification of issue format is failed
Description
With the Magento 2.2 update we are now seeing incorrect data in Google Analytics.
Steps to reproduce
- Complete a sale on Magento 2.2
- View Sale in Google Analytics
- Observe the Product Titles are incorrect
Expected result
- The product titles are transferred from Magento correctly
Actual result
- The product titles are incorrect
Potential Fix
This has been introduced in Magento 2.2 with changes to the Magento\Framework\Escaper
In the file Magento\GoogleAnalytics\Block\Ga
Replace all instances of
escapeJs
with
escapeJsQuote
After making this change the data coming into GA is now correct for our store.
ihor-sviziev and danharper83
Metadata
Metadata
Assignees
Labels
Fixed in 2.2.xThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failedGate 1 Failed. Automatic verification of issue format is failed
