Wunderkind Text Metrics

This page breaks down the event properties you can expect to populate in metric payloads — and display dynamically in text marketing campaigns.

What are Wunderkind text metrics?

Wunderkind leverages Klaviyo metrics to push real-time onsite browsing data to profiles in your account. You'll use this dynamic data to create targeted flows.

After connecting your Klaviyo account in Wunderkind Platform, head to Analytics > Metrics to see 6 wknd text metrics broken out by flow purpose. Similar to Klaviyo's native metrics, Wunderkind will push a customer's browsing activity to a metric when they take an associated trigger action. For example, if the customer abandons a product page (action), then Wunderkind will trigger wknd-prodabandonment (metric) 30 minutes later, and the metric properties will contain personalized product recommendations to display in the flow.

The table below breaks down the triggers which power each metric:

Trigger Action

Trigger Delay

Wunderkind Metric

Event Properties

User added to cart and abandoned site

2 min

wknd-text-cartabandonment

Products the user added to cart

URLs to replenish a user's cart*

User viewed product page and abandoned site

2 min

wknd-text-prodabandonment

Products the user viewed, with recommendation backfills as needed

User viewed category page and abandoned site

2 min

wknd-text-categoryrecap

Abandoned category name and landing page URL

Top products from category page at time of user's visit

A product the user interacted with came back in stock

Based on when the user interacted with the relevant product

wknd-text-backinstock

Products that underwent the specified product feed change

A product the user interacted with dropped in price

Based on when the user interacted with the relevant product

wknd-text-pricedrop

Products that underwent the specified product feed change

A product the user interacted with has low inventory

Based on when the user interacted with the relevant product

wknd-text-lowstock

Products that underwent the specified product feed change

*Note: Replenishment support varies by customer; reach out to your Wunderkind representative for details.

Event Properties in Wunderkind Metics

To view raw metric data from any of Wunderkind's metrics, follow these steps from Klaviyo's documentation. Example JSON payloads can also be found at the bottom of this page.

Dynamic Product Properties

Each metric payload includes an Items array, which populates one object per dynamic product. The following keys are sent within each product object:

  • WkId: Unique product ID
  • WkCopy: Product name
  • WkImageUrl: Product image path (src attribute)
  • WkUrl: Product page URL

In certain metrics, additional keys are available within each product object. Do not reference these keys outside of the specified metrics:

  • wknd-pricedrop metric
    • WkPrice: Original product price
    • WkSalePrice: Discounted sale price
  • wknd-lowstock metric
    • WkQuantity: Remaining inventory

Additional Dynamic Properties

Additional root-level events are available in certain abandonment metrics, according to the below:

  • {{ event.WkCategoryUrl }}
    • The URL of a user’s abandoned category landing page. Available only in texts triggered off of the wknd-categoryrecap metric.
  • {{ event.WkCategoryName }}
    • The printed name of a user's abandoned category. Available only in texts triggered off of the wknd-categoryrecap metric.
  • {{ event.WkCartReplenUrl }}
    • The URL to replenish a user's cart. Available only in texts triggered off of the wknd-cartabandonment metric.
    • Note: Replenishment support varies by customer; reach out to your Wunderkind representative for details.

You can use dot notation within Klaviyo's template syntax to traverse the Items array in any Signals metric payload. By default, the Items array is sorted by the recipient's interaction recency (most recent to least recent).

For example, to display the first dynamic product's image, use the syntax {{ event.Items.0.WkImageUrl }}, where 0 represents the first product in the zero-based array.



Example Payloads

Cart Abandonment

{
  "Origin": "wunderkind",
  "DataOnly": "Y",
  "UserType": "prospect",
  "WkOpen": "some-url.com",
  "WkPurpose": "cart abandonment",
  "WkChannel": "text",
  "WKCouponCode": "",
  "WKCouponPurpose": "",
  "WkCartReplenUrl": "some-url.com",
  "Items": [
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com"
    },
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com"
    },
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com"
    },
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com"
    }
  ]
}

Product Abandonment

{
  "Origin": "wunderkind",
  "DataOnly": "Y",
  "UserType": "prospect",
  "WkOpen": "some-url.com",
  "WkPurpose": "product abandonment",
  "WkChannel": "text",
  "WKCouponCode": "",
  "WKCouponPurpose": "",
  "Items": [
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com"
    },
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com"
    },
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com"
    },
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com"
    }
  ]
}

Category Recap

{
  "Origin": "wunderkind",
  "DataOnly": "Y",
  "UserType": "prospect",
  "WkOpen": "some-url.com",
  "WkPurpose": "category recap",
  "WkChannel": "text",
  "WKCouponCode": "",
  "WKCouponPurpose": "",
  "WkCategoryUrl": "some-category-url.com",
  "WkCategoryName": "Category name",
  "Items": [
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com"
    },
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com"
    },
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com"
    },
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com"
    }
  ]
}

Back in Stock

{
  "Origin": "wunderkind",
  "DataOnly": "Y",
  "UserType": "prospect",
  "WkOpen": "some-url.com",
  "WkPurpose": "back in stock",
  "WkChannel": "text",
  "WKCouponCode": "",
  "WKCouponPurpose": "",
  "Items": [
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com"
    },
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com"
    },
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com"
    },
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com"
    }
  ]
}

Price Drop

{
  "Origin": "wunderkind",
  "DataOnly": "Y",
  "UserType": "prospect",
  "WkOpen": "some-url.com",
  "WkPurpose": "price drop",
  "WkChannel": "text",
  "WKCouponCode": "",
  "WKCouponPurpose": "",
  "Items": [
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com",
      "WkPrice": "49.99",
      "WKSalePrice": "39.99"
    },
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com",
      "WkPrice": "49.99",
      "WKSalePrice": "39.99"
    },
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com",
      "WkPrice": "49.99",
      "WKSalePrice": "39.99"
    },
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com",
      "WkPrice": "49.99",
      "WKSalePrice": "39.99"
    }
  ]
}

Low Stock

{
  "Origin": "wunderkind",
  "DataOnly": "Y",
  "UserType": "prospect",
  "WkOpen": "some-url.com",
  "WkPurpose": "low stock",
  "WkChannel": "text",
  "WKCouponCode": "",
  "WKCouponPurpose": "",
  "Items": [
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com",
      "WkQuantity": "1"
    },
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com",
      "WkQuantity": "1"
    },
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com",
      "WkQuantity": "1"
    },
    {
      "WkCopy": "Product name",
      "WkId": "012345",
      "WkImageUrl": "some-url.jpg",
      "WkUrl": "some-url.com",
      "WkQuantity": "1"
    }
  ]
}