Low in stock

This is for:

Developer

In this article, we will look at the Low In Stock model and how it is used to predict visitor behavior. We will provide an overview of how this model is built, its data requirements, and the predictions it can make. We will also provide details of use cases showing how this model can be integrated into your personalization efforts.

In particular, we will cover:

  • What our model predicts

  • What it uses to make that prediction

  • Some potential use cases

  • How you can reach out to Qubit should you be interested in using the model to power your experiences

We presume that you have already familiar with Derived Datasets, the Qubit product used to action this model.

Intro

The Low In Stock model is a Derived Dataset model designed to identify when a product is low in stock and the visitors that have previously interacted with it. As such, the model can be used to drive urgency-themed cues for visitors to buy products that are running low in stock.

Input data

The model uses the QProtocol fields indicated in the table below. One or both of product_productId and product_sku are required to identify products.

Event Field Example Required

event_ecProduct

meta_serverTs

2017-08-12 11:27:03.931 UTC

Yes

event_ecProduct

context_id

86gvhz7zdu0-0j6dwpc7w-gnk1dts

Yes

event_ecProduct

product_productId

PROD17339

Depending on QP implementation

event_ecProduct

product_sku

SKU34911

Depending on QP implementation

event_ecProduct

product_stock

2

Yes

event_ecProduct

eventType

detail

Yes

event_ecBasketItemTransaction

meta_serverTs

2017-08-12 11:27:03.931 UTC

Yes

event_ecBasketTransactionSummary

context_id

86gvhz7zdu0-0j6dwpc7w-gnk1dts

Yes

event_ecBasketItemTransaction

product_productId

PROD17339

Depending on QP implementation

event_ecBasketItemTransaction

product_sku

SKU34911

Depending on QP implementation

Note

The events detailed above are valid for the ecommerce vertical. For the equivalent fields for other verticals, refer to the docs site.

Warning

If one or more of the feature fields are missing or invalid, the model will often continue to operate, but with less input information, which can lead to lower accuracy.

Note

This model uses recent visitor views and transactions and so does not require a long history of data. The model depends on the stock of products being accurately captured by the product_stock QProtocol field.

Model

Unlike some of our other models, this does not use any machine learning, simply business logic and behavioral data.

We find the products with normal stock levels–not low–that a visitor has recently viewed but not recently purchased. Of these products, we find those that are now at low-stock levels. These are the products that a visitor has shown an interest in buying that are now running low in stock. For example, a visitor on a fashion website may have recently browsed a new coat, but didn’t go onto buy it. If the coat is now running low in stock we may want to remind the visitor about it.

The threshold for what stock level the model should consider as low can be configured based on your specific business logic. Your strategist will work with you to find the best configuration for the model.

Predictions

The output of the model are the products that are running low in stock and the corresponding visitors that have previously shown interest in those products. This output is available through Derived Datasets and can be used directly in experiences or segments. The output is updated on a regular schedule that can be configured as necessary.

Example use cases

The Low In Stock model can be used to power Qubit experiences to nudge visitors to re-engage with low in stock products. Use cases include:

  • Indicate products that are at low stock levels when a visitor returns to the site

For example, a fashion brand could use this model to display a carousel of these visitor-specific, low in stock products on the home page when the visitor returns to the site.

Getting started

To start using Qubit experiences powered by Derived Datasets, contact your account strategist and ask for the early access submission form. Submit this form specifying the model name as the project you are interested in.