UNPKG

sfcc-cip-analytics-client

Version:

SFCC Commerce Intelligence Platform Analytics Client

23 lines (22 loc) 987 B
import { SiteSpecificQueryTemplateParams, EnhancedQueryFunction } from '../helpers'; export interface SearchQueryPerformance { query: string; converted_searches: number; orders: number; std_revenue: number; std_revenue_per_order: number; conversion_rate: number; } interface SearchQueryPerformanceParams extends SiteSpecificQueryTemplateParams { hasResults: boolean; } /** * Query search term performance to identify revenue drivers and missed opportunities * Business Question: Which search terms drive revenue vs which represent missed opportunities? * Primary users: Merchandising and UX teams * @param client The Avatica client instance (must have an open connection) * @param params Query parameters including siteId, dateRange, and hasResults * @param batchSize Size of each batch to yield (default: 100) */ export declare const querySearchQueryPerformance: EnhancedQueryFunction<SearchQueryPerformance, SearchQueryPerformanceParams>; export {};