Event Overview

The Product viewed event is essential for tracking user interest in specific products. This data can be used to trigger browse abandonment emails or personalized product recommendations.

Use Cases

  • Product view tracking and analytics
  • Browse abandonment campaigns
  • Personalized product recommendations
  • Recently viewed product reminders

Event Attributes

FieldTypeDescription
product_idstringUnique product identifier
product_namestringDisplay name of product
product_urlstringDirect link to product page
product_image_urlstringProduct image URL
skustringStock Keeping Unit
variant_idstringSpecific variant ID
variant_namestringVariant description (e.g., “Black - Large”)
brandstringProduct brand/manufacturer
categorystringProduct category path
product_typestringType classification
pricenumberCurrent selling price
compare_at_pricenumberOriginal/MSRP price
currencystringISO currency code (INR, USD, etc.)
discount_amountnumberDiscount in currency units
discount_percentagenumberDiscount as percentage
in_stockbooleanStock availability status
inventory_quantityintegerCurrent stock level
ratingnumberAverage product rating
reviews_countintegerNumber of reviews
viewed_fromstringSource location (category_page, search, etc.)

Payload Example

{
  "attributes": {
    "product_id": "PROD-123",
    "product_name": "Leather Boots",
    "product_url": "https://example.com/products/leather-boots",
    "product_image_url": "https://example.com/images/boots.jpg",
    "sku": "BT-001",
    "variant_id": "VAR-BLACK-10",
    "variant_name": "Black - Size 10",
    "brand": "CocoonStyle",
    "category": "Footwear > Boots",
    "product_type": "Apparel",
    "price": 89.99,
    "compare_at_price": 120.00,
    "currency": "USD",
    "discount_amount": 30.01,
    "discount_percentage": 25,
    "in_stock": true,
    "inventory_quantity": 45,
    "rating": 4.8,
    "reviews_count": 150,
    "viewed_from": "category_page"
  }
}