We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f8362d commit 0480d06Copy full SHA for 0480d06
app/code/Magento/GoogleGtag/Block/Ga.php
@@ -147,7 +147,7 @@ public function getOrdersTrackingData(): array
147
foreach ($collection->getItems() as $order) {
148
foreach ($order->getAllVisibleItems() as $item) {
149
$result['products'][] = [
150
- 'item_id' => $this->_escaper->escapeHtmlAttr($item->getSku()),
+ 'item_id' => $this->_escaper->escapeHtml($item->getSku()),
151
'item_name' => $this->_escaper->escapeHtmlAttr($item->getName()),
152
'affiliation' => $this->_escaper->escapeHtmlAttr(
153
$this->_storeManager->getStore()->getFrontendName()
0 commit comments