Feature #20103 » matomo_config.yaml
| 1 |
info: "OpenAIRE Matomo Tracker" |
|---|---|
| 2 |
|
| 3 |
Matomo_Parameters: |
| 4 |
#Matomo tracker Endpoint
|
| 5 |
matomo_url: "https://analytics.openaire.eu/" |
| 6 |
#Repository Base Url
|
| 7 |
repository_base_url: "https://openportal.isti.cnr.it" |
| 8 |
#Matomo Repository Site ID
|
| 9 |
idSite: 1 |
| 10 |
#Matomo authenticastion token
|
| 11 |
token_auth: "9a5d071dbf9e3f2757e624ed107a9a7f" |
| 12 |
#COUNTER Robots URL
|
| 13 |
COUNTER_Robots_url: "https://raw.githubusercontent.com/atmire/COUNTER-Robots/master/COUNTER_Robots_list.json" |
| 14 |
#Custom Log File Format
|
| 15 |
#LogFileFormat: '.* ((?P<ip>\S+) \S+ \S+ \[(?P<date>.*?) (?P<timezone>.*?)\] "\S+ (?P<path>.*?) \S+" (?P<status>\S+) (?P<length>\S+) "(?P<referrer>.*?)" "(?P<user_agent>.*?)").*'
|
| 16 |
LogFileFormat: |
| 17 |
#matomo parameters (default values)
|
| 18 |
delay_after_failure: 10 |
| 19 |
default_max_attempts: 3 |
| 20 |
default_socket_timeout: 300 |
| 21 |
ip_anonymization: false |
| 22 |
#Maximum number of log entries to record in one tracking request.
|
| 23 |
max_payload: 100 |
| 24 |
# Number of recorders. It should be set to the number of CPU cores in your server.
|
| 25 |
# You can also experiment with higher values which may increase performance until a certain point
|
| 26 |
recorders: 1 |
| 27 |
#OAI-PMH Configuration
|
| 28 |
#oaipmh_preamble: "https://lmcs.episciences.org/"
|
| 29 |
oaipmh_preamble: "oai:dnet:people______::" |
| 30 |
#Metadata Location (regexp supported)
|
| 31 |
#Metadata Location (regexp supported)
|
| 32 |
tracking_metadata: |
| 33 |
- "\/doc\\?id=people______\\:\\:(.*)" |
| 34 |
#Item Location (regexp supported)
|
| 35 |
tracking_download: |
| 36 |
- "\/data\/[0-9]*\/[0-9]*\/[a-zA-Z0-9_.]*\\?id=people______\\:\\:(.*)" |