diff --git a/composer.json b/composer.json index 7f7da7a..5bc95e9 100644 --- a/composer.json +++ b/composer.json @@ -21,6 +21,7 @@ "drupal/core-recommended": "^10.2", "drupal/linked_field": "^1.5", "drupal/manage_display": "^3.0", + "drupal/matomo": "^1.23", "drupal/paragraphs": "^1.17", "drupal/social_media_links": "^2.9", "drupal/yaml_editor": "^1.2", diff --git a/composer.lock b/composer.lock index ca92031..ef9d2d2 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": "d5de52806f42abd1a64167277faf33d9", + "content-hash": "216a5b70c0522a29090f7c8ca1ffee2b", "packages": [ { "name": "asm89/stack-cors", diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 9f1703b..fdb6d14 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -66,6 +66,7 @@ module: locale: 0 maillog: 0 manage_display: 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..78b7b79 --- /dev/null +++ b/config/sync/matomo.settings.yml @@ -0,0 +1,60 @@ +_core: + default_config_hash: mKwnhF-0ryfftZZP6jyqW8q9MEo9glyRkvRzSddrc0k +langcode: fr +site_id: '7' +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/system.performance.yml b/config/sync/system.performance.yml index 4331b56..0c622f0 100644 --- a/config/sync/system.performance.yml +++ b/config/sync/system.performance.yml @@ -1,10 +1,11 @@ _core: default_config_hash: bUb8UUGCJnZ5aiph4NCUr8rnJay_s8sKGe2JK_7_mzg +langcode: fr cache: page: - max_age: 0 + max_age: 3600 css: - preprocess: false + preprocess: true gzip: true fast_404: enabled: true @@ -12,7 +13,6 @@ fast_404: exclude_paths: '/\/(?:styles|imagecache)\//' html: '404 Not Found

Not Found

The requested URL "@path" was not found on this server.

' js: - preprocess: false + preprocess: true gzip: true stale_file_threshold: 2592000 -langcode: fr diff --git a/config/sync/user.role.authenticated.yml b/config/sync/user.role.authenticated.yml index 3005ee6..ca66f2b 100644 --- a/config/sync/user.role.authenticated.yml +++ b/config/sync/user.role.authenticated.yml @@ -4,6 +4,7 @@ status: true dependencies: module: - devel + - matomo - system _core: default_config_hash: OVp5431n1LmiRh_QaOpDS1hEEFvtjRqisASIU0tYIwo @@ -14,3 +15,4 @@ is_admin: false permissions: - 'access content' - 'access devel information' + - 'opt-in or out of matomo tracking' diff --git a/config/sync/views.settings.yml b/config/sync/views.settings.yml index 37f30bf..3a070f0 100644 --- a/config/sync/views.settings.yml +++ b/config/sync/views.settings.yml @@ -1,8 +1,8 @@ _core: default_config_hash: RzCmzrx-T-Sy8JX5OmtGKV_V_MxRlrxRkrI9c9igTHI langcode: fr -display_extenders: { } -skip_cache: false +display_extenders: + - matomo sql_signature: false ui: show: @@ -47,3 +47,4 @@ field_rewrite_elements: ins: INS q: Q s: S +skip_cache: false