Crawler Detect


The plugin exposes Crawler Detect's methods below:

{{ craft.crawlerDetect.isCrawler ? 'I am a crawler.' : 'I am not crawler.' }}

{% if craft.crawlerDetect.isCrawler %} I am a crawler. {% endif %}

Also passing user agent as string:

{% if craft.crawlerDetect.isCrawler('Googlebot/2.1 (+http://www.google.com/bot.html)') %} I am a crawler. {% endif %}


Free

Package Name

To install this plugin, search for its package name on the Plugin Store and click “Install”.


Information

  • Version 1.0.0
  • Last Update 3/3/2020
  • Active Installs 15
  • Compatibility Craft 3
  • License MIT
  • Categories Templating, Utilities

Report an issue