osem-fcy/config/piwik.yml
2022-05-06 14:53:57 +02:00

30 lines
645 B
YAML

# Configuration:
#
# disabled
# false if tracking tag should be shown
# use_async
# Set to true if you want to use asynchronous tracking
# url
# The url of your piwik instance (e.g. localhost/piwik/
# id_site
# The id of your website inside Piwik
#
default: &default
id_site: <%= ENV['OSEM_PIWIK_ID'] %>
url: <%= ENV['OSEM_PIWIK_URL'] %>
use_async: <%= ENV.fetch('OSEM_PIWIK_ASYNC', false) %>
disabled: <%= ENV.fetch('OSEM_PIWIK_DISABLED', true) %>
hostname: <%= ENV.fetch('OSEM_PIWIK_HOSTNAME', 'localhost') %>
production:
piwik:
<<: *default
development:
piwik:
<<: *default
test:
piwik:
<<: *default