Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all 5853 articles
Browse latest View live

WARNING: Common.php(323)

$
0
0

Hi guys, I’ve been getting this message for about 3 days now when I first open the dashboard. I could not find anything directly in the forum. However, this may be due to me. I would be pleased about short hints.

WARNING: [...]/matomo/core/Common.php(323): Notice - unserialize(): Error at offset 13653 of 13669 bytes - Matomo 4.2.1 - Please report this message in the Matomo forums [...] Module: API, Action: getEvolutionIcons, Method: Annotations.getAnnotationCountForDates, In CLI mode: false)

Thanks.

1 post - 1 participant

Read full topic


Tracking with Custom Variables get summarized/overwritten

$
0
0

Hello,

I’m trying to track page views using custom variables but I can’t get it right. For instance, if some user has logged in and opened Article A once + Article B twice, I assume to get “1” for Article A and “2” for Article B in a report.

But when I use page scope custom variables (cvar argument), it summarizes page views and returns “3” for each article.

[matomoSite]/matomo.php?cvar={"1":["article_id","A"]}&e_c=Content&e_a=Details&e_n=Article&idsite=6&rec=1&_id=af344a398df83894&uid=150&rand=123457
[matomoSite]/matomo.php?cvar={"1":["article_id","B"]}&e_c=Content&e_a=Details&e_n=Article&idsite=6&rec=1&_id=af344a398df83895&uid=150&rand=123458

When I use visit scope custom variables (_cvar argument), it overwrites previously recorded data and returns “0” for Articls A and “3” for Article B, which is incorrect, too.

[matomoSite]/matomo.php?_cvar={"1":["article_id","A"]}&e_c=Content&e_a=Details&e_n=Article&idsite=6&rec=1&_id=af344a398df83896&uid=150&rand=123459
[matomoSite]/matomo.php?_cvar={"1":["article_id","B"]}&e_c=Content&e_a=Details&e_n=Article&idsite=6&rec=1&_id=af344a398df83897&uid=150&rand=123460

I don’t need any grouping by session or user, just an ordinary page views count. (I have to mention that there’re 2 possible kinds of a page view - “Dashboard” and “Details”, that’s why I pass event tracking info - e_c, e_a). I can provide any additional info, steps, record the screen reproducing the issue, etc.

Please help and thanks in advance,
Alby.

1 post - 1 participant

Read full topic

MySQL Crash on Archive

$
0
0

We’ve recently upgraded to 4.2.1 from 4.1.0.

Since then, we’ve been seeing our MySQL Galera cluster die regularly and we’ve finally been able to pin point this to Matomo as the cause from the archive task.

/usr/bin/php /var/www/m/console core:archive --url=https://x.x.x.x/

If we run manually, it also causes this.

The last query that errored was:

Mar 22 11:05:04 db02 mariadbd[7332]: Query (0x7fd79c01c3b0): UPDATE matomo_archive_numeric_2020_12 SET value = 4 WHERE name LIKE 'done%'
Mar 22 11:05:04 db02 mariadbd[7332]:                    AND idsite IN (1, 2, 3, 4, 5, 6, 8, 10, 11, 13, 16, 22, 25, 31, 34, 46, 49, 70)
Mar 22 11:05:04 db02 mariadbd[7332]:                    AND ((period = 5 AND ((date1 <= '2020-12-01' AND '2020-12-01' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-01' AND '2020-12-31' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-02' AND '2020-12-02' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-03' AND '2020-12-03' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-04' AND '2020-12-04' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-05' AND '2020-12-05' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-06' AND '2020-12-06' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-07' AND '2020-12-07' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-07' AND '2020-12-13' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-08' AND '2020-12-08' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-09' AND '2020-12-09' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-10' AND '2020-12-10' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-11' AND '2020-12-11' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-12' AND '2020-12-12' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-13' AND '2020-12-13' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-14' AND '2020-12-14' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-14' AND '2020-12-20' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-15' AND '2020-12-15' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-16' AND '2020-12-16' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-17' AND '2020-12-17' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-18' AND '2020-12-18' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-19' AND '2020-12-19' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-20' AND '2020-12-20' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-21' AND '2020-12-21' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-21' AND '2020-12-27' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-22' AND '2020-12-22' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-23' AND '2020-12-23' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-24' AND '2020-12-24' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-25' AND '2020-12-25' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-26' AND '2020-12-26' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-27' AND '2020-12-27' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-28' AND '2020-12-28' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-28' AND '2021-01-03' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-29' AND '2020-12-29' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-30' AND '2020-12-30' <= date2))) OR (period = 5 AND ((date1 <= '2020-12-31' AND '2020-12-31' <= date2))))
Mar 22 11:05:04 db02 mariadbd[7332]: Connection ID (thread ID): 1794

