Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions drupal/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,15 @@
"drupal/leaflet": "^1.0",
"drupal/redirect": "^1.1",
"drupal/geofield_map": "^2.36",
"drupal/google_tag": "^1.0",
"drupal/google_tag": "~1.3",
"drupal/cookieconsent": "^1.4",
"zaporylie/composer-drupal-optimizations": "^1.0",
"drupal/menu_multilingual": "^1.0@alpha",
"drupal/translatable_menu_link_uri": "^1.1",
"drupal/simple_sitemap": "^3.1",
"drupal/translation_views": "^1.0",
"drupal/config_readonly": "^1.0"
"drupal/config_readonly": "^1.0",
"drupal/datalayer": "~1.0"
},
"require-dev": {
"codeception/codeception": "^2.2",
Expand Down
95 changes: 85 additions & 10 deletions drupal/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion drupal/sync/config_ignore.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ ignored_config_entities:
4: system.site
6: uhsg_service_provider_details.settings
8: 'xmlsitemap_engines.*'
10: 'google_tag.*'
_core:
default_config_hash: UVH1aJ4b44UM-VdPVN7hNNuuVqfReJxwfVeDQH1Hvsk
langcode: fi
1 change: 0 additions & 1 deletion drupal/sync/config_split.config_split.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ module:
theme: { }
blacklist:
- uhsg_service_provider_details.settings
- google_tag.settings
- redirect.settings
- redirect_404.settings
graylist:
Expand Down
1 change: 1 addition & 0 deletions drupal/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ module:
config_translation: 0
cookieconsent: 0
ctools: 0
datalayer: 0
datetime: 0
datetime_range: 0
dblog: 0
Expand Down
50 changes: 50 additions & 0 deletions drupal/sync/datalayer.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
add_page_meta: true
output_terms: true
output_fields: false
group: false
lib_helper: false
entity_meta:
created: created
langcode: langcode
status: status
uuid: uuid
vid: vid
name: '0'
uid: '0'
enable_ia: false
ia_depth: 3
ia_category_primary: primaryCategory
ia_category_sub: subCategory
vocabs:
accessibility: '0'
building: '0'
campus: '0'
contacts: '0'
equipment: '0'
price_categories: '0'
room_type: '0'
expose_user_details: '*'
expose_user_details_roles:
authenticated: '0'
admin: '0'
editor: '0'
current_user_meta:
name: '0'
mail: '0'
roles: '0'
created: '0'
access: '0'
expose_user_details_fields: false
entity_title: entityTitle
entity_type: entityType
entity_bundle: entityBundle
entity_identifier: entityId
group_label: groupLabel
drupal_language: drupalLanguage
drupal_country: drupalCountry
site_name: siteName
key_replacements:
- ''
_core:
default_config_hash: N67AkcKPlikWJbwxABv6MSMpGuXe36qWZfH88pEzeqc
langcode: fi
30 changes: 30 additions & 0 deletions drupal/sync/google_tag.container.tilavaraus.helsinki.fi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
uuid: c9790ff3-3608-431a-88a3-1fe79ae88145
langcode: fi
status: true
dependencies:
module:
- ctools
id: tilavaraus.helsinki.fi
label: tilavaraus.helsinki.fi
weight: 0
container_id: GTM-59JBSDV
data_layer: dataLayer
include_classes: false
whitelist_classes: ''
blacklist_classes: ''
include_environment: true
environment_id: env-3
environment_token: 4wv_dZbHBKfbJMZ5Y-Z7vg
path_toggle: 'exclude listed'
path_list: ''
role_toggle: 'exclude listed'
role_list: { }
status_toggle: 'exclude listed'
status_list: ''
conditions:
'entity_bundle:node':
id: 'entity_bundle:node'
bundles: { }
negate: false
context_mapping:
node: '@node.node_route_context:node'
7 changes: 7 additions & 0 deletions drupal/sync/google_tag.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
uri: 'public:/'
compact_snippet: true
include_file: true
rebuild_snippets: true
flush_snippets: false
debug_output: false
langcode: fi
3 changes: 3 additions & 0 deletions drupal/web/sites/default/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@
$base_url = "https://tilavaraus.helsinki.fi";
// Sitemap settings override.
$config['simple_sitemap.settings']['base_url'] = 'https://tilavaraus.helsinki.fi';
// GTM settings override.
$config['google_tag.container.tilavaraus.helsinki.fi']['environment_id'] = 'env-1';
$config['google_tag.container.tilavaraus.helsinki.fi']['environment_token'] = 'RN8MQBhEX_4ifvbbJYqPnw';
break;

case 'dev':
Expand Down