Carrot reference
Functions

usageDays()

Returns the number of days that the current person being evaluated has used a particular ChartHop feature.

Typically this will be used for measuring user activity metrics.

Syntax

usageDays(feature, days)

Parameters

Parameter

Type

Description

feature

String

The feature to check, available features are:

  • any- any usage of any feature
  • home - Home Page
  • org- Org Chart
  • sheet- Data Sheet
  • map- Map
  • calendar - Calendar
  • scenario- Scenarios
  • report- Dashboards
  • review- Reviews and Survey management
  • comp_review- Comp Reviews
  • profile- Profile pages
  • content - Resources pages

days

Number

The number of days back to check







Returns

Number - the number of days

Example

usageDays('org', 7)

Returns the number of days, out of the past 7 days, that the person has used the Org Chart feature of ChartHop.

Updated 18 Dec 2024
Doc contributor
Did this page help you?