We’ve also ruled out a single node as the issue, when db02 was down. We ran again and then it took db01 down.

This has been running well for over a year now but to the hour when the upgrade was done, this has been happening. The only solution we’ve had is to stop the archive task but longer term, a workable solution is needed.

1 post - 1 participant

Read full topic

Unable to track clicked URLs in Single page application

$
0
0

Hi,
I am using 3.x Matomo version for Single page application. I have added the tracking code into index.htm file along with the specific code to track SPA.
But it just shows the /index whenever any url is hit.
Any lead would be appreciated.

1 post - 1 participant

Read full topic

Campaign URL not working for newsletter email

$
0
0

I have used the campaign url builder to make campaign tracking links in a newsletter that will be delivered by email. When I test the links nothing shows up in the dashboard. I’ve read all the documentation for campaign tracking and I cant tell what I’m missing. This is the link that the builder created and it doesn’t work. Is there a parameter that I may be missing?

www.google.com/?pk_campaign=monday_mitre_email&pk_source=newsletter&pk_medium=email&pk_content=job_openings

or should the link be like this similar to how the image beacon is setup?

www.google.com/?idsite=11&rec=1&bots=1&url=https%3A%2F%2F@@env@@.mitre.org%2Fnewscenter%&pk_campaign=monday_mitre_email&pk_medium=email&pk_content=job_openings

Thank you for the assist.

1 post - 1 participant

Read full topic

Bug query called over and over is maxing our our db resource

$
0
0

Hi There,

we are suffering from a large issue on Matomo 4.2.1 at the moment. The following query is getting called continually over and over;

SELECT visit_last_action_time , visit_first_action_time , idvisitor , idvisit , user_id , visit_exit_idaction_url , visit_exit_idaction_name , visitor_returning , visitor_seconds_since_first , visitor_seconds_since_order , visitor_count_visits , visit_goal_buyer , location_country , location_region , location_city , location_latitude , location_longitude , referer_name , referer_keyword , referer_type , idsite , profilable , visit_entry_idaction_url

as you can see, no where clause so it essentially pulls back the whole table continually. Its hundreds of thousands of rows so its massive thing to have on repeat. We re trying to cache this query on a proxy in front of the db but in the meantime;

a) is this a bug?
b) does anyone know what is calling this query?

We are trying to build something to cache this query but its really tripping us up.

SOS!

1 post - 1 participant

Read full topic

Tracking error and Matomo blocked

$
0
0

Hi,

Configuration: Joomla 3.9.25 website, PHP 7.3.27, shared server, Matomo 4.1.1

I have been using Piwik / Matomo on my Joomla site for several years.
On 02/20/2021 I updated from Piwik 3.0.3 to Matomo 4.1.1
I enabled Matomo’s TwoFactorAuth setting on 03/16/2021 but had a problem (See the 03/17/2021 topic “Problem with the Two-Factor Authentication setting”).
After getting help disabling this TwoFactorAuth setting on 3/18/2021, I have two issues:

1 - A tracking error:

Problem: The request was not authenticated but an authentication request was presented.
Solution: Define or correct the “token_auth” in your follow-up requests
Date: Mar.16, 2021, 5:56 p.m.
Page URL: A URL of my site
Tracking URL: idsite = 1 & rec = 1 & apiv = 1 & r = 696963 & cip = 157.55.39.73 & _id = 002bb1eb4b5cb747 & token_auth = __ TOKEN_AUTH __ & _ idts …

I created a new authentication token and then removed this error. But a few moments later I saw a new tracking error with the same suggested solution.

What should be done ?

2 - Matomo has not recorded anything at all since 03/16/2021.

No tracking, no statistics!

How to solve these two problems?
Thanks for your help.

1 post - 1 participant

Read full topic

On-Premise - Creating Custom report without investing in commercial plugins, etc

$
0
0

