Properties
placements
placements: { getPlacements(): string[]; injectCampaigns(recommendations: Record<string, Recommendation>): void; } Methods
captureError
- captureError(error, reporter, level): void
Parameters
- error: unknown
- reporter: string
- level: LogLevel
Returns void
defaultSession
- defaultSession(): NostoSession
Returns NostoSession
recordSearchClick
- recordSearchClick(type, hit): void
Parameters
- type: "autocomplete" | "category" | "serp"
- hit: {
keyword?: string;
url?: string;
}Optional
keyword?: string
Optional
url?: string
Returns void
recordSearchSubmit
- recordSearchSubmit(query): void
Returns void