First commit
This commit is contained in:
14 files changed
+427
-140
No files matched your search
@@ -1,6 +1,28 @@
|
||||
<?php
|
||||
|
||||
// config for MattitjaAB/MatomoProxyLaravel
|
||||
return [
|
||||
// Enable/disable tracking
|
||||
'enabled' => env('MATOMO_ENABLED', true),
|
||||
|
||||
// Full Matomo tracking endpoint (must include /matomo.php)
|
||||
// Example: https://analytics.example.com/matomo.php
|
||||
'base_url' => env('MATOMO_BASE_URL', ''),
|
||||
|
||||
// Matomo site ID
|
||||
'site_id' => env('MATOMO_SITE_ID', null),
|
||||
|
||||
// Optional token_auth (can be null for anonymous tracking)
|
||||
'token' => env('MATOMO_TOKEN', null),
|
||||
|
||||
// Paths that should never be tracked
|
||||
'ignore' => [
|
||||
'telescope/*', 'horizon/*', 'health', '_debugbar/*',
|
||||
],
|
||||
|
||||
// HTTP client behavior
|
||||
'timeout' => env('MATOMO_TIMEOUT', 2),
|
||||
'retry' => [
|
||||
'times' => env('MATOMO_RETRY_TIMES', 0),
|
||||
'sleep' => env('MATOMO_RETRY_SLEEP_MS', 100), // milliseconds
|
||||
],
|
||||
];
|
||||
Reference in new issue
Block a user