We have an On-Premise Setup of Matomo - We have a requirement that EVREY registered Website on Matomo Dashboard displays graph with Pageviews by hour, total pageviews, and then top pages of the day and their pageviews at the bottom
Is it possible to create a Report that splits the Total Page Views by the hour for the last 24 hours ?

My queries around the same :

  1. Is it possible by creating a Custom Plugin / Widget versus purchasing one ?
  2. If # 1 is not possible - is it possible to achieve the same using Custom reports Commercial Plugin ?
  3. I need a way where I do not want to invest in a Custom Reports plugin just to have a COUPLE of reports ? Can you suggest me a workaround of how can the above mentioned REPORTS be achieved with a GRAPH using custom implementation

7 posts - 2 participants

Read full topic


Can we demand data from API grouped by HOUR for the last n-days?

$
0
0

I am developing a custom plugin - so my query is a graph with Pageviews by hour, total pageviews, and then top pages of the day and their pageviews at the bottom.

Can I request data for the LAST N-Days grouped by hour -
Basically If total Page Views are 10 thousand - then I want to see page views SPLIT by the hour in last N hours against the TOTAL Page Views.

Eg :

500 in 1st hour OR @ 1am 2000 at 5th hour or 4 pm etc. And all of it sums to Total Page view i.e. 10 thousand

1 post - 1 participant

Read full topic

Events being tracked as a new visit with a common generic user

$
0
0

Hi Matomo team,

We have an application suite based on the “single-spa” framework wherein we’ve been trying to implement event tracking using the Tag Manager approach.
I have a simple button that shows an alert on click with id=“btn-1”. All the tags, trigger, and sample configurations have been set up as given in the official docs. Also have the default Matomo tracking code added
However, on clicking the button events are tracked as part of some generic user, while all other actions are tracked properly with the correct logged in user with user id.

The JS tracking code as well as Tag Manager snippet both are added in the application.

Can anyone please help?

1 post - 1 participant

Read full topic

Cron Jobs and GoDaddy

$
0
0

I use GoDaddy Wordpress hosting, for my sins. GoDaddy purposely breaks the cron job on Wordpress sites because apparently it is good for them, but this means Matomo analytics doesn’t work on my site.

With Wordpress managed hosting I have no access to a cpanel and therefore cannot set up cron jobs from the backend to work around the inbuilt cron job in Wordpress. I have tried several plugins that are supposed to fix missed cron jobs and so on. None of them work.

I think the solution is abandon GoDaddy like the plague ship it is, but if anybody has a workaround for a mildly techie person (for some of you that means I’m a caveman) that works with the GoDaddy managed wordpress I would love to hear it.

1 post - 1 participant

Read full topic

SQLSTATE[22003]: Numeric value out of range: 1264

$
0
0

After Upgrading I am getting SQL Errors in my PHP logs:
Error query: SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column ‘time_server’ at row 1 In query: INSERT INTO matomo_log_link_visit_action (idvisit, idsite, idvisitor, idaction_url, idaction_url_ref, idaction_name_ref, server_time, idpageview, pageview_position, time_spent_ref_action, time_server, idaction_name) VALUES

I noticed it is similar to 306 just a different Column. My error happens while importing the log files. This causes the log file to not import all the way so I have incomplete data.

2 posts - 2 participants

Read full topic

Custom Report - Data in Vertical Bar graph not matching the Table report

$
0
0

I have an Matomo - On Premise setup and I have installed Custom report TRIAL Version to evaluate if it suffices our requirements.

I was able to create a TABLE Report for “Pageviews by hour for a given day” Screenshot for reference : https://www.screencast.com/t/WILnaWJb

However, there are 3 issues :

  1. When I go to the the “Vertical Bar Graph” option using the Change Visualization option below the tabular report - it randomly picks some hours of the day and shows data - I was assuming it will show me a Bar diagram with 24 bars (1 for each hour)

  2. The hours in X-axis are in random order.

  3. Why can I not see ALL the Visualization options mentioned in the documentation like Sparkline - All I see now is Vertiacl Bar Diagram and PieChart

Check the screenshot for #1 and #2 for your reference : https://www.screencast.com/t/M4NiokT3DfS

Am I missing on something ?

1 post - 1 participant

Read full topic

Widgetize Reports Bug

$
0
0

Experiencing a glitchy bug when scrolling through widgetize Reports options,
unable to click on many of them
screenshotofbug

