-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmatomo_config.yaml
executable file
·38 lines (32 loc) · 1.2 KB
/
matomo_config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
info: "OpenAIRE Generic Tracker"
Matomo_Parameters:
#Matomo tracker Endpoint
matomo_url: "https://analytics.openaire.eu/"
#Repository Base Url
repository_base_url: "https://repository.com"
#Matomo Repository Site ID
idSite: 1
#Matomo authenticastion token
token_auth: "12345"
#COUNTER Robots URL
COUNTER_Robots_url: "https://raw.githubusercontent.com/atmire/COUNTER-Robots/master/COUNTER_Robots_list.json"
#Custom Log File Format
LogFileFormat:
#matomo parameters (default values)
delay_after_failure: 10
default_max_attempts: 3
default_socket_timeout: 300
ip_anonymization: false
# Number of recorders. It should be set to the number of CPU cores in your server.
# You can also experiment with higher values which may increase performance until a certain point
recorders: 1
#Maximum number of log entries to record in one tracking request.
max_payload: 100
#OAI-PMH Configuration
oaipmh_preamble: "oai:repository.site:"
#Metadata Location (supports multiple locations and regular expressions)
tracking_metadata:
- "/([0-9]*)/(?!pdf)$"
#Item Location (supports multiple locations and regular expressions)
tracking_download:
- "/([0-9]*)/[0-9]*\\w.*pdf"