Other

Session Started

It is good practice to track when a user starts a new session. This would normally happen on the first page view of your website or when they open your app.

You can send any custom attributes along with this

interface SessionStart {
    event: 'Session Started',
    properties?: { ...custom }
}

Session Ended

You can send any custom attributes along with this.

interface SessionStart {
    event: 'Session Ended',
    properties?: { ...custom }
}

Location Visited

Indicate an offline location has been visited such as a store.

Interface

interface LocationVisited {
  event: 'Location Visited'
  properties: {
    $location: Location
  }
}

Offline Purchase Completed

Indicate a purchase was completed offline, such as in store.

Interface

interface OfflinePurchaseCompleted {
  event: 'Offline Purchase Completed'
  properties: {
    $order: Order
  }
}

Purchase Returned

Indicate a purchase was returned.

Interface

interface PurchaseReturned {
  event: 'Purchase Returned'
  properties: {
    $order: Order
  }
}

Widget Viewed

Indicate a widget was viewed. This can be used for online popups such as email collection, surveys or offers.

Interface

interface WidgetViewed {
  type: 'track'
  event: 'Widget Viewed'
  properties: {
    $widget: Widget
    $targeting?: Targeting
    $discountCode?: string
  }
}

Widget Interacted

Indicate an action was taken on a widget. This can be used for online popups such as email collection, surveys or offers.

Interface

interface WidgetInteracted { 
  type: 'track'
  event: 'Widget Interacted'
  properties: {
    $widget: Widget
    $targeting?: Targeting
    $discountCode?: string
  }
}

Offer Viewed

Indicate an offer was presented. This can be used online in cases where a special offer was presented to a user.

Interface

interface OfferViewed {
  type: 'track'
  event: 'Offer Viewed'
  properties: {
    $widget: Widget
    $targeting: Targeting
    $discountCode?: string
  }
}

Recommendation Viewed

A recommendation was viewed.

Interface

interface RecommendationViewed {
  event: 'Recommendation Viewed'
  properties: {
    $recommendation: Recommendation
    $widget?: Widget
    $targeting?: Targeting
  }
}

Recommendation Clicked

A recommendation was clicked.

Interface

interface RecommendationClicked {
  event: 'Recommendation Clicked'
  properties: {
    $recommendation: Recommendation
    $widget?: Widget
    $targeting?: Targeting
  }
}

Recommendation Added

A recommendation was added.

Interface

interface RecommendationAdded {
  event: 'Recommendation Added'
  properties: {
    $recommendation: Recommendation
    $widget?: Widget
    $targeting?: Targeting
  }
}

Recommendation Purchased

A recommendation was displayed to the user and then the user purchased one of these products.

Interface

interface RecommendationPurchased {
  event: 'Recommendation Purchased'
  properties: {
    $recommendation: Recommendation
    $widget?: Widget
    $targeting?: Targeting
  }
}

Form Submitted

Indicates that a form was submitted.

$widget - Widget

Interface

interface FormSubmitted {
  event: 'Form Submitted'
  properties: {
    $widget?: Widget
  }
}

Form Interacted

Indicates that a form was interacted with.

$widget - Widget

Interface

interface FormInteracted {
  event: 'Form Interacted'
  properties: {
    $widget?: Widget
  }
}

Form Viewed

Indicates that a form was viewed.

$widget - Widget

Interface

interface FormViewed {
  event: 'Form Viewed'
  properties: {
    $widget?: Widget
  }
}

Last updated