Data Whimsy
  • Home
  • What is Matomo
  • Contact
  • Custom Reports
  • Connect Matomo to other software
  • CLI API etc
  • Matomo Tag Manager Simple Guide
  • Lyn Only
  • Troubleshooting + Deploying Matomo
  • Weird Data
  • Why is data in Matomo giving different numbers than Google Analytics
  • The Dashboard
  • Moving the Data
  • Book Club Forum

Without the dashboard

The top slot of your browser can send requests to Tracking API & Reporting API
The command line of your browser can accept direct Matomo input (e.g. the PHP ./console command).
On this page are a variety of things you can do without ever touching the visual dashboard (Matomo GUI)

Examples of console core:archive in Matomo

2/16/2024

0 Comments

 
  1. Note: don't run as root! I learned
  2. sudo  php /var/www/littlefurnace.com/matomo/console  core:archive --force-idsites=1

    (On Windows? The syntax in Windows terminals is more like this:
    C:\PHP\php.exe           "C:\examplebank\wwwroot\matomo\console" core:archive    --force-idsites=1
    ​

  3. This will take a long time. You are forcing Site 1 to reprocess everything, since the beginning of time. It will run for at least a few minutes. But it might go on and on for hours.
  4. sudo  php /var/www/littlefurnace.com/matomo/console  core:archive --force-idsites=1 --force-date-range=2024-02-01,today

    This will only take a few minutes usually.
  5. Try running any core:archive command twice in a row.
    Result: the second time you run it, there are usually zero lines processed.
  6. Try running any core:archive then core:invalidate-report-data, and run the original core:archive
    Result: depending on which data you invalidate, you can make the core:archive process a non-zero number of lines
0 Comments

Does Matomo use cookies? Yes!

2/2/2024

1 Comment

 
Picture
If you are a hater of cookies, Matomo is able to run with no cookies. There is a setting in the user interface: cookies are easy to disable.*

But cookies are enabled by default. Why? The Matomo Visitor ID cookie is a first party cookie! Look it up: that's a respectful, ethical type of cookie.  And the data it collects goes to your website, only.  So if you are trying to keep a lot of secrets about what goes on in your website, Matomo is the way to do it. 

Matomo explicitly promises that they have no interest in your data. See these:
https://matomo.org/100-data-ownership/
https://matomo.org/matomo-cloud-privacy-policy/ (Matomo Cloud only)

How to see the Visitor ID, and confirm that Matomo sets a cookie during the visit:
  1. Go to your website in a browser.
  2. Open devtools >> Application/Storage/Cookies
  3. pk_id is the visitor ID. Its value is a 16 char string.
  4. Go to your Matomo dashboard.
  5. You can see this 16 char string in Visitors >> Visits Log (see the screenshot above)

*What Matomo loses when you disable the Matomo cookie, is it cannot detect a returning visitor. This messes up some of the more subtle things you would want to know about your website. Returning visitors are a pretty big deal to understand.

1 Comment

    Author

    Evan Genest

    Archives

    November 2024
    August 2024
    May 2024
    March 2024
    February 2024
    November 2023
    October 2023
    September 2023
    August 2023

    Categories

    All

Powered by Create your own unique website with customizable templates.
  • Home
  • What is Matomo
  • Contact
  • Custom Reports
  • Connect Matomo to other software
  • CLI API etc
  • Matomo Tag Manager Simple Guide
  • Lyn Only
  • Troubleshooting + Deploying Matomo
  • Weird Data
  • Why is data in Matomo giving different numbers than Google Analytics
  • The Dashboard
  • Moving the Data
  • Book Club Forum