By default, Matomo only tracks visitors with Javascript enabled. Most bots will not execute JavaScript, although more advanced bots can now execute JavaScript.

In general there are a few options to track bots and search engine bots using Matomo depending on how you track users in Matomo:

See also: Why do Matomo data reports differ from Google Analytics and other analytics tools?

Previous FAQ: What does “Keyword not defined” mean in the Referers > Search Engines keywords report?