Skip to content

Commit

Permalink
Fixed category naming convention for GA4 extension
Browse files Browse the repository at this point in the history
  • Loading branch information
srenon committed Mar 14, 2023
1 parent 6a4b356 commit f19d7af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public function addCategoryElements($product, &$viewItem)
$viewItem['item_category'] = $category->getName();
$index++;
} else {
$viewItem['item_category_' . $index] = $category->getName();
$viewItem['item_category' . $index] = $category->getName();
$index++;
}

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"magepal/magento2-google-analytics4": "Prepare for the future with Google Analytics 4. Learn more at https://www.magepal.com/google-analytics-4-for-google-tag-manager.html"
},
"type": "magento2-module",
"version": "2.7.1",
"version": "2.7.2",
"autoload": {
"files": [
"registration.php"
Expand Down
2 changes: 1 addition & 1 deletion etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<comment>
<![CDATA[
<div class="magepal-info">
Copyright © 2022 <a href="https://www.magepal.com/magento2/extensions.html?utm_source=gtm&utm_medium=admin" target="_blank">MagePal, LLC</a>
Copyright © 2023 <a href="https://www.magepal.com/magento2/extensions.html?utm_source=gtm&utm_medium=admin" target="_blank">MagePal, LLC</a>
<a href="https://www.magepal.com/help/docs/google-tag-manager-for-magento/?utm_source=gtm&utm_medium=admin#support">Support</a>
<a href="https://www.magepal.com/help/docs/google-tag-manager-for-magento/?utm_source=gtm&utm_medium=admin#documentation" target="_blank">Documentation</a>
<a href="https://www.magepal.com/help/docs/google-tag-manager-for-magento?utm_source=gtm&utm_medium=admin#current_version" target="_blank">Latest Version</a>
Expand Down

0 comments on commit f19d7af

Please sign in to comment.