A technical deep-dive into how Devicely categorizes your store's visitors in milliseconds.
Welcome to the technical deep-dive on Devicely's core technology. In this article, we will explore exactly how our Instant Device Detection algorithm operates under the hood, how it protects user privacy, and how it categorizes devices into four distinct tiers to maximize your Shopify store's conversions.
Traditional discounting strategies treat all visitors equally. Whether a user is browsing from a top-tier flagship device or an entry-level budget phone, they see the same price. This creates a massive inefficiency: you end up giving away profit margins to users who would have purchased at full price, while simultaneously losing highly price-sensitive shoppers because the standard discount wasn't aggressive enough.
Devicely solves this by instantly analyzing the hardware specifications of the visitor's device. We use this data as a proxy for purchasing power. A user browsing on an incredibly expensive, high-end smartphone generally has a higher disposable income and is less price-sensitive than a user browsing on a budget device. By categorizing these devices in real-time, you can automatically present targeted offers.
One of the most reliable indicators of a premium device is its display quality. High-end flagship phones (such as the iPhone 15 Pro, Samsung Galaxy S24 Ultra, or Google Pixel 8 Pro) and premium laptops (such as Apple's Retina MacBooks) feature incredibly dense, high-resolution displays.
Devicely interrogates the browser to determine the Device Pixel Ratio (DPR). The DPR is the ratio between physical pixels and logical CSS pixels. Standard budget and mid-range devices typically have a DPR of 2 or 2.5 (usually correlating to a 1080p display). However, true flagship devices often boast a DPR of 3, 3.5, or even 4 (correlating to 1440p or incredibly pixel-dense Retina displays). By establishing a strict DPR threshold, Devicely can instantly filter out standard 1080p phones from ultra-premium models.
The processing power of a device is another critical metric. We analyze the navigator.hardwareConcurrency API, which reveals the number of logical processors (threads) available to the browser.
While almost all modern smartphones feature octa-core processors (8 threads), the thread count is incredibly revealing on desktop and laptop environments. An entry-level notebook or a budget office PC might report 4 or 6 threads. Conversely, a high-performance workstation or a premium gaming rig will report 12, 16, or even 24 threads. Devicely uses this data to distinguish between casual browsers and users operating high-end, expensive computer hardware.
The amount of available Random Access Memory (RAM) is a massive indicator of a device's retail cost and performance tier. Devicely reads the device memory allocation using the navigator.deviceMemory API.
This metric allows us to separate low-cost devices struggling with basic browsing (often reporting 2GB or 4GB of RAM) from top-tier machines equipped with 8GB or more. When combined with DPR and CPU metrics, RAM serves as the ultimate tie-breaker to ensure a device is accurately categorized.
Raw hardware numbers mean nothing without context. For example, 8 CPU cores on a smartphone is standard, but 8 CPU cores on a lightweight laptop is premium. Therefore, Devicely cross-references the raw hardware data with the User-Agent to determine the form factor: mobile phone, tablet, or desktop.
This contextual analysis allows our algorithm to apply strict, form-factor-specific threshold logic. A 12-thread desktop processor is evaluated under a completely different set of rules than an 8-core mobile chip. We also account for discrepancies in privacy-focused browsers (like Firefox or Safari), which may spoof or restrict hardware APIs, ensuring that our fallback logic gracefully categorizes the device without generating false positives for the Top tier.
One of the most powerful aspects of Devicely's detection algorithm is its absolute commitment to privacy. Unlike traditional tracking apps that rely on invasive cookies, IP address tracking, or Cross-Site Scripting (XSS) to build user profiles, Devicely requires zero Personally Identifiable Information (PII).
We do not know who the user is, where they live, or what they have browsed in the past. We only know the physical capabilities of the machine rendering the webpage in that exact millisecond. This makes Devicely inherently GDPR and CCPA compliant right out of the box.