tracking/Configuration/RequestMiddlewares.php

30 lines
803 B
PHP
Raw Permalink Normal View History

<?php
declare(strict_types=1);
use DanielSiepmann\Tracking\Middleware\Pageview;
use DanielSiepmann\Tracking\Middleware\Recordview;
2023-04-26 17:29:23 +02:00
return [
'frontend' => [
'danielsiepmann/tracking/pageview' => [
'target' => Pageview::class,
'before' => [
'typo3/cms-frontend/content-length-headers',
],
'after' => [
'typo3/cms-frontend/shortcut-and-mountpoint-redirect',
],
],
'danielsiepmann/tracking/recordview' => [
'target' => Recordview::class,
'before' => [
'typo3/cms-frontend/content-length-headers',
],
'after' => [
'typo3/cms-frontend/shortcut-and-mountpoint-redirect',
],
],
],
];