Add module for Plausible Analytics

This commit is contained in:
Oliver Davies 2020-09-26 19:28:16 +01:00
parent 3dd7608a87
commit 6c9e5746ca
4 changed files with 56 additions and 2 deletions

View file

@ -36,6 +36,7 @@
"drupal/migrate_tools": "^4.5",
"drupal/paragraphs": "^1.10",
"drupal/pathauto": "^1.8",
"drupal/plausible": "1.x-dev",
"drupal/redirect": "^1.5",
"drupal/scheduler": "^1.3",
"drupal/simple_sitemap": "^3.6",

48
composer.lock generated
View file

@ -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": "bd5d663c215838b5134f059af1a07aac",
"content-hash": "93360382c8722947d5a2d047abfd2071",
"packages": [
{
"name": "asm89/stack-cors",
@ -3270,6 +3270,48 @@
"documentation": "https://www.drupal.org/docs/8/modules/pathauto"
}
},
{
"name": "drupal/plausible",
"version": "dev-1.x",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/plausible.git",
"reference": "b49998458cdd2b02834f156132cc0b02ba239b99"
},
"require": {
"drupal/core": "^8.8.6 || ^9"
},
"type": "drupal-module",
"extra": {
"branch-alias": {
"dev-1.x": "1.x-dev"
},
"drupal": {
"version": "8.x-1.x-dev",
"datestamp": "1596149122",
"security-coverage": {
"status": "not-covered",
"message": "Project has not opted into security advisory coverage!"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "droces",
"homepage": "https://www.drupal.org/user/2996575"
}
],
"description": "Allows your site to be tracked using Plausible, by adding a Javascript tracking snippet to every page.",
"homepage": "https://www.drupal.org/project/plausible",
"support": {
"source": "https://git.drupalcode.org/project/plausible"
},
"time": "2020-07-30T22:44:53+00:00"
},
{
"name": "drupal/redirect",
"version": "1.6.0",
@ -11216,7 +11258,9 @@
],
"aliases": [],
"minimum-stability": "dev",
"stability-flags": [],
"stability-flags": {
"drupal/plausible": 20
},
"prefer-stable": true,
"prefer-lowest": false,
"platform": [],

View file

@ -46,6 +46,7 @@ module:
page_cache: 0
path: 0
path_alias: 0
plausible: 0
redirect: 0
scheduler: 0
simple_sitemap: 0

View file

@ -0,0 +1,8 @@
data_domain: oliverdavies.uk
visibility:
request_path_mode: '0'
request_path_pages: ''
user_role_mode: '0'
user_role_roles:
anonymous: anonymous
authenticated: 0