Developer Docs
  • Welcome
  • Frontend API
  • Quick Start
  • Integration Guide
  • Examples
    • Plain JavaScript
    • JavaScript ES modules
  • Recommend API
    • Functions
    • Types
  • Analytics API
Powered by GitBook
On this page
  • Getting Recommendations
  • async function $getRecommendations(recProps: IRecommendationProps) => IRecommendationResponse
  • Reporting Product Interactions
  • async function $reportProductInteraction(interactionProps: IProductInteractionProps) => void

Was this helpful?

  1. Recommend API

Functions

PreviousRecommend APINextTypes

Last updated 3 years ago

Was this helpful?

Getting Recommendations

async function $getRecommendations(recProps: ) =>

Retrieves recommendations for a user from Obviyo endpoint

Reporting Product Interactions

async function $reportProductInteraction(interactionProps: ) => void

Call when user engages with a product (through viewing a pdp, adding to cart, purchasing, or clicking on a product in a recommendation widget).

IRecommendationProps
IRecommendationResponse
IProductInteractionProps