Does matomo track search engine bots or other spider / robots?Does matomo track search engine bots or other spider / robots?Does matomo track search engine bots or other spider / robots?Does matomo track search engine bots or other spider / robots?
  • 首页
  • 博客
  • 书签
  • 文件
  • 分析
  • 登录

Does matomo track search engine bots or other spider / robots?

发表 admin at 2022年2月1日
类别
  • Linux
标签

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:

  • If you want to track bots without Javascript, you can add an Image Tracker on your pages: Learn more in How do I enable tracking for visitors when JavaScript cannot be used on a page (such as bots)?. To activate the tracking for bots, add &bots=1 to the image URL.
  • If you’re using the Javascript Tracker and you want to track the Javascript-enabled bots only, add the following line in your tracking code: _paq.push(['appendToTrackingUrl', 'bots=1']);.
  • If you’re using the Tracking HTTP API, you can enable the tracking of bots by setting the parameter &bots=1 in the matomo.php tracking request.
  • If you’re importing your web server access log files, use the option --enable-bots in the tool to enable tracking of all bots.

发表回复 取消回复

您的电子邮箱地址不会被公开。 必填项已用*标注

类别

  • Cat
  • Python
  • MySQL
  • Django
  • Html/CSS
  • JavaScript
  • Vue
  • RegExp
  • php
  • Practice
  • Virtualization
  • Linux
  • Windows
  • Android
  • NAS
  • Software
  • Hardware
  • Network
  • Router
  • Office
  • WordPress
  • SEO
  • English
  • Games
  • Recipes
  • living
  • Memorandum
  • Essays
  • 未分类

归档

©2015-2023 艾丽卡 Blog support@alaica.com
      ajax-loader