Unable to access Dashboard customization

Hi,

I don’t know if it’s a Wordpress Matomo plugin limitation but when I go to the Dashboard section, I don’t see the upper toolbar where I could normally select Dashboard customization (as I see in User guides).

Is this feature only available for On-Premise installations ?

Thanks in advance for your help

To bring some more information, I don’t have access to segments or time period selection too.

I’m the only user of my Wordpress site with Super Admin profile. I looked in the Matomo DB and in the table matomo_user, my user is correctly set to “superuser_access = 1”

When inspecting the DOM, I see that the “Top Control” section is present but hidden

image

Does anybody have any suggestion to help me with that problem ?

Thanks a lot in advance

Hi @benrecords

No this feature is also available in the plugin.
this toolbar is displayed when all parts of the interface are rendered. You may have one which is not displayed properly.
Do you have any console errors or network errors in your developer toolbar?
Can you share with us your system report available from the menu Matomo Analytics > Diagnostics ?
In your console, can you copy paste the result of this instruction?

$('.top_controls').find('.piwikTopControl:hidden')

Kind regards

Mat

Hi @Matthieu_Mary ,

Thanks for your help.

Indeed I have one error :

image

Here is my system report (french) :
# Matomo

  • Version de l’extension Matomo: 4.10.0
  • Config existe et est accessible en écriture.: Oui ("$abs_path/wp-content/uploads/matomo/config/config.ini.php" )
  • JS Tracker existe et est accessible en écriture.: Oui ("$abs_path/wp-content/uploads/matomo/matomo.js" )
  • Répertoires de l’extension: Yes ([{“pluginsPathAbsolute”:“F:\Wamp\www\bluminance\wp-content\plugins\matomo/plugins”,“web$DB_USERDirRelativeToMatomo”:"…/…/"},{“pluginsPathAbsolute”:“F:\Wamp\www\bluminance\wp-content\plugins”,“web$DB_USERDirRelativeToMatomo”:"…/…/"}])
  • Répertoire temporaire accessible en écriture: Yes ($abs_path/wp-content/cache/matomo)
  • Version de Matomo: 4.10.0
  • idSite du site web Matomo: 2
  • Version installée de Matomo: 4.10.0 (Install date: 2022-06-08 13:55:11)
  • Upgrades outstanding: No
  • Upgrade in progress: No

Endpoints

  • Matomo JavaScript Tracker URL: ($site_url/wp-content/uploads/matomo/matomo.js)
  • Matomo JavaScript Tracker - WP Rest API: ($site_url/wp-json/matomo/v1/hit/)
  • Matomo HTTP Tracking API: ($site_url/wp-content/plugins/matomo/app/matomo.php)
  • Matomo HTTP Tracking API - WP Rest API: ($site_url/wp-json/matomo/v1/hit/)

Crons

  • Heure du serveur: 2022-06-14 10:59:27
  • Heure du site web: 2022-06-14 12:59:27 (Les dates ci-dessous sont affichées dans le fuseau horaire du site web)
  • Sync users & sites: Next run: 2022-06-14 13:56:59 (57 min 32s) ( Last started: 2022-06-13 13:57:05 (-23 heures 2 min). Last ended: 2022-06-13 13:57:05 (-23 heures 2 min). Interval: daily)
  • Archive: Next run: 2022-06-14 13:55:30 (56 min 3s) ( Last started: 2022-06-14 12:56:01 (-3 min 26s). Last ended: 2022-06-14 12:56:47 (-2 min 40s). Interval: hourly)
  • Update GeoIP DB: Next run: 2022-07-08 13:56:53 (24 jours 0 heures) ( Last started: 2022-06-08 13:56:54 (-5 jours 23 heures). Last ended: 2022-06-08 13:57:09 (-5 jours 23 heures). Interval: matomo_monthly)

Contrôles obligatoires

  • Version PHP >= : ok
  • PDO Extension: ok
  • PDO\MYSQL Extension: ok
  • MYSQLI Extension: ok
  • Autres extensions requises: ok
  • Fonctions requises: ok
  • Configuration PHP requise (php.ini): ok
  • Répertoires avec les droits d’accès en écriture: ok
  • Répertoires avec accès en écriture pour Gestionnaire de balises: ok

