Device Detector

Free!
Download
Description

Requirement: Statamic v2.x Version: 1.0

What is this

DeviceDetector is a Statamic port of matomo-org/device-detector
You may output or use as a conditional the OS, device, brand and model of the client in your templates.
See matomo-org/device-detector for more info.

Installation

  1. Copy DeviceDetector to site/addons
  2. Run php please update:addons at the root of your statamic project to install the composer dependencies.

Usage

{{ device_detector:client_info }}
{{ device_detector:os_info }}
{{ device_detector:device }} - Returns 'desktop', 'tablet', 'smartphone' etc.
{{ device_detector:brand }}
{{ device_detector:model }}


Important Links
Details
Released June 3, 2019
Updated 1 year ago
Version dev-master
Downloads 252
Requires Statamic 2

Travis Statamic

More by Travis Statamic

Similar Addons

See All
Protect your Statamic forms using Google's reCAPTCHA service.

Google reCAPTCHA

by Aryeh Raber in Forms, Integration, Spam, Tag
Protect your Statamic forms using Google's reCAPTCHA service.
Manage and configure XML Sitemaps for your Statamic site with support for aliases, automatic cache management and pagination. $19

XML Sitemaps

by Benji Hughes in Enhancement, Forms, Tag
Manage and configure XML Sitemaps for your Statamic site with support for aliases, automatic cache management and pagination.