WP-Matomo Integration Support for WordPress v6
-
Hi!
With the release of WordPress version 6 several months ago, I was wondering if there were any plans to support WordPress v6 in the WordPress-Matomo Integration plugin?Currently, our WP-Matomo Integration plugin is not working since we upgraded our WordPress site to version 6.
Thank you!
-
Hi !
Also answering on that thread, since new wp version the plugin isnt working anymore
Error 500 while connecting to self hosted server.
It works on older WP versions and connexion with matomo works also with js script (without user_id)Here are some data.
Best regards
WP-Matomo 1.0.27 Mode: http Test 1/3: global.getPiwikVersion bool(false) array(2) { [0]=> string(413) "HTTP/2 500 date: Thu, 22 Sep 2022 08:58:55 GMT content-type: text/html; charset=utf-8 set-cookie: INGRESSCOOKIE=1663837136.281.4846.354199|e3940a1ab93714d354ffb7f20d5be477; Path=/; Secure; HttpOnly x-matomo-request-id: 7e700 cache-control: private, no-cache, no-store strict-transport-security: max-age=15724800; includeSubDomains access-control-allow-origin: * access-control-allow-credentials: true " [1]=> string(145) "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx module=API&method=API.getBulkRequest&format=json&urls[0]=method%3DAPI.getPiwikVersion%26idSite%3D&token_auth=..." } Test 2/3: SitesManager.getSitesWithAtLeastViewAccess bool(false) array(2) { [0]=> string(413) "HTTP/2 500 date: Thu, 22 Sep 2022 08:58:55 GMT content-type: text/html; charset=utf-8 set-cookie: INGRESSCOOKIE=1663837136.372.4846.152279|e3940a1ab93714d354ffb7f20d5be477; Path=/; Secure; HttpOnly x-matomo-request-id: 63f37 cache-control: private, no-cache, no-store strict-transport-security: max-age=15724800; includeSubDomains access-control-allow-origin: * access-control-allow-credentials: true " [1]=> string(217) "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx module=API&method=API.getBulkRequest&format=json&urls[0]=method%3DAPI.getPiwikVersion%26idSite%3D&urls[1]=method%3DSitesManager.getSitesWithAtLeastViewAccess%26idSite%3D&token_auth=..." } Test 3/3: SitesManager.getSitesIdFromSiteUrl bool(false) array(2) { [0]=> string(413) "HTTP/2 500 date: Thu, 22 Sep 2022 08:58:55 GMT content-type: text/html; charset=utf-8 set-cookie: INGRESSCOOKIE=1663837136.447.4842.217540|e3940a1ab93714d354ffb7f20d5be477; Path=/; Secure; HttpOnly x-matomo-request-id: 0deef cache-control: private, no-cache, no-store strict-transport-security: max-age=15724800; includeSubDomains access-control-allow-origin: * access-control-allow-credentials: true " [1]=> string(323) "<del datetime="2022-09-22T09:00:04+00:00">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</del>?module=API&method=API.getBulkRequest&format=json&urls[0]=method%3DAPI.getPiwikVersion%26idSite%3D&urls[1]=method%3DSitesManager.getSitesWithAtLeastViewAccess%26idSite%3D&urls[2]=method%3DSitesManager.getSitesIdFromSiteUrl%26idSite%3D%26url%3Dhttps%3A%2F%2Ffr.soda-armatis.com&token_auth=..." } array(2) { ["global_settings"]=> array(68) { ["revision"]=> string(10) "2022020701" ["last_settings_update"]=> int(1663670431) ["piwik_mode"]=> string(4) "http" ["piwik_url"]=> string(32) "https:/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ["piwik_path"]=> string(0) "" ["piwik_user"]=> string(0) "" ["matomo_user"]=> string(0) "" ["piwik_token"]=> string(3) "set" ["auto_site_config"]=> string(1) "0" ["default_date"]=> string(5) "today" ["stats_seo"]=> string(1) "0" ["stats_ecommerce"]=> string(1) "0" ["dashboard_widget"]=> string(8) "disabled" ["dashboard_ecommerce"]=> string(1) "0" ["dashboard_chart"]=> string(1) "0" ["dashboard_seo"]=> string(1) "0" ["toolbar"]=> string(1) "0" ["capability_read_stats"]=> array(427) { ["administrator"]=> string(1) "1" ["editor"]=> string(1) "0" ["author"]=> string(1) "0" ["contributor"]=> string(1) "0" ["subscriber"]=> string(1) "0" } ["perpost_stats"]=> string(8) "disabled" ["plugin_display_name"]=> string(9) "WP-Matomo" ["piwik_shortcut"]=> string(1) "0" ["shortcodes"]=> string(1) "0" ["track_mode"]=> string(7) "default" ["track_codeposition"]=> string(6) "footer" ["track_noscript"]=> string(1) "0" ["track_nojavascript"]=> string(1) "0" ["proxy_url"]=> string(26) "/xxxxxxxxxxxxxxxxxxxxxxxxxxxx/" ["track_content"]=> string(3) "all" ["track_search"]=> string(1) "1" ["track_404"]=> string(1) "1" ["add_post_annotations"]=> array(1) { ["post"]=> string(1) "1" } ["add_customvars_box"]=> string(1) "0" ["add_download_extensions"]=> string(0) "" ["set_download_extensions"]=> string(0) "" ["set_link_classes"]=> string(0) "" ["set_download_classes"]=> string(0) "" ["disable_cookies"]=> string(1) "0" ["limit_cookies"]=> string(1) "0" ["limit_cookies_visitor"]=> string(8) "34186669" ["limit_cookies_session"]=> string(4) "1800" ["limit_cookies_referral"]=> string(8) "15778463" ["track_admin"]=> string(1) "0" ["capability_stealth"]=> array(0) { } ["track_across"]=> string(1) "0" ["track_across_alias"]=> string(1) "0" ["track_crossdomain_linking"]=> string(1) "0" ["track_feed"]=> string(1) "0" ["track_feed_addcampaign"]=> string(1) "0" ["track_feed_campaign"]=> string(4) "feed" ["track_heartbeat"]=> string(1) "0" ["track_user_id"]=> string(8) "username" ["cache"]=> string(1) "1" ["http_connection"]=> string(4) "curl" ["http_method"]=> string(4) "post" ["disable_timelimit"]=> string(1) "0" ["filter_limit"]=> string(0) "" ["connection_timeout"]=> string(1) "5" ["disable_ssl_verify"]=> string(1) "0" ["disable_ssl_verify_host"]=> string(1) "0" ["piwik_useragent"]=> string(3) "php" ["piwik_useragent_string"]=> string(8) "WP-Piwik" ["dnsprefetch"]=> string(1) "0" ["track_datacfasync"]=> string(1) "0" ["track_cdnurl"]=> string(0) "" ["track_cdnurlssl"]=> string(0) "" ["force_protocol"]=> string(8) "disabled" ["remove_type_attribute"]=> string(1) "0" ["update_notice"]=> string(7) "enabled" } ["settings"]=> array(6) { ["name"]=> string(0) "" ["site_id"]=> string(0) "" ["noscript_code"]=> string(0) "" ["tracking_code"]=> string(0) "" ["last_tracking_code_update"]=> int(0) ["dashboard_revision"]=> int(0) } }
same question
Any official information about this issue ?
Did a fresh install of an On-Premise instance + WP-Matomo and stil no luck, the WP plugin can’t connect.
Doing a cURL POST request on SitesManager.getImageTrackingCode do respond correctly.
The official extension is now broken.After some testing, the only method in error from tests reported by @banzine is
global.getPiwikVersion
giving reponse{ "result": "error", "message": "The plugin global is not enabled. You can activate the plugin on Settings > Plugins page in Matomo." }
- The topic ‘WP-Matomo Integration Support for WordPress v6’ is closed to new replies.