diff --git a/composer.json b/composer.json index 67f111a..bf8ec9f 100755 --- a/composer.json +++ b/composer.json @@ -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.3", + "version": "2.7.4", "autoload": { "files": [ "registration.php" diff --git a/view/frontend/layout/netopia_payment_success.xml b/view/frontend/layout/netopia_payment_success.xml new file mode 100644 index 0000000..a3247e9 --- /dev/null +++ b/view/frontend/layout/netopia_payment_success.xml @@ -0,0 +1,15 @@ + + + + + + + + + diff --git a/view/frontend/templates/js.phtml b/view/frontend/templates/js.phtml index 6ee27e2..4569b4b 100755 --- a/view/frontend/templates/js.phtml +++ b/view/frontend/templates/js.phtml @@ -20,7 +20,7 @@ $containerCode = $block->getEmbeddedCode(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!=''?'&l='+l:'';j.async=true;j.src= - 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); + 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','','');