Skip to content

Commit 6c888c3

Browse files
committed
Release
1 parent 56f094f commit 6c888c3

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
9+
## [3.9.10] - 22 October 2024
810
### Fixed
911
- Only trigger `view_cart` event when there are items in the cart
1012
- Allow multiple GTM IDs
13+
- Fix GTM URL
1114

1215
## [3.9.9] - 22 October 2024
1316
### Fixed

Config/Config.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,13 +209,14 @@ public function hasServerSideTracking(): bool
209209
*/
210210
public function getGoogleTagmanagerUrl(): string
211211
{
212+
$default = 'https://www.googletagmanager.com';
212213
if (false === $this->hasServerSideTracking()) {
213-
return '';
214+
return $default;
214215
}
215216

216217
return $this->getModuleConfigValue(
217218
'serverside_gtm_url',
218-
'https://www.googletagmanager.com'
219+
$default
219220
);
220221
}
221222

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "yireo/magento2-googletagmanager2",
3-
"version": "3.9.9",
3+
"version": "3.9.10",
44
"license": "OSL-3.0",
55
"type": "magento2-module",
66
"homepage": "https://www.yireo.com/software/magento-extensions/googletagmanager2",

0 commit comments

Comments
 (0)