Add a live split, export Analytics configuration

Fixes #38 and #5
This commit is contained in:
Oliver Davies 2020-05-15 00:00:19 +01:00
parent 4a62e10a6c
commit d0f8653028
4 changed files with 82 additions and 0 deletions

View file

@ -0,0 +1,16 @@
uuid: 1ee9c84f-5545-4ee4-9e18-c998a249c546
langcode: en
status: false
dependencies: { }
id: live
label: Live
description: ''
folder: ../config/splits/live
module: { }
theme: { }
blacklist:
- google_analytics.settings
graylist: { }
graylist_dependents: true
graylist_skip_equal: true
weight: 0

View file

@ -0,0 +1,27 @@
# Deny all requests from Apache 2.4+.
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
# Deny all requests from Apache 2.0-2.2.
<IfModule !mod_authz_core.c>
Deny from all
</IfModule>
# Turn off all options we don't need.
Options -Indexes -ExecCGI -Includes -MultiViews
# Set the catch-all handler to prevent scripts from being executed.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
<Files *>
# Override the handler again if we're run later in the evaluation list.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
</Files>
# If we know how to do it safely, disable the PHP engine entirely.
<IfModule mod_php5.c>
php_flag engine off
</IfModule>
<IfModule mod_php7.c>
php_flag engine off
</IfModule>

View file

@ -0,0 +1,37 @@
account: UA-11967257-1
premium: false
domain_mode: 0
cross_domains: ''
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: 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

@ -41,3 +41,5 @@ drupal_settings:
'devel',
'stage_file_proxy',
];
$config['config_split.config_split.live']['status'] = TRUE;