Contrôles facultatifs

  • Binaire PHP 64 bits: ok
  • État du traqueur: ok
  • Limite mémoire: ok
  • Fuseau horaire: ok
  • Ouvrir l’URL: ok
  • PageSpeed est désactivé: ok
  • GD > 2.x + FreeType (graphics): ok
  • Autres extensions: ok
  • Autres fonctions: ok
  • Système de fichiers: ok
  • Dernière exécution d’archivage réussie: ok
  • Capacités de la base de données: ok
  • Taille maximale des paquets: ok
  • Géolocalisation: ok
  • Mettre à jour via HTTPS: ok
  • Supports Async Archiving: No
  • Location provider ID: geoip2php
  • Location provider available: Yes
  • Location provider working: Yes
  • Had visit in last 5 days: Yes
  • Matomo URL: Yes ($site_url/wp-content/plugins/matomo/app/)

Matomo Settings

  • Track mode: manually
  • Track codeposition: footer
  • Track api endpoint: default
  • Track js endpoint: default
  • Version history: 4.10.0
  • Core version: 4.10.0
  • Last tracking settings update: 1655154395
  • Last settings update: 1655154395
  • Track ecommerce: No
  • Track 404: Yes
  • Mail history: 2022-06-14 09:34:07, 2022-06-13 21:27:16, 2022-06-13 10:16:42
  • Show get started page: 0

Logs

  • Aucun:

WordPress

  • Home URL: $site_url
  • Site URL: $site_url
  • WordPress Version: 5.9.3
  • Number of blogs: 1
  • Multisite Enabled: No
  • Network Enabled: No
  • WP_DEBUG: Yes
  • WP_DEBUG_DISPLAY: Yes
  • WP_DEBUG_LOG: Yes
  • DISABLE_WP_CRON: -
  • FORCE_SSL_ADMIN: Yes
  • WP_CACHE: No
  • CONCATENATE_SCRIPTS: -
  • COMPRESS_SCRIPTS: -
  • COMPRESS_CSS: -
  • ENFORCE_GZIP: -
  • WP_LOCAL_DEV: -
  • WP_CONTENT_URL: $site_url/wp-content
  • WP_CONTENT_DIR: $abs_path/wp-content
  • UPLOADS: -
  • BLOGUPLOADDIR: -
  • DIEONDBERROR: -
  • WPLANG: -
  • ALTERNATE_WP_CRON: -
  • WP_CRON_LOCK_TIMEOUT: 60
  • WP_DISABLE_FATAL_ERROR_HANDLER: -
  • MATOMO_SUPPORT_ASYNC_ARCHIVING: -
  • MATOMO_TRIGGER_BROWSER_ARCHIVING: -
  • MATOMO_ENABLE_TAG_MANAGER: -
  • MATOMO_SUPPRESS_DB_ERRORS: -
  • MATOMO_ENABLE_AUTO_UPGRADE: -
  • MATOMO_DEBUG: -
  • MATOMO_SAFE_MODE: -
  • MATOMO_GLOBAL_UPLOAD_DIR: -
  • MATOMO_LOGIN_REDIRECT: -
  • Permalink Structure: /%category%/%postname%/
  • Possibly uses symlink: Yes
  • Upload base url: $site_url/wp-content/uploads
  • Upload base dir: $abs_path/wp-content/uploads
  • Upload url: $site_url/wp-content/uploads/2022/06
  • Custom upload_path:
  • Custom upload_url_path:
  • Compatible content directory: Yes