2 posts - 2 participants

Read full topic

Matomo Monatsreport per Mail

$
0
0

Wenn ich den Monatsreport als Mail einrichten und das Dokument öffne obwohl es auf monatlicher Basis sein sollte, ist dies auf täglicher Basis und es werden die Werte des heutigen Datums gezogen. Ich brauche jedoch alle Werte eines Monats.

9 posts - 2 participants

Read full topic


ISP name missing (unknown) / oddness with other stats after upgrade

$
0
0

Since upgrading to the then latest version on 27th December, we’ve noticed that all visitors now show no ISP name.

On the same day, we can see that the “Visits Over Time” also dropped off to zero.

However, “Evolution of page performance metrics” under the performance option started recording data on the same day.

I’ve checked out https://matomo.org/faq/general/faq_52/ but our PHP configuration didn’t change on this date, only the upgrade of the software (Matomo).

We have Maxmind GeoIP enabled and as far as we can see, it is pickup up location and when we do the ISP check in the GeoIP admin area, it has this set correctly.

All sites within the Matomo installation all see the loss of ISP name on the same date as well as the other stats (loss of VoT and gain of Performance data).

Would be nice to get the ISP name back if any one has any ideas and also to clarify if the VoT is a stat no longer populated due to the gain of performance data.

1 post - 1 participant

Read full topic

Page views are not being logged by Matomo - how do I debug the tracking code?

$
0
0

I have a static website written in Jekyll that I am maintaining at three locations:

  • My development environment. For live updating, I have a jekyll live server that serves the pages on the loopback interface 127.0.0.1.
  • My test environment. This is an LXD container also running on my local machine on an internal bridged interface.
  • My production environment. This essentially a clone of the test LXD container, running outside on a VPS. My Matomo instance is running in this container.

The strange thing is that hits to the pages in the dev server on 127.0.0.1 and to the test server on the local container are all properly recorded by Matomo running in a container on the external VPS. But hits to the pages running in the container on the external VPS are not recorded.

I do not understand why this would be the case, since in all three cases the communication with Matomo is initiated by my device which is external to the VPS.

How do I troubleshoot this?

Thanks

Stephen

4 posts - 2 participants

Read full topic

Moved Server Now Sites Have View Access Error

$
0
0

I moved servers, same domain name, migrated data - all worked 100%

But now client sites with WordPress plugin WP-Matomo 1.0.23 have in source code:
"<!-- {"result":"error","message":"You can't access this resource as it requires 'view' access for the website id = 21."} -->"

So i changed auth token and applied to site but WP plugin says can’t connect -

Weird thing is though that Matomo Server is still collecting data.

Matomo version: 4.3.0-b2
MySQL version: 10.4.18-MariaDB-1:10.4.18+maria~focal-log
PHP version: 7.4.16 

How to troubleshoot further?

2 posts - 2 participants

Read full topic

Reporting API not giving me valid data

$
0
0

HI All,

I have a site registered in Matomo for which I have imported data from GoogleAnalyticsImporter

The issues are as follows:

  1. We display Total Views for a given post for which we invoke the Actions.getPageUrl Matomo API

When I specify a specific date eg : 2021-03-29 - I get 3 nb_hits but if I add a date range from 2019-11-12 to 2021-03-30 I get zero - API should have atleast returned 3 as the above mentioned date is well within the date range.

  1. How can I query the database (which tables) to find PageViews corresponding to a Page? Can you share the specific table names where the exact mapping of Page and PageViews happen ?

1 post - 1 participant

Read full topic

Acquisition overview, multiple bugs

$
0
0

I’ve been working around this bug for a while, hoping it was introduced in a recent minor version, but evidently it’s been around for a while.

In the acquisition overview page, selecting various ‘records to plot’ almost invariably leads to funkiness:

  • graph values flatline to zero
  • it becomes difficult to select/deselect ‘records to plot’ items
  • the ‘records to plot’ list disappears completely
  • sometimes the records labels above the graph have url-encoded spaces ('Direct%20Entry)

Based on the url encoding, my first thought was that it’s some sort of filtering/escaping bug. But I can’t seem to work out any patterns.

Sometimes a force-refresh fixes everything, but it’s extremely difficult to get the report I need without a lot of effort.

2 posts - 1 participant

Read full topic

Viewing all 5853 articles
Browse latest View live