# metricool/2.0.2/config/user_settings.php

Metricool – Social media and site statistics, version 2.0.2. 65 lines.

- Page: https://pluginprobe.com/plugins/metricool/2.0.2/code/config/user_settings.php
- Raw: https://pluginprobe.com/plugins/metricool/2.0.2/raw/config/user_settings.php
- Modified: 2026-06-11T08:45:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/metricool/2.0.2/code/config/user_settings.php#L10-L20`.

```php
<?php

return [
    'fields' => [
        'blogId' => [
            'storage' => 'default',
        ],
        'name' => [
            'section' => 'personal',
            'storage' => 'metricool',
            'validators' => ['required'],
        ],
        'lastName' => [
            'section' => 'personal',
            'storage' => 'metricool',
        ],
        'language' => [
            'section' => 'preferences',
            'storage' => 'metricool',
            'validators' => ['supportedLanguage'],
        ],
        'timezone' => [
            'section' => 'preferences',
            'storage' => 'metricool',
            'validators' => ['timezone'],
        ],
        'firstDayOfTheWeek' => [
            'section' => 'preferences',
            'storage' => 'metricool',
            'validators' => ['firstDayOfWeek'],
        ],
        'sendToAlternativeEmail' => [
            'section' => 'account',
            'validators' => ['required'],
            'type' => 'boolean',
            'storage' => 'metricool',
        ],
        'alternativeEmail' => [
            'section' => 'account',
            'validators' => ['requiredIf:sendToAlternativeEmail,true', 'email'],
            'storage' => 'metricool',
        ],
        'trackingScriptActive' => [
            'section' => 'tracking',
            'type' => 'boolean',
            'defaultValue' => false,
        ],
        'trackingScriptHash' => [
            'section' => 'tracking',
        ]
    ],
    'storages' => [
        'default' => [
            'class' => 'OptionsStorage',
            'prefix' => 'metricool_',
            'casing' => 'snakeCase',
        ],
        'metricool' => [
            'class' => 'RemoteStorage',
            'method' => 'patch',
            'casing' => 'camelCase',
        ],
    ],
];

```
