Class Tag

Constructors

Properties

shortUrlsCount?: number
tag: string
visitsSummary?: {
    bots: number;
    nonBots: number;
    total: number;
}

Methods

  • Get the visits from this tag

    Parameters

    • OptionalstartDate: Date
    • OptionalendDate: Date
    • Optionalpage: number
    • OptionalitemsPerPage: number
    • OptionalexcludeBots: boolean

    Returns Promise<{
        maxPages: number;
        page: number;
        visits: Visit[];
    }>

  • Rename this tag

    Parameters

    • newName: string

    Returns Promise<void>