Skip to content

Commit

Permalink
Fix datalayer bug with using Custom Domain
Browse files Browse the repository at this point in the history
  • Loading branch information
srenon committed Apr 3, 2024
1 parent 13b84b6 commit bf6f1d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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.5",
"version": "2.7.6",
"autoload": {
"files": [
"registration.php"
Expand Down
1 change: 1 addition & 0 deletions view/frontend/templates/js.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ $containerCode = $block->getEmbeddedCode();
</script>

<?php if ($block->isAdvancedSettingsEnabled()): ?>
<?= /* @noEscape */ $block->getDataLayerJs() ?>
<?= /* @noEscape */ $block->getAdvancedSettingsJsCode() ?>
<?php endif; ?>

Expand Down

0 comments on commit bf6f1d1

Please sign in to comment.