From 43214f82db2f937cf0985f6434cb0302d09e7d71 Mon Sep 17 00:00:00 2001 From: bach Date: Wed, 4 Dec 2024 12:37:23 +0100 Subject: [PATCH] matomo --- composer.json | 1 + composer.lock | 28 ++++++------ config/sync/core.extension.yml | 1 + config/sync/matomo.settings.yml | 60 +++++++++++++++++++++++++ config/sync/user.role.authenticated.yml | 2 + config/sync/views.settings.yml | 3 +- 6 files changed, 80 insertions(+), 15 deletions(-) create mode 100644 config/sync/matomo.settings.yml diff --git a/composer.json b/composer.json index 0be2cea..a88c960 100644 --- a/composer.json +++ b/composer.json @@ -30,6 +30,7 @@ "drupal/image_field_caption": "^2.0", "drupal/leaflet": "^10.2", "drupal/linked_field": "^1.5", + "drupal/matomo": "^1.23", "drupal/page_manager": "^4.0@RC", "drupal/panels": "^4.7", "drupal/paragraphs": "^1.16", diff --git a/composer.lock b/composer.lock index 733489d..0be8493 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "337588199906c8f94c9b3253c53ec9c0", + "content-hash": "55138412c08fde11da9fbabe9a675c77", "packages": [ { "name": "asm89/stack-cors", @@ -5610,17 +5610,17 @@ }, { "name": "drupal/matomo", - "version": "1.22.0", + "version": "1.23.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/matomo.git", - "reference": "8.x-1.22" + "reference": "8.x-1.23" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/matomo-8.x-1.22.zip", - "reference": "8.x-1.22", - "shasum": "b41bb83d9c0c6f8c27f72f6b1b62f691dab65a5d" + "url": "https://ftp.drupal.org/files/projects/matomo-8.x-1.23.zip", + "reference": "8.x-1.23", + "shasum": "c2dbf12878388c5859e64f1e74a9ca5110d1623f" }, "require": { "drupal/core": "^9.0 || ^10" @@ -5636,8 +5636,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "8.x-1.22", - "datestamp": "1691004328", + "version": "8.x-1.23", + "datestamp": "1700936102", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -13100,13 +13100,11 @@ "aliases": [], "minimum-stability": "stable", "stability-flags": { - "drupal/agreement": 15, - "drupal/page_manager": 5, - "drupal/smart_date": 5, "drupal/advanced_text_formatter": 5, + "drupal/agreement": 15, "drupal/bulkdelete": 20, - "drupal/config_ignore": 5, "drupal/config_devel": 20, + "drupal/config_ignore": 5, "drupal/config_update": 15, "drupal/context": 5, "drupal/date_range_formatter": 20, @@ -13121,9 +13119,11 @@ "drupal/maxlength": 10, "drupal/menu_block": 20, "drupal/menu_position": 20, + "drupal/page_manager": 5, "drupal/path_alias_xt": 20, "drupal/pathologic": 15, "drupal/profile": 5, + "drupal/smart_date": 5, "drupal/smtp": 10, "drupal/synonyms": 10, "drupal/translation_views": 15, @@ -13131,7 +13131,7 @@ }, "prefer-stable": true, "prefer-lowest": false, - "platform": [], - "platform-dev": [], + "platform": {}, + "platform-dev": {}, "plugin-api-version": "2.6.0" } diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index a4cebfa..7efc07c 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -78,6 +78,7 @@ module: locale: 0 loginregisterblock: 0 maillog: 0 + matomo: 0 maxlength: 0 menu_block: 0 menu_link_content: 0 diff --git a/config/sync/matomo.settings.yml b/config/sync/matomo.settings.yml new file mode 100644 index 0000000..9f6dacb --- /dev/null +++ b/config/sync/matomo.settings.yml @@ -0,0 +1,60 @@ +_core: + default_config_hash: mKwnhF-0ryfftZZP6jyqW8q9MEo9glyRkvRzSddrc0k +langcode: fr +site_id: erable +url_http: 'http://analytics.figureslibres.io/' +url_https: 'https://analytics.figureslibres.io/' +domain_mode: 0 +visibility: + request_path_mode: 0 + request_path_pages: "/admin\r\n/admin/*\r\n/batch\r\n/node/add*\r\n/node/*/*\r\n/user/*/*" + user_role_mode: 0 + user_role_roles: { } + user_account_mode: 1 +track: + mailto: true + files: true + files_extensions: '7z|aac|arc|arj|asf|asx|avi|bin|csv|doc(x|m)?|dot(x|m)?|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt(x|m)?|pot(x|m)?|pps(x|m)?|ppam|sld(x|m)?|thmx|qtm?|ra(m|r)?|sea|sit|tar|tgz|torrent|txt|wav|wma|wmv|wpd|xls(x|m|b)?|xlt(x|m)|xlam|xml|z|zip' + colorbox: true + userid: false + messages: { } + site_search: false +privacy: + donottrack: true + disablecookies: false +custom: + variable: + 1: + slot: 1 + name: '' + value: '' + scope: visit + 2: + slot: 2 + name: '' + value: '' + scope: visit + 3: + slot: 3 + name: '' + value: '' + scope: visit + 4: + slot: 4 + name: '' + value: '' + scope: visit + 5: + slot: 5 + name: '' + value: '' + scope: visit +codesnippet: + before: '' + after: '' +translation_set: false +disable_tracking: false +cache: false +page_title_hierarchy: false +page_title_hierarchy_exclude_home: true +status_codes_disabled: { } diff --git a/config/sync/user.role.authenticated.yml b/config/sync/user.role.authenticated.yml index b0a0c61..4a0b962 100644 --- a/config/sync/user.role.authenticated.yml +++ b/config/sync/user.role.authenticated.yml @@ -10,6 +10,7 @@ dependencies: - devel - faq - filter + - matomo - profile - system _core: @@ -22,6 +23,7 @@ permissions: - 'access content' - 'access devel information' - 'access user contact forms' + - 'opt-in or out of matomo tracking' - 'use text format webform_default' - 'view faq page' - 'view les_projets config page entity' diff --git a/config/sync/views.settings.yml b/config/sync/views.settings.yml index 37f30bf..be37ca7 100644 --- a/config/sync/views.settings.yml +++ b/config/sync/views.settings.yml @@ -1,7 +1,8 @@ _core: default_config_hash: RzCmzrx-T-Sy8JX5OmtGKV_V_MxRlrxRkrI9c9igTHI langcode: fr -display_extenders: { } +display_extenders: + - matomo skip_cache: false sql_signature: false ui: