Hi
I recently created a new Matomo Server and now connected my sites to it.
Every site except one works fine – I tried different things and also wanted to remove the plugin but just getting an error that an active plugin can’t be removed but it is deactivated
So I went in the plugin settings and reseted it and reloaded my site and I still see an error with the developer tools from my browser:
matomo.js:36
POST https://myurl/matomo.php?action_name=ICT%20-%20I%20See%20T&idsite=1&rec=1&r=746114&h=13&m=4&s=28&url=https%3A%2F%2Fiseet.fans%2Fcategory%2Fict%2F&urlref=https%3A%2F%2Fiseet.fans%2F&_id=b697dafa45676778&_idn=0&send_image=0&_refts=1732102605&_ref=https%3A%2F%2Fparcum.fans%2F&pv_id=uDHfq7&nwefftype=4g&pf_net=0&pf_srv=1327&pf_tfr=139&pf_dm1=654&uadata=%7B%22fullVersionList%22%3A%5B%7B%22brand%22%3A%22Chromium%22%2C%22version%22%3A%22130.0.6723.117%22%7D%2C%7B%22brand%22%3A%22Microsoft%20Edge%22%2C%22version%22%3A%22130.0.2849.80%22%7D%2C%7B%22brand%22%3A%22Not%3FA_Brand%22%2C%22version%22%3A%2299.0.0.0%22%7D%5D%2C%22mobile%22%3Afalse%2C%22model%22%3A%22%22%2C%22platform%22%3A%22Windows%22%2C%22platformVersion%22%3A%2210.0.0%22%7D&pdf=1&qt=0&realp=0&wma=0&fla=0&java=0&ag=0&cookie=1&res=1920x1080 400 (Bad Request)
So even a non configured plugin throws that error?
I even restarted my server but still the same error. In the time I had a caching plugin but this one is deactivated since several weeks – so it can interfere with my installation
Maybe you have an idea?
]]>Hi,
I use Matomo with WPML, languages in different domains. I found no way to have a specific set-up by language. How can I track my two different domains ?
In the WordPress dashboard of Matomo connect I can see the visitor statistics with the number of visitors, country and cities. The names of the cities and countries are sometimes displayed incorrectly:
Vereinigtes K& ouml;nigreich instead of Vereinigtes K?nigreich.
& ouml; is the HTML name for ?. But why isn’t that displayed?
Screenshot: https://www.baltrag.com/screenshot.png
I use the database from https://download.maxmind.com and my website is in English and German.
Of course “& ouml;” is written without space. I have to write it differently here so that the browser doesn’t change it to an ?. ??
]]>The Connect matomo add-on generates two page errors.
Is there a way for me as a user of the add-on to fix this or is the problem in the code of the add-on?
]]>I have Matomo for WordPress and the dashboard is showing me that one day last month it recorded 150 hits compared to the daily average of 5 to 10. I have no clue what happened. The page URLs show the top ten for that day were normal, just 3 hits on one page then 1 hit for the other 9. The “Plugins” table shows 147 hits for ‘cookies’, and I have no idea how that relates to the real page requests. Possibly it means nothing since all pages have cookies? Is there any way to get the complete list of page URLs that were hit? Presumably because of the URLs table output, all hits were for different URLs? My site map says there are only 82 though, not 147.
]]>I’m trying to connect a new website and I get a connect error. All other 10 sites are connected this new one doesn’t
WP-Matomo 1.0.30 was not able to get sites with at least view access:
Debugging shows:
The test script shows: De klasse Piwik\FrontController bestaat niet
]]>Is there a way to filter the list “User ID Tracking” to be able to add a custom field?
]]>When activating the wordpress WP-Piwik plugin, this plugin creates a critical error that blocks everything on the site, including admin pages. After activating, I get the following error in my WP Plugins page:
There has been a critical error on this website. Please check your site admin email inbox for instructions.
I have enabled WordPress logging, and get the following error messages in my wp debug.log:
[13-May-2024 16:45:04 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WP_Piwik\Request\curl_exec() in /var/www/oddcake.net/wp-content/plugins/wp-piwik/classes/WP_Piwik/Request/Rest.php:50
Stack trace:
#0 /var/www/oddcake.net/wp-content/plugins/wp-piwik/classes/WP_Piwik/Request/Rest.php(24): WP_Piwik\Request\Rest->curl()
#1 /var/www/oddcake.net/wp-content/plugins/wp-piwik/classes/WP_Piwik/Request.php(63): WP_Piwik\Request\Rest->request()
#2 /var/www/oddcake.net/wp-content/plugins/wp-piwik/classes/WP_Piwik.php(1038): WP_Piwik\Request->perform()
#3 /var/www/oddcake.net/wp-content/plugins/wp-piwik/classes/WP_Piwik.php(494): WP_Piwik->request()
#4 /var/www/oddcake.net/wp-includes/class-wp-hook.php(324): WP_Piwik->extendWordPressToolbar()
#5 /var/www/oddcake.net/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /var/www/oddcake.net/wp-includes/plugin.php(565): WP_Hook->do_action()
#7 /var/www/oddcake.net/wp-includes/admin-bar.php(95): do_action_ref_array()
#8 /var/www/oddcake.net/wp-includes/class-wp-hook.php(324): wp_admin_bar_render()
#9 /var/www/oddcake.net/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#10 /var/www/oddcake.net/wp-includes/plugin.php(517): WP_Hook->do_action()
#11 /var/www/oddcake.net/wp-admin/admin-header.php(267): do_action()
#12 /var/www/oddcake.net/wp-admin/plugins.php(624): require_once('...')
#13 {main}
thrown in /var/www/oddcake.net/wp-content/plugins/wp-piwik/classes/WP_Piwik/Request/Rest.php on line 50
[13-May-2024 16:45:09 UTC] PHP Deprecated: Return type of PSP_Models_Abstract_Domain::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/oddcake.net/wp-content/plugins/premium-seo-pack/models/abstract/Domain.php on line 387
[13-May-2024 16:45:09 UTC] PHP Deprecated: Return type of PSP_Models_Abstract_Domain::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/oddcake.net/wp-content/plugins/premium-seo-pack/models/abstract/Domain.php on line 391
[13-May-2024 16:45:09 UTC] PHP Deprecated: Return type of PSP_Models_Abstract_Domain::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/oddcake.net/wp-content/plugins/premium-seo-pack/models/abstract/Domain.php on line 395
[13-May-2024 16:45:09 UTC] PHP Deprecated: Return type of PSP_Models_Abstract_Domain::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/oddcake.net/wp-content/plugins/premium-seo-pack/models/abstract/Domain.php on line 399
[13-May-2024 16:45:09 UTC] PHP Fatal error: Uncaught Error: Call to undefined function WP_Piwik\Request\curl_exec() in /var/www/oddcake.net/wp-content/plugins/wp-piwik/classes/WP_Piwik/Request/Rest.php:50
Stack trace:
#0 /var/www/oddcake.net/wp-content/plugins/wp-piwik/classes/WP_Piwik/Request/Rest.php(24): WP_Piwik\Request\Rest->curl()
#1 /var/www/oddcake.net/wp-content/plugins/wp-piwik/classes/WP_Piwik/Request.php(63): WP_Piwik\Request\Rest->request()
#2 /var/www/oddcake.net/wp-content/plugins/wp-piwik/classes/WP_Piwik.php(1038): WP_Piwik\Request->perform()
#3 /var/www/oddcake.net/wp-content/plugins/wp-piwik/classes/WP_Piwik.php(494): WP_Piwik->request()
#4 /var/www/oddcake.net/wp-includes/class-wp-hook.php(324): WP_Piwik->extendWordPressToolbar()
#5 /var/www/oddcake.net/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /var/www/oddcake.net/wp-includes/plugin.php(565): WP_Hook->do_action()
#7 /var/www/oddcake.net/wp-includes/admin-bar.php(95): do_action_ref_array()
#8 /var/www/oddcake.net/wp-includes/class-wp-hook.php(324): wp_admin_bar_render()
#9 /var/www/oddcake.net/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#10 /var/www/oddcake.net/wp-includes/plugin.php(517): WP_Hook->do_action()
#11 /var/www/oddcake.net/wp-admin/admin-header.php(267): do_action()
#12 /var/www/oddcake.net/wp-admin/plugins.php(624): require_once('...')
#13 {main}
thrown in /var/www/oddcake.net/wp-content/plugins/wp-piwik/classes/WP_Piwik/Request/Rest.php on line 50
Here is My Server Info:
OS Version: Ubuntu Server 22.04 for Raspberry Pi (aarch64)
WordPress Version: 6.5.3
Nginx Version: 1.25.5 Mainline
PHP Version: 8.1.2-1ubuntu2.17
Could someone please tell me how to fix this critical error, or else release an update to wp-piwik plugin so that this plugin doesn’t disable my entire site with critical errors?
Please keep me updated about this. Thank you!
]]>Hi there!
Our customer uses this plugin on many sites for matomo integration. Now there is an requirement from customer to upate settings via script to be compatible with consent management banner used on the side. Therefore we hoped its possible to set the option “Tracking or cookie consent:” via script either via WP Options or WP-CLI to “Require Cookie Consent”. This way auto deployed wordpress instances could be further automated by adding plugin configuration to the setup routine.
Please let us know if there is already an option provided by the plugin to set this value via script / wp-cli so the plugin could benefit from further automation options for advanced wordpress setups.
If you need further input / information please let me know.
Best
]]>I’m a little embarrassed, but I need help to remove Matomo from my site completely.
I set it up some time ago as a self-hosted solution (tracking via an external database on a subdomain).
Now I want to get rid of it again. First I deactivated the insertion of the tracking code in the plugin, then deactivated the Connect Matomo plugin and even uninstalled it completely. Deleted all caches on the site. But the tracking in the Matomo installation on my subdomain does not stop.
I have already checked whether I manually entered the code in the header.php of my child theme. But there is no tracking code to be found there.
Who can help me? Where else can I delete something? How can I get rid of the calls again?
]]>Hi, we use paid plugins Media and Custom Reporst. These plugins did not indicate there is a newer version to install. They stopped working after we updated Matomo to the latest version a couple of days befor the end of March.
Is there a way to avoid missing information about plugin updates? Other plugins are working fine in this regard.
Thanks,
Pavel.
If I select HTTP API and enter my url (https://matomo.domainname.com) it connects fine. I’m using the “use proxy script” option because I don’t want the login url listed in the code. This plugin seems to be the only way I have found to do it.
However, I cannot get the PHP API to connect and I don’t know why. The server path is /home/matomo/htdocs/matomo.domainname.com/
All the folders/files are in that directory. This plugin is in the usual place under my main domain.
I have tried every server path variation I can think of to no avail. Even created a separate auth token.
I can’t find any documentation about using that feature, so I’m not sure what file it’s looking for. Is there something I’m missing? The only backup I found so far is the Matomo Tracker Proxy I found over at Github.
]]>Hi,
I’m debugging a site which uses Connect Matomo to add a 3rd party provided Matomo-tracking to the site. I.e. the plugin is configured to use “Self-hosted (HTTP API, default)” Matomo mode, the 3rd party Matomo url is saved to the “Matomo URL” field and Auth token has also been saved in the corresponding input field.
The auto config works as expected and the tracking code is inserted in the site html source code. However, we’ve noticed that the site isn’t tracking heatmaps although they have been configured in the 3rd party Matomo dashboard.
Just as a sanity check, have I understood correctly that Connect Matomo only handles inserting the tracking code to the site and doesn’t care, if heatmap tracking is on or not? And it is up to the 3rd party Matomo installation to include the necessary code in the matomo.js file it provides, if the heatmap tracking is on, right? If the matomo.js isn’t writable in the 3rd party server / Matomo installation, then the tracker won’t include any heatmap related functions, correct?
Thanks!
]]>I’m not sure whether this is relevant for non-self hosted cases.
The following page explains that we can use “/js/” instead of “/piwik.js” for a minified version of the piwik js code:
https://github.com/lipis/piwik/blob/master/js/README.md
My question is whether it would be possible to set a custom URL to the js file so that we could use the minified version or not.
]]>Hello! We run a white label Matomo (self hosted) site and use this plugin to connect to it but Im wondering if search page tracking isn’t implemented wrong?
When visiting a search page I can see the following tracker code:
var _paq = window._paq = window._paq || [];
/* tracker methods like “setCustomDimension” should be called before “trackPageView” */
_paq.push([‘trackSiteSearch’,’keyword’, false, 1]);
_paq.push([‘trackPageView’]);
_paq.push([‘enableLinkTracking’]);
But according to the integration guide here: https://developer.matomo.org/guides/tracking-javascript-guide
Matomo says:
“We recommend not to call trackPageView() on the Site Search Result page”
Is this a bug or a feature somehow? I have not yet been able to investigate fully if this will cause double stats somehow with page searches?
Thanks in advance!
]]>Hello,
I have a running on-premise Matomo instance, running 4.15.1, and a on-premise WordPress 6.4.1 – both are running on different VMs but they’re on the same premises. All running on PHP 8.1. The plugin does connect to my Matomo instance through the HTTP API (test is OK), I have checked the “show e-commerce data” checkbox, I do have visitors showing up on my Matomo instance, I’m using the default code snippet…
And I have no e-commerce data to show for it.
Now, the store is in French; is the plugin having trouble following orders because the pages aren’t labeled in English ?
I’ve been looking for quite a while, I seem to be the only person encountering this problem. Can you help ?
]]>The latest update appears to lose the setting “WP-Matomo display name” and revert to default “Connect Matomo”.
It can be overwritten and saved and then appears to be remembering the user choice.
]]>In “Select site” dropdown menu all sites I self-host will be displayed.
Possible just to show current site?
]]>Hi,
We have a self hosted up to date Matomo service.
We have a more than 100 sites on wprdpress with Matomo plugin
Everything was ok, till a lot of recently massive problem (tracker gone, ID gone).
Now, all sites have the same ID on the wordpress plugin (2) not in the site manager on my self hosted matomo
Default tracker does not work with the wordpress plugin.
Here the the code We use
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['setVisitorCookieTimeout', '33696000']);
_paq.push(['setSessionCookieTimeout', '1800']);
_paq.push(['setReferralCookieTimeout', '15778463']);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://url.domain.extension/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '{MATOMO_IDSITE}']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
Here are the tests
`WP-Matomo 1.0.30
Mode: http
Test 1/3: global.getPiwikVersion
array(1) {
["value"]=>
string(6) "4.15.1"
}
array(2) {
[0]=>
string(207) "HTTP/1.1 200 OK
Date: Tue, 24 Oct 2023 14:41:41 GMT
Server: Apache
X-Matomo-Request-Id: 430c8
Cache-Control: must-revalidate
Transfer-Encoding: chunked
Content-Type: application/json; charset=utf-8
"
[1]=>
string(135) "https://surl.ok/?module=API&method=API.getBulkRequest&format=json&urls[0]=method%3DAPI.getPiwikVersion%26idSite%3D2&token_auth=..."
}
</code></pre>
<pre class="wp-block-code"><code>Test 2/3: SitesManager.getSitesWithAtLeastViewAccess
array(100) {
[0]=>
array(21) {
["idsite"]=>
int(2)
["name"]=>
string(14) "url00"
["main_url"]=>
string(20) "https://url00.ok"
["ts_created"]=>
string(19) "2020-06-19 09:04:02"
["ecommerce"]=>
int(0)
["sitesearch"]=>
int(1)
["sitesearch_keyword_parameters"]=>
string(0) ""
["sitesearch_category_parameters"]=>
string(0) ""
["timezone"]=>
string(12) "Europe/Paris"
["currency"]=>
string(3) "EUR"
["exclude_unknown_urls"]=>
int(0)
["excluded_ips"]=>
string(0) ""
["excluded_parameters"]=>
string(0) ""
["excluded_user_agents"]=>
string(0) ""
["excluded_referrers"]=>
string(0) ""
["group"]=>
string(0) ""
["type"]=>
string(7) "website"
["keep_url_fragment"]=>
int(0)
["creator_login"]=>
string(10) "adminstats"
["timezone_name"]=>
string(6) "France"
["currency_name"]=>
string(4) "Euro"
}
[1]=>
array(21) {
["idsite"]=>
int(3)
["name"]=>
string(5) "url60"
["main_url"]=>
string(20) "https://url60.ok"
["ts_created"]=>
string(19) "2020-06-18 00:00:00"
["ecommerce"]=>
int(0)
["sitesearch"]=>
int(1)
["sitesearch_keyword_parameters"]=>
string(0) ""
["sitesearch_category_parameters"]=>
string(0) ""
["timezone"]=>
string(12) "Europe/Paris"
["currency"]=>
string(3) "EUR"
["exclude_unknown_urls"]=>
int(0)
["excluded_ips"]=>
string(0) ""
["excluded_parameters"]=>
string(0) ""
["excluded_user_agents"]=>
string(0) ""
["excluded_referrers"]=>
string(0) ""
["group"]=>
string(0) ""
["type"]=>
string(7) "website"
["keep_url_fragment"]=>
int(0)
["creator_login"]=>
string(10) "adminstats"
["timezone_name"]=>
string(6) "France"
["currency_name"]=>
string(4) "Euro"
}
.....
[99]=>
array(21) {
["idsite"]=>
int(101)
["name"]=>
string(7) "urltest"
["main_url"]=>
string(22) "https://urltest.ok"
["ts_created"]=>
string(19) "2020-11-30 00:00:00"
["ecommerce"]=>
int(0)
["sitesearch"]=>
int(1)
["sitesearch_keyword_parameters"]=>
string(0) ""
["sitesearch_category_parameters"]=>
string(0) ""
["timezone"]=>
string(12) "Europe/Paris"
["currency"]=>
string(3) "EUR"
["exclude_unknown_urls"]=>
int(0)
["excluded_ips"]=>
string(0) ""
["excluded_parameters"]=>
string(0) ""
["excluded_user_agents"]=>
string(0) ""
["excluded_referrers"]=>
string(0) ""
["group"]=>
string(0) ""
["type"]=>
string(7) "website"
["keep_url_fragment"]=>
int(0)
["creator_login"]=>
string(10) "adminstats"
["timezone_name"]=>
string(6) "France"
["currency_name"]=>
string(4) "Euro"
}
}
array(2) {
[0]=>
string(207) "HTTP/1.1 200 OK
Date: Tue, 24 Oct 2023 14:41:42 GMT
Server: Apache
X-Matomo-Request-Id: c61b6
Cache-Control: must-revalidate
Transfer-Encoding: chunked
Content-Type: application/json; charset=utf-8
"
[1]=>
string(158) "https://url.ok/?module=API&method=API.getBulkRequest&format=json&urls[0]=method%3DSitesManager.getSitesWithAtLeastViewAccess%26idSite%3D2&token_auth=..."
}
</code></pre>
<pre class="wp-block-code"><code>est 3/3: SitesManager.getSitesIdFromSiteUrl
array(1) {
[0]=>
array(1) {
["idsite"]=>
int(2)
}
}
array(2) {
[0]=>
string(207) "HTTP/1.1 200 OK
Date: Tue, 24 Oct 2023 14:41:42 GMT
Server: Apache
X-Matomo-Request-Id: 4d794
Cache-Control: must-revalidate
Transfer-Encoding: chunked
Content-Type: application/json; charset=utf-8
"
[1]=>
string(185) "https://url.ok/?module=API&method=API.getBulkRequest&format=json&urls[0]=method%3DSitesManager.getSitesIdFromSiteUrl%26idSite%3D2%26url%3Dhttps%3A%2F%2Furl00.ok&token_auth=..."
}
array(2) {
["global_settings"]=>
array(69) {
["revision"]=>
string(10) "2023092201"
["last_settings_update"]=>
string(10) "1698064982"
["piwik_mode"]=>
string(4) "http"
["piwik_url"]=>
string(21) "https://url.ok/"
["piwik_path"]=>
string(0) ""
["piwik_user"]=>
string(0) ""
["matomo_user"]=>
string(0) ""
["piwik_token"]=>
string(3) "set"
["auto_site_config"]=>
string(1) "1"
["default_date"]=>
string(13) "current_month"
["stats_seo"]=>
string(1) "0"
["stats_ecommerce"]=>
string(1) "0"
["dashboard_widget"]=>
string(6) "last90"
["dashboard_ecommerce"]=>
string(1) "0"
["dashboard_chart"]=>
string(1) "0"
["dashboard_seo"]=>
string(1) "0"
["toolbar"]=>
string(1) "0"
["capability_read_stats"]=>
array(5) {
["administrator"]=>
string(1) "1"
["author"]=>
string(1) "0"
["contributor"]=>
string(1) "0"
["editor"]=>
string(1) "0"
["subscriber"]=>
string(1) "0"
}
["perpost_stats"]=>
string(6) "last90"
["plugin_display_name"]=>
string(14) "Connect Matomo"
["piwik_shortcut"]=>
string(1) "0"
["shortcodes"]=>
string(1) "0"
["track_mode"]=>
string(8) "manually"
["track_codeposition"]=>
string(6) "footer"
["track_noscript"]=>
string(1) "0"
["track_nojavascript"]=>
string(1) "0"
["proxy_url"]=>
string(21) "https://url.ok"
["track_content"]=>
string(8) "disabled"
["track_search"]=>
string(1) "0"
["track_404"]=>
string(1) "0"
["add_post_annotations"]=>
array(0) {
}
["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) ""
["require_consent"]=>
string(8) "disabled"
["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(2) {
["administrator"]=>
string(1) "1"
["editor"]=>
string(1) "1"
}
["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) "disabled"
["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(1) "2"
["noscript_code"]=>
string(149) " <noscript><p><img src="https://url.ok/matomo.php?idsite=2&rec=1" style="border:0;" alt="" /></p></noscript> "
["tracking_code"]=>
string(796) "<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['setVisitorCookieTimeout', '33696000']);
_paq.push(['setSessionCookieTimeout', '1800']);
_paq.push(['setReferralCookieTimeout', '15778463']);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://url.ok/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '{MATOMO_IDSITE}']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
"
["last_tracking_code_update"]=>
string(1) "0"
["dashboard_revision"]=>
string(1) "0"
}
}
`
]]>
Hi
thanks for great job keeping this mandatory plugin updated
Will this plugin be affected by the upcoming matomo5 which has lots of breaking API changes?
could we upgrade our instance to matomo5 and will our websites analytics dashboards and integration will work as expected?
]]>Hi there,
i have switched my Server and all was copied correctly. But since then the Matomo Statistics did not work properly, i did not get any statistics shown on the Admin Dashboard and as soon i join my self hostet Matomo Version i have no LiveData as well, any idea what i can do?
]]>Hi @braekling,
I’m running Matomo on the same server as the website, hence used the option (self-hostes PHP API) to connect wp-matomo to the matomo instance. When I click “save” this critical error occurs.
In the WP error log provided these details:
#6 /home/wp/disk/wordpress/wp-content/plugins/wp-piwik/classes/W” while reading upstream, client: 62.216.206.50, server: 60plusconsulting.de, request: “POST /wp-admin/options-general.php?page=wp-piwik/classes/WP_Piwik.php HTTP/2.0”, upstream: “fastcgi://unix:/var/run/wordpress.php-fpm.sock:”, host: “60plusconsulting.de”, referrer: “https://60plusconsulting.de/wp-admin/options-general.php?page=wp-piwik%2Fclasses%2FWP_Piwik.php”#5 /home/wp/disk/wordpress/wp-content/plugins/wp-piwik/classes/WP_Piwik.php(1044): WP_Piwik\Request->perform()#4 /home/wp/disk/wordpress/wp-content/plugins/wp-piwik/classes/WP_Piwik/Request.php(63): WP_Piwik\Request\Php->request()#3 /home/wp/disk/wordpress/wp-content/plugins/wp-piwik/classes/WP_Piwik/Request/Php.php(18): WP_Piwik\Request\Php->call()#2 /home/wp/disk/wordpress/wp-content/plugins/wp-piwik/classes/WP_Piwik/Request/Php.php(46): Piwik\API\Request->process()#1 /home/wp/disk/wordpress/wp-content/plugins/matomo/app/core/API/Request.php(282): Piwik\API\ResponseBuilder->__construct()#0 /home/wp/disk/wordpress/wp-content/plugins/matomo/app/core/API/ResponseBuilder.php(43): Piwik\API\ApiRenderer::factory()Stack trace:2023/09/21 17:49:56 [error] 2946682#2946682: *704488 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Exception: Renderer format ‘console’ not valid. Try any of the following instead: . in /home/wp/disk/wordpress/wp-content/plugins/matomo/app/core/API/ApiRenderer.php:143
Please advise on how to fix the error.
Thanks,
Jan
System details:
This happen with WP-Matomo 1.0.29
When configuring matomo on my WordPress, the checkbox autoconfig is always checked. If I uncheck it to have the complete list of all Sites and click save button, the checkbox is checked again, and there is no list showing.
And the autoconfig doesn’t work anymore, it connect to the first Site it found (but it’s not the good one)
Thanks
]]>Hi,
I am currently migrating form Google Analytics to Matomo for a multisite WordPress instance which handle two websites.
I just achieve the Google Analytics migration and I know want to activate Matomo tracking on each website of my multisite. However it seems that the WP-Matomo connector plugin doesn’t connect the webistes with the right ID. Instead it creates two aditionnal sites on matomo side.
What has been done :
So I guess my quesiton is : how is it possible to connect the tracking on my website to existing Matomo sites ?
Is that achievable ?
Thanks
]]>Last update disable the connexion for a website to the Matomo dashboard. I see that the statistics works (in Matomo dashboard) but not displayed in the website. My previous settings worked just fine.
]]>This is a continuation of the topic posted by @manuelschoettle two years ago, which is now closed.
Is there any way to set Matomo to not set cookies without explicit user consent using this plugin? Specifically I want to add
_paq.push(['requireCookieConsent']);
to the Matomo tracking code, as documented by matomo, and then use custom javascript code to let Matomo know if and when my user gives consent to have cookies set. But there doesn’t seem to be any option to do that or to generally customize the tracking code used in the options for this plugin. I have version 1.0.28.
Hi, trying to delete the matomo pixel with siteid 2 using the wp-matomo plugin but it would not delete it at all!!
any idea how to achieve this?
thanks!
]]>Dear André
We found a small deprecated message which affects php version 8.2:
Creation of dynamic property WP_Piwik::$statsPageId is deprecated-wp-content/plugins/wp-piwik/classes/WP_Piwik.php:387WP_Piwik->buildAdminMenu()wp-includes/class-wp-hook.php:308do_action(‘admin_menu’)wp-admin/includes/menu.php:1551Plugin: wp-piwik
If you get a chance to fix this would be amazing.
Thanks
]]>hello, i use the same configuration on various multisite, and on the onlyone i’ve got e level more high of security with wordfence the autoconfig is block, i can’t automatically add my website (ulr + token).
i try without autoconfig but the list is limited to 100 websites entries (and i’ve got 200 websites on my matomo server)
do you know wich wordfence configuration can block this ?
]]>Hey, I wanna use the shortcode to show stats in an own Admin interface.
But the shortcodes appears only, but is not interpreted..
I tried:
[wp-piwik]
[wp-piwik module=”overview” title=”” period=”day” date=”yesterday”]
]]>