Sha256: cc5b487cbf58e405c0f400c3bb20da055a07140676b836d91e8ad8ef9233e4b5

Contents?: true

Size: 1.41 KB

Versions: 1

Compression:

Stored size: 1.41 KB

Contents

# KlaviyoAPI::PredictiveAnalytics

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **historic_clv** | **Float** | Total value of all historically placed orders | [optional] |
| **predicted_clv** | **Float** | Predicted value of all placed orders in the next 365 days | [optional] |
| **total_clv** | **Float** | Sum of historic and predicted CLV | [optional] |
| **historic_number_of_orders** | **Integer** | Number of already placed orders | [optional] |
| **predicted_number_of_orders** | **Float** | Predicted number of placed orders in the next 365 days | [optional] |
| **average_days_between_orders** | **Float** | Average number of days between orders (None if only one order has been placed) | [optional] |
| **average_order_value** | **Float** | Average value of placed orders | [optional] |
| **churn_probability** | **Float** | Probability the customer has churned | [optional] |
| **expected_date_of_next_order** | **Time** | Expected date of next order, as calculated at the time of their most recent order | [optional] |

## Example

```ruby
require 'klaviyo-api-sdk'

instance = KlaviyoAPI::PredictiveAnalytics.new(
  historic_clv: 93.87,
  predicted_clv: 27.24,
  total_clv: 121.11,
  historic_number_of_orders: 2,
  predicted_number_of_orders: 0.54,
  average_days_between_orders: 189,
  average_order_value: 46.94,
  churn_probability: 0.89,
  expected_date_of_next_order: null
)
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
klaviyo-api-sdk-2.0.0 docs/PredictiveAnalytics.md