Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HPC-10072: WIP Update google tag module to 2.0.x and install and configure the datalayer module #1334

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
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
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"drupal/core-project-message": "^10",
"drupal/core-recommended": "^10",
"drupal/ctools": "^3.7",
"drupal/datalayer": "^2.1",
"drupal/editor_advanced_link": "^2.2",
"drupal/entity_access_password": "^1.0",
"drupal/entity_browser": "^2.12",
Expand All @@ -89,7 +90,7 @@
"drupal/gin": "^3.0-beta5",
"drupal/gin_lb": "^1.0@beta",
"drupal/gin_toolbar": "^1.0",
"drupal/google_tag": "^1.5",
"drupal/google_tag": "^2",
"drupal/image_effects": "^3.6",
"drupal/image_widget_crop": "^2.4",
"drupal/imageapi_optimize": "^4.0",
Expand Down
106 changes: 94 additions & 12 deletions composer.lock

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

3 changes: 0 additions & 3 deletions composer.patches.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
"drupal/gin_toolbar": {
"Issue #3121440: Add option for node local tasks in toolbar": "https://www.drupal.org/files/issues/2023-10-20/3121440-49.patch"
},
"drupal/google_tag": {
"Issue #3250315: Error during cache rebuild when assets are stored on NFS": "https://www.drupal.org/files/issues/2022-11-23/3250315-google-tag-nfs-locks-5.patch"
},
"drupal/image_widget_crop": {
"Issue #3401986: The containers summary text should not be overwritten": "https://www.drupal.org/files/issues/2023-11-15/3401986-2.patch"
},
Expand Down
1 change: 1 addition & 0 deletions config/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ module:
contextual: 0
crop: 0
ctools: 0
datalayer: 0
datetime: 0
datetime_range: 0
dynamic_page_cache: 0
Expand Down
56 changes: 56 additions & 0 deletions config/datalayer.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
_core:
default_config_hash: Uc7Zbc6VespUg43N2CNGU_5cpFIvfwkUZyASgQcP7eQ
add_page_meta: true
output_terms: true
output_fields: false
remove_from_admin_routes: true
lib_helper: false
entity_meta:
created: created
langcode: langcode
name: '0'
status: '0'
uid: '0'
uuid: '0'
vid: '0'
enable_ia: false
ia_depth: 3
ia_category_primary: primaryCategory
ia_category_sub: subCategory
vocabs:
cluster_tags: '0'
content_space: '0'
ocha_services: '0'
operations_category: '0'
organization_type: '0'
panopoly_categories: '0'
plan_costing: '0'
plan_type: '0'
tags: '0'
team: '0'
expose_user_details: ''
expose_user_details_roles:
authenticated: '0'
administrator: '0'
global_editor: '0'
editor: '0'
rpm_administrator: '0'
plan_lead: '0'
cluster_lead: '0'
current_user_meta:
name: '0'
mail: '0'
roles: '0'
created: '0'
access: '0'
group: false
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: { }
34 changes: 4 additions & 30 deletions config/google_tag.container.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,8 @@ dependencies:
id: default
label: default
weight: 0
container_id: GTM-xxxxxx
hostname: null
data_layer: dataLayer
include_classes: false
whitelist_classes: |-
google
nonGooglePixels
nonGoogleScripts
nonGoogleIframes
blacklist_classes: |-
customScripts
customPixels
include_environment: false
environment_id: ''
environment_token: ''
path_toggle: 'exclude listed'
path_list: |-
/admin*
/batch*
/node/add*
/node/*/edit
/node/*/delete
/user/*/edit*
/user/*/cancel*
role_toggle: 'exclude listed'
role_list: { }
status_toggle: 'exclude listed'
status_list: |-
403
404
tag_container_ids: { }
advanced_settings: { }
dimensions_metrics: { }
conditions: { }
events: { }
20 changes: 20 additions & 0 deletions config/monitoring.sensor_config.core_requirements_datalayer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: 77e777fb-33d7-426c-869a-0eff3f19e7c4
langcode: en
status: false
dependencies:
module:
- datalayer
id: core_requirements_datalayer
label: 'Module datalayer'
description: 'Requirements of the datalayer module'
category: Requirements
plugin_id: core_requirements
result_class: null
value_label: null
value_type: no_value
caching_time: 3600
settings:
module: datalayer
exclude_keys: { }
thresholds:
type: none
Loading