@coveo/usage-analytics-event-types
TypeScript icon, indicating that this package has built-in type declarations

7.13.0 • Public • Published

Coveo Usage Analytics Event Types

This package contains automatically generated TypeScript types for Coveo Usage Analytics Events, and is intended to be used in combination with coveo.analytics.js or other integrations which communicate with the usage analytics service.

Installation

Install using npm install @coveo/usage-analytics-event-types

Usage

Import desired event type, e.g. for an UsageAnalyticsCustom event:

import {UsageAnalyticsCustom} from '@coveo/usage-analytics-event-types';

const myCustomEvent:UsageAnalyticsCustom = {
    eventType: 'clickButton',
    eventValue: 'back',
    clientId: '2ce196c1-5859-42da-b051-63e77ae2b406',
    language: 'en-us'
}

/@coveo/usage-analytics-event-types/

    Package Sidebar

    Install

    npm i @coveo/usage-analytics-event-types

    Weekly Downloads

    168

    Version

    7.13.0

    License

    Apache-2.0

    Unpacked Size

    35.2 kB

    Total Files

    3

    Last publish

    Collaborators

    • sallain
    • aboissinot
    • mmitiche
    • jkatofsky
    • agong-coveo
    • pixhel
    • ndlr
    • npmcoveo
    • camarois
    • lcoolen
    • coveo-organization
    • coveoit
    • olamothe
    • sssayegh
    • ylakhdar