Skip to content

Commit

Permalink
Updated GTM template due to recent changes related to the CMP environ…
Browse files Browse the repository at this point in the history
…ments
  • Loading branch information
tg666 committed Feb 15, 2024
1 parent 599633a commit 364d162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gtm_template.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2024,7 +2024,7 @@ setInWindow('cc_wrapper_config', {
url: data.cmp_api_enabled ? data.cmp_api_host : null,
project: data.cmp_api_enabled && data.cmp_api_project ? data.cmp_api_project : null,
version: data.cmp_api_enabled ? data.cmp_api_version : 1,
environment: data.cmp_api_enabled ? (data.cmp_api_default_environment ? null : data.cmp_api_environment_code) : null,
environment: data.cmp_api_enabled ? (data.cmp_api_default_environment ? 'default' : data.cmp_api_environment_code) : null,
consent_api_enabled: data.cmp_api_enabled ? data.cmp_api_consent_api_enabled : false,
cookies_api_enabled: data.cmp_api_enabled ? data.cmp_api_cookies_api_enabled : false,
cookie_table_headers: cookieTableHeaders
Expand Down

0 comments on commit 364d162

Please sign in to comment.