The following fields real-time attributes can be used in various parts of the platform. These fields cover a wide range of data sources, including page information, marketing tags, customer data, cart details, and geographical attributes.
path
): Use this to match against the path of the current page a visitor is viewing. Example: /collections/all-products
.referrer_path
): Refers to the page that led the visitor to the current page. Example: /collections/all-products
.marketing_source
): Tracks the origin of your marketing traffic. Example: newsletter
.marketing_medium
): Identifies the medium of the marketing effort. Example: email
.marketing_campaign
): Matches the campaign identifier for marketing promotions. Example: banner_ad_1
.marketing_term
): Captures any paid keywords associated with your campaigns. Example: running+shoes
.marketing_content
): Identifies the content used within a campaign. Example: banner_red
.cart_empty
): Indicates whether the shopping cart is empty (boolean field).cart_value
): The total value of the items in the cart. Example: 800
.num_cart_items
): Number of items in the customer’s cart. Example: 4
.cart_discount_value_without_coupon
): The total value of discounts applied without a coupon.cart_discount_value_with_coupon
): Total discount value including any coupon codes.signed_in
): Indicates whether the customer is signed in (boolean field).num_orders
): Tracks the total number of orders a customer has placed. Example: 4
.average_order_value
): The average value of the customer’s orders. Example: 4
.days_between_orders
): Average time between the customer’s orders in days.days_since_last_order
): Number of days since the customer made their last purchase.days_since_oldest_order
): Number of days since the customer’s first order.total_spent
): Total amount spent by the customer. Example: 400
.discount_value_without_coupon
): The total discount value (excluding coupons) for the customer’s last 20 orders.discount_value_with_coupon
): Total discount value, including coupons, for the last 20 orders.geo_city
): The city in which the visitor is located. Example: Boston
.geo_state
): The state in which the visitor is located. Example: MA
.geo_country
): The country in which the visitor is located. Example: US
.