Config
4 months ago
Db
3 months ago
Handler
2 years ago
Visit
1 month ago
Action.php
3 months ago
ActionPageview.php
2 years ago
BotRequest.php
3 months ago
BotRequestProcessor.php
1 month ago
Cache.php
6 months ago
Db.php
1 year ago
Failures.php
6 months ago
FingerprintSalt.php
1 year ago
GoalManager.php
1 month ago
Handler.php
2 years ago
IgnoreCookie.php
1 year ago
LogTable.php
1 year ago
Model.php
6 months ago
PageUrl.php
2 weeks ago
Request.php
1 month ago
RequestHandlerTrait.php
4 months ago
RequestProcessor.php
1 month ago
RequestSet.php
6 months ago
Response.php
3 months ago
ScheduledTasksRunner.php
1 year ago
Settings.php
3 months ago
TableLogAction.php
6 months ago
TrackerCodeGenerator.php
1 year ago
TrackerConfig.php
1 month ago
Visit.php
3 months ago
VisitExcluded.php
3 months ago
VisitInterface.php
3 months ago
Visitor.php
1 month ago
VisitorNotFoundInDb.php
1 month ago
VisitorRecognizer.php
1 year ago
TrackerConfig.php
30 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Matomo - free/libre analytics platform |
| 5 | * |
| 6 | * @link https://matomo.org |
| 7 | * @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later |
| 8 | */ |
| 9 | namespace Piwik\Tracker; |
| 10 | |
| 11 | use Piwik\Config\SectionConfig; |
| 12 | use Piwik\Tracker\Config\ThirdPartyCookies; |
| 13 | class TrackerConfig extends SectionConfig |
| 14 | { |
| 15 | public static function getSectionName() : string |
| 16 | { |
| 17 | return 'Tracker'; |
| 18 | } |
| 19 | /** |
| 20 | * @return mixed|null |
| 21 | */ |
| 22 | protected static function getRawConfigValue(string $name, ?int $idSite = null) |
| 23 | { |
| 24 | if ($name === 'use_third_party_id_cookie') { |
| 25 | return ThirdPartyCookies::getInstance($idSite)->getValue(); |
| 26 | } |
| 27 | return parent::getRawConfigValue($name, $idSite); |
| 28 | } |
| 29 | } |
| 30 |