Skip to main content

Syntax

Description

The activity_feed metafield contains the customer’s recent activity events for display in customer dashboards or activity summaries. This includes metrics-tracked events like purchases, referrals, and other engagement activities.
The activity feed metafield contains JSON data that must be parsed using Liquid’s parse_json filter before accessing individual properties.

Properties

Type: JSON Object Namespace: lantern

Return Values

Activity Feed Structure

  • events (array): list of recent customer activity events.

Event Object Structure

Each event in the events array contains:

Examples

Basic Activity Display