When getting visitor id using the Piwik PHP API tracker, often it seems like the visitor id is not saved in the Piwik database (which can be checked using the HTTP reporting API Live module). I assume this is because Piwik filter bots? But bots still get visitor id? I there anyway I can check if Piwik will filter the current visitor as a bot?
You could use the DeviceDetector module directly from PHP:
Thank you for your suggestion. I don’t think that’s a valid solution for us since we’re using Joomla. I’m unsure if the DeviceDetector class could easily be integrated in such an environment.