Skip to content

Commit cdf74e6

Browse files
committed
Add support for Netopia payment
1 parent 7089eb7 commit cdf74e6

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"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"
4545
},
4646
"type": "magento2-module",
47-
"version": "2.7.3",
47+
"version": "2.7.4",
4848
"autoload": {
4949
"files": [
5050
"registration.php"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
/**
4+
* Copyright © MagePal LLC. All rights reserved.
5+
* See COPYING.txt for license details.
6+
* http://www.magepal.com | [email protected]
7+
*/
8+
-->
9+
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
10+
<body>
11+
<referenceBlock name="magepal_gtm_datalayer">
12+
<block class="MagePal\GoogleTagManager\Block\Data\Order" name="magepal_gtm_block_order"/>
13+
</referenceBlock>
14+
</body>
15+
</page>

view/frontend/templates/js.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $containerCode = $block->getEmbeddedCode();
2020
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
2121
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
2222
j=d.createElement(s),dl=l!='<?= /* @noEscape */ $dataLayerName ?>'?'&l='+l:'';j.async=true;j.src=
23-
'https://www.googletagmanager.com/gtm.js?id='+i+dl<?= $containerCode ? "+'{$containerCode}'" : '' ?>;f.parentNode.insertBefore(j,f);
23+
'https://www.googletagmanager.com/gtm.js?id='+i+dl<?= /* @noEscape */ $containerCode ? "+'{$containerCode}'" : '' ?>;f.parentNode.insertBefore(j,f);
2424
})(window,document,'script','<?= /* @noEscape */ $dataLayerName ?>','<?= /* @noEscape */ $accountId ?>');
2525
<?php endif; ?>
2626
</script>

0 commit comments

Comments
 (0)