Add and enable drupal/google_analytics

References #5
This commit is contained in:
Oliver Davies 2020-05-14 23:34:38 +01:00
parent a2c1c99058
commit c1fb05e0f4
5 changed files with 97 additions and 1 deletions

View file

@ -20,6 +20,7 @@
"drupal/config_ignore": "^2.2", "drupal/config_ignore": "^2.2",
"drupal/core-composer-scaffold": "^8.8", "drupal/core-composer-scaffold": "^8.8",
"drupal/core-recommended": "^8.8", "drupal/core-recommended": "^8.8",
"drupal/google_analytics": "^2.4",
"drupal/hook_event_dispatcher": "^1.28", "drupal/hook_event_dispatcher": "^1.28",
"drupal/markdown": "^1.3", "drupal/markdown": "^1.3",
"drupal/metatag": "^1.11", "drupal/metatag": "^1.11",

58
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "ca89fa35a8db80a0bc7008cc2a1ebc57", "content-hash": "b0043172e58bef3a45fb4ebd381a42f3",
"packages": [ "packages": [
{ {
"name": "asm89/stack-cors", "name": "asm89/stack-cors",
@ -2267,6 +2267,62 @@
"source": "https://git.drupalcode.org/project/entity_reference_revisions" "source": "https://git.drupalcode.org/project/entity_reference_revisions"
} }
}, },
{
"name": "drupal/google_analytics",
"version": "2.4.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/google_analytics.git",
"reference": "8.x-2.4"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/google_analytics-8.x-2.4.zip",
"reference": "8.x-2.4",
"shasum": "f2e78ec140024ddcd19e027704ba73c33731f656"
},
"require": {
"drupal/core": "~8.5"
},
"require-dev": {
"drupal/php": "*",
"drupal/token": "*"
},
"type": "drupal-module",
"extra": {
"branch-alias": {
"dev-2.x": "2.x-dev"
},
"drupal": {
"version": "8.x-2.4",
"datestamp": "1548968580",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0+"
],
"authors": [
{
"name": "hass",
"homepage": "https://www.drupal.org/u/hass"
},
{
"name": "See other contributors",
"homepage": "https://www.drupal.org/node/49388/committers"
}
],
"description": "Allows your site to be tracked by Google Analytics by adding a Javascript tracking code to every page.",
"homepage": "https://www.drupal.org/project/google_analytics",
"support": {
"source": "https://git.drupal.org/project/google_analytics.git",
"issues": "https://www.drupal.org/project/issues/google_analytics"
}
},
{ {
"name": "drupal/hook_event_dispatcher", "name": "drupal/hook_event_dispatcher",
"version": "1.28.0", "version": "1.28.0",

View file

@ -18,6 +18,7 @@ module:
field_ui: 0 field_ui: 0
file: 0 file: 0
filter: 0 filter: 0
google_analytics: 0
hook_event_dispatcher: 0 hook_event_dispatcher: 0
image: 0 image: 0
link: 0 link: 0

View file

@ -0,0 +1,37 @@
account: ''
premium: false
domain_mode: 0
cross_domains: ''
visibility:
request_path_mode: 0
request_path_pages: "/admin\n/admin/*\n/batch\n/node/add*\n/node/*/*\n/user/*/*"
user_role_mode: 0
user_role_roles: { }
user_account_mode: 0
track:
outbound: true
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
linkid: false
urlfragments: false
userid: false
messages: { }
site_search: false
adsense: false
displayfeatures: false
privacy:
anonymizeip: true
custom:
dimension: { }
metric: { }
codesnippet:
create: { }
before: ''
after: ''
translation_set: false
cache: false
debug: false
_core:
default_config_hash: SMk3vOyh4KT6rXnqkDcNQ51YGpJzRV5hyig5SSIfU6U

View file

@ -10,5 +10,6 @@ weight: 1
is_admin: false is_admin: false
permissions: permissions:
- 'access content' - 'access content'
- 'opt-in or out of google analytics tracking'
- 'use text format full_html' - 'use text format full_html'
- 'view media' - 'view media'