Skip to content

Commit 5d0f875

Browse files
committed
Fixed displaying of fields "Synchronize consent with" and "If the storage is denied show the modal again after" in the GTM template when a variable is used in the field "Visibility and default state"
1 parent 317bd13 commit 5d0f875

File tree

2 files changed

+79
-42
lines changed

2 files changed

+79
-42
lines changed

CHANGELOG.md

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

88
## [Unreleased]
9+
### Fixed
10+
- Fixed displaying of fields "Synchronize consent with" and "If the storage is denied show the modal again after" in the GTM template when a variable is used in the field "Visibility and default state".
911

1012
## [1.3.1] - 2025-04-03
1113
### Added

gtm_template.tpl

Lines changed: 77 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -570,14 +570,14 @@ ___TEMPLATE_PARAMETERS___
570570
"paramName": "functionality_storage_visibility",
571571
"paramValue": "hidden_synchronized",
572572
"type": "EQUALS"
573-
}
574-
],
575-
"notSetText": "None",
576-
"valueValidators": [
573+
},
577574
{
578-
"type": "NON_EMPTY"
575+
"paramName": "functionality_storage_visibility",
576+
"paramValue": "",
577+
"type": "IS_MACRO_REFERENCE"
579578
}
580-
]
579+
],
580+
"notSetText": "None"
581581
},
582582
{
583583
"type": "TEXT",
@@ -595,6 +595,11 @@ ___TEMPLATE_PARAMETERS___
595595
"paramName": "functionality_storage_visibility",
596596
"paramValue": "visible_disabled",
597597
"type": "EQUALS"
598+
},
599+
{
600+
"paramName": "functionality_storage_visibility",
601+
"paramValue": "",
602+
"type": "IS_MACRO_REFERENCE"
598603
}
599604
],
600605
"valueUnit": "days",
@@ -694,14 +699,14 @@ ___TEMPLATE_PARAMETERS___
694699
"paramName": "security_storage_visibility",
695700
"paramValue": "hidden_synchronized",
696701
"type": "EQUALS"
697-
}
698-
],
699-
"notSetText": "None",
700-
"valueValidators": [
702+
},
701703
{
702-
"type": "NON_EMPTY"
704+
"paramName": "security_storage_visibility",
705+
"paramValue": "",
706+
"type": "IS_MACRO_REFERENCE"
703707
}
704-
]
708+
],
709+
"notSetText": "None"
705710
},
706711
{
707712
"type": "TEXT",
@@ -719,6 +724,11 @@ ___TEMPLATE_PARAMETERS___
719724
"paramName": "security_storage_visibility",
720725
"paramValue": "visible_disabled",
721726
"type": "EQUALS"
727+
},
728+
{
729+
"paramName": "security_storage_visibility",
730+
"paramValue": "",
731+
"type": "IS_MACRO_REFERENCE"
722732
}
723733
],
724734
"valueUnit": "days",
@@ -818,14 +828,14 @@ ___TEMPLATE_PARAMETERS___
818828
"paramName": "personalization_storage_visibility",
819829
"paramValue": "hidden_synchronized",
820830
"type": "EQUALS"
821-
}
822-
],
823-
"notSetText": "None",
824-
"valueValidators": [
831+
},
825832
{
826-
"type": "NON_EMPTY"
833+
"paramName": "personalization_storage_visibility",
834+
"paramValue": "",
835+
"type": "IS_MACRO_REFERENCE"
827836
}
828-
]
837+
],
838+
"notSetText": "None"
829839
},
830840
{
831841
"type": "TEXT",
@@ -843,6 +853,11 @@ ___TEMPLATE_PARAMETERS___
843853
"paramName": "personalization_storage_visibility",
844854
"paramValue": "visible_disabled",
845855
"type": "EQUALS"
856+
},
857+
{
858+
"paramName": "personalization_storage_visibility",
859+
"paramValue": "",
860+
"type": "IS_MACRO_REFERENCE"
846861
}
847862
],
848863
"valueUnit": "days",
@@ -942,14 +957,14 @@ ___TEMPLATE_PARAMETERS___
942957
"paramName": "ad_storage_visibility",
943958
"paramValue": "hidden_synchronized",
944959
"type": "EQUALS"
945-
}
946-
],
947-
"notSetText": "None",
948-
"valueValidators": [
960+
},
949961
{
950-
"type": "NON_EMPTY"
962+
"paramName": "ad_storage_visibility",
963+
"paramValue": "",
964+
"type": "IS_MACRO_REFERENCE"
951965
}
952-
]
966+
],
967+
"notSetText": "None"
953968
},
954969
{
955970
"type": "TEXT",
@@ -967,6 +982,11 @@ ___TEMPLATE_PARAMETERS___
967982
"paramName": "ad_storage_visibility",
968983
"paramValue": "visible_disabled",
969984
"type": "EQUALS"
985+
},
986+
{
987+
"paramName": "ad_storage_visibility",
988+
"paramValue": "",
989+
"type": "IS_MACRO_REFERENCE"
970990
}
971991
],
972992
"valueUnit": "days",
@@ -1066,14 +1086,14 @@ ___TEMPLATE_PARAMETERS___
10661086
"paramName": "ad_user_data_visibility",
10671087
"paramValue": "hidden_synchronized",
10681088
"type": "EQUALS"
1069-
}
1070-
],
1071-
"notSetText": "None",
1072-
"valueValidators": [
1089+
},
10731090
{
1074-
"type": "NON_EMPTY"
1091+
"paramName": "ad_user_data_visibility",
1092+
"paramValue": "",
1093+
"type": "IS_MACRO_REFERENCE"
10751094
}
1076-
]
1095+
],
1096+
"notSetText": "None"
10771097
},
10781098
{
10791099
"type": "TEXT",
@@ -1091,6 +1111,11 @@ ___TEMPLATE_PARAMETERS___
10911111
"paramName": "ad_user_data_visibility",
10921112
"paramValue": "visible_disabled",
10931113
"type": "EQUALS"
1114+
},
1115+
{
1116+
"paramName": "ad_user_data_visibility",
1117+
"paramValue": "",
1118+
"type": "IS_MACRO_REFERENCE"
10941119
}
10951120
],
10961121
"valueUnit": "days",
@@ -1190,14 +1215,14 @@ ___TEMPLATE_PARAMETERS___
11901215
"paramName": "ad_personalization_visibility",
11911216
"paramValue": "hidden_synchronized",
11921217
"type": "EQUALS"
1193-
}
1194-
],
1195-
"notSetText": "None",
1196-
"valueValidators": [
1218+
},
11971219
{
1198-
"type": "NON_EMPTY"
1220+
"paramName": "ad_personalization_visibility",
1221+
"paramValue": "",
1222+
"type": "IS_MACRO_REFERENCE"
11991223
}
1200-
]
1224+
],
1225+
"notSetText": "None"
12011226
},
12021227
{
12031228
"type": "TEXT",
@@ -1215,6 +1240,11 @@ ___TEMPLATE_PARAMETERS___
12151240
"paramName": "ad_personalization_visibility",
12161241
"paramValue": "visible_disabled",
12171242
"type": "EQUALS"
1243+
},
1244+
{
1245+
"paramName": "ad_personalization_visibility",
1246+
"paramValue": "",
1247+
"type": "IS_MACRO_REFERENCE"
12181248
}
12191249
],
12201250
"valueUnit": "days",
@@ -1314,14 +1344,14 @@ ___TEMPLATE_PARAMETERS___
13141344
"paramName": "analytics_storage_visibility",
13151345
"paramValue": "hidden_synchronized",
13161346
"type": "EQUALS"
1317-
}
1318-
],
1319-
"notSetText": "None",
1320-
"valueValidators": [
1347+
},
13211348
{
1322-
"type": "NON_EMPTY"
1349+
"paramName": "analytics_storage_visibility",
1350+
"paramValue": "",
1351+
"type": "IS_MACRO_REFERENCE"
13231352
}
1324-
]
1353+
],
1354+
"notSetText": "None"
13251355
},
13261356
{
13271357
"type": "TEXT",
@@ -1339,6 +1369,11 @@ ___TEMPLATE_PARAMETERS___
13391369
"paramName": "analytics_storage_visibility",
13401370
"paramValue": "visible_disabled",
13411371
"type": "EQUALS"
1372+
},
1373+
{
1374+
"paramName": "analytics_storage_visibility",
1375+
"paramValue": "",
1376+
"type": "IS_MACRO_REFERENCE"
13421377
}
13431378
],
13441379
"valueUnit": "days",

0 commit comments

Comments
 (0)