The plugin exposes a Crawler Detect's methods:

{{ 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('Mozilla/5.0 (compatible; Sosospider/2.0; +http://help.soso.com/webspider.htm)') %} I am a crawler. {% endif %}
Installation Instructions

To install this plugin, copy the command above to your terminal.

Reviews

This plugin doesn't have any reviews.

Active Installs
50
Version
2.0.0
License
MIT
Compatibility
Craft 3, Craft 4, Craft 5
Last release
March 27, 2024
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs