Techdocs

AMP Web SDK

AMP player

ChartbeatAnalytics

ChartbeatAnalytics

new ChartbeatAnalytics(player, configopt, key)

Creates an instance of the React plugin.

Parameters
Name Type Attributes Description
player akamai.amp.Player

The player instance

config akamai.amp.chartbeatanalytics.ChartbeatAnalyticsConfig | Object <optional>

The configuration override object, or JSON string. Must adhere to the akamai.amp.ChartbeatAnalytics.ChartbeatAnalyticsConfig interface.

key string

The plugin identifier.