WordPress Plugins

  • Borlabs Cookie - Cookie Opt-in: 2.2.51
  • Bot Tracker (Matomo Plugin): 2.07
  • Contact Form 7: 5.5.6.1
  • Contact Form Entries: 1.2.8
  • Disable & Remove Google Fonts: 1.3.9
  • Divi Contact Form 7: 1.3.2
  • Divi Den Pro DM: 5.3.0
  • Email Encoder - Protect Email Addresses: 2.1.3
  • FluentCRM - Marketing Automation For WordPress: 2.5.91
  • Fluent Forms: 4.3.8
  • FluentSMTP: 2.1.1
  • GDPR Cookie Consent: 2.1.2
  • Gutenberg: 13.3.0
  • KPIWidgets (Matomo Plugin): 1.1.1
  • Limit Login Attempts Reloaded: 2.25.3
  • Log Viewer (Matomo Plugin): 4.1.0
  • Marketing Campaigns Reporting (Matomo Plugin): 4.1.1
  • Matomo Analytics - Ethical Stats. Powerful Insights.: 4.10.0
  • One User Avatar: 2.3.9
  • Patchstack Security: 2.1.19
  • Popups for Divi: 3.0.5
  • Presto Player: 1.9.10
  • Presto Player Pro: 1.1.8
  • Real Cookie Banner (Free): 2.18.1
  • Really Simple SSL: 5.3.2
  • Remove Google captcha in Divi: 1.0
  • Security Info (Matomo Plugin): 4.0.2
  • Show Me The Cookies: 1.0
  • Simple Divi Shortcode: 1.0
  • Simple Image Sizes: 3.2.1
  • Sucuri Security - Auditing, Malware Scanner and Hardening: 1.8.31
  • Userlike: 2.1
  • Wappointment: 2.5.0-beta6
  • WC Captcha: 1.3.1
  • WP 2FA - Two-factor authentication for WordPress: 2.2.1 (Network enabled)
  • WP Add Mime Types: 3.0.3
  • WP Crontrol: 1.12.1
  • WPS Hide Login: 1.9.6
  • Active Plugins: 29 (BotTracker KPIWidgets LogViewer MarketingCampaignsReporting SecurityInfo borlabs-cookie disable-remove-google-fonts email-encoder-bundle fluent-crm fluent-smtp fluentform limit-login-attempts-reloaded matomo one-user-avatar popups-for-divi presto-player-pro presto-player really-simple-ssl remove-google-captcha-in-divi simple-divi-shortcode simple-image-sizes sucuri-scanner userlike wappointment wc-captcha wp-2fa wp-add-mime-types wp-crontrol wps-hide-login)
  • Theme: Divi (Divi-child)

Server

  • Server Info: Apache/2.4.51 (Win64) OpenSSL/1.1.1l PHP/8.0.13
  • PHP OS: WINNT
  • PHP Version: 8.0.13
  • PHP SAPI: apache2handler
  • PHP Binary Name: httpd.exe
  • PHP Error Reporting: 4437 After bootstrap: 4437
  • PHP Found Binary: httpd.exe -q
  • Timezone: UTC
  • WP timezone: Europe/Paris
  • Locale: en_US
  • User Locale: fr_FR
  • Memory Limit: 256M (At least 128MB recommended. Depending on your traffic 256MB or more may be needed.)
  • WP Memory Limit: 40M
  • WP Max Memory Limit: 256M
  • Timezone version: 2021.3
  • Time: 1655204367
  • Max Execution Time: 120
  • Max Post Size: 8M
  • Max Upload Size: 8388608
  • Max Input Vars: 2500
  • Disabled PHP functions: No
  • zlib.output_compression is off: Yes
  • Curl Version: 7.76.1, OpenSSL/1.1.1l
  • Suhosin installed: No

Database

  • MySQL Version: 5.7.36
  • Mysqli Connect: Yes
  • Force MySQL over Mysqli: No
  • DB Prefix: **********
  • DB CHARSET: utf8
  • DB COLLATE:
  • SHOW ERRORS: Yes
  • SUPPRESS ERRORS: No
  • Uses Socket: No
  • Uses IPv6: No
  • Matomo tables found: 123
  • DB tables exist: Yes
  • Matomo users found: 1
  • Matomo sites found: 2
  • Permissions obligatoires: OK

Browser

  • Browser: (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36)
  • Language: fr-fr,fr,en-us,en

Finally, the result of the given requested instruction :

$('.top_controls').find('.piwikTopControl:hidden')

{
    "length": 0,
    "prevObject": {
        "0": {
            "sizzle1655204213403": {
                "undefined": {
                    "parentNode": [
                        31.797557361744794,
                        15,
                        false
                    ]
                }
            }
        },
        "length": 1,
        "prevObject": {
            "0": {
                "location": {
                    "ancestorOrigins": {},
                    "href": "https://bluminance/wp-content/plugins/matomo/app/index.php?module=CoreHome&action=index&idSite=2&period=range&date=last30#?period=range&date=last30&category=Dashboard_Dashboard&subcategory=1",
                    "origin": "https://bluminance",
                    "protocol": "https:",
                    "host": "bluminance",
                    "hostname": "bluminance",
                    "port": "",
                    "pathname": "/wp-content/plugins/matomo/app/index.php",
                    "search": "?module=CoreHome&action=index&idSite=2&period=range&date=last30",
                    "hash": "#?period=range&date=last30&category=Dashboard_Dashboard&subcategory=1"
                },
                "_cash1655204213411": {
                    "_cashEvents": {
                        "click": [
                            null
                        ],
                        "change": [
                            null,
                            null
                        ],
                        "reset": [
                            null
                        ],
                        "keyup": [
                            null,
                            null
                        ],
                        "keydown": [
                            null
                        ]
                    }
                },
                "jQuery360061013653876554511": {
                    "events": {
                        "mouseup": [
                            {
                                "type": "mouseup",
                                "origType": "mouseup",
                                "guid": 1,
                                "namespace": ""
                            }
                        ],
                        "keyup": [
                            {
                                "type": "keyup",
                                "origType": "keyup",
                                "data": null,
                                "guid": 4,
                                "namespace": ""
                            }
                        ],
                        "visibilitychange": [
                            {
                                "type": "visibilitychange",
                                "origType": "visibilitychange",
                                "guid": 7,
                                "namespace": ""
                            }
                        ],
                        "mousedown": [
                            {
                                "type": "mousedown",
                                "origType": "mousedown",
                                "guid": 10,
                                "namespace": ""
                            }
                        ]
                    },
                    "focusin": 6,
                    "focusout": 2
                },
                "sizzle1655204213403": {
                    "undefined": {
                        "parentNode": [
                            33,
                            16,
                            false
                        ]
                    }
                }
            },
            "length": 1
        }
    }
}

Hi @benrecords

Thank you.
Can you run the following code in your console and give me the output:

$('.top_controls').find('.piwikTopControl').each(function () {
            var $control = $(this);
            if ($control.css('display') == 'none') {
                console.log('not displayed');
		console.log($control);
            }

            var width = $control.outerWidth(true);

            var isControlFullyRendered = width >= 30;
            if (!isControlFullyRendered) {
               console.log('width');
		    console.log($control);
            }
});

Kind regards

Mat

Hi @Matthieu_Mary ,

A screenshot of the first elements :

Do you need more of it ? The complete JSON exceeds the characters limit for the post…

Hi @benrecords

I’m surprised not having a log event displayed which explain the origin of the problem.
Did you enable the log tab in your console ?

Kind regards

Mat

Here is a better result @Matthieu_Mary :

Hi @Matthieu_Mary ,

Any idea with the above results ?

Thanks in advance,

Regards

Hi @benrecords

I’m still investigating.

Kind regards

Mat

Hi @benrecords

does this happen in a custom page (tagmanager, tagmanager containers) or on all your pages?
Are you in a multisite context?

Kind regards

Mat

Hi @Matthieu_Mary ,

I’m not in a multisite context.

It happens on the Dashboard page as well as the other ones (I only see the research bar on the configuration page)

Hi @benrecords

Can you save the home page where the problem happens and email me the archive at wordpress@matomo.org?

Kind regards

Mat

Does anybody have any suggestion to help me with that problem ?

Hi @hazekumar0

Can you create another topic even if your problem looks like this first one?

Kind regards

Mat

ok sure…

thanks and regards. .