Techdocs

AMP Web SDK

AMP player

Omniture

Omniture

new Omniture(player, configopt, key)

Creates an instance of the Omniture plugin.

Parameters
Name Type Attributes Description
player akamai.amp.Player

The player instance

config akamai.amp.omniture.OmnitureConfig | Object <optional>

The configuration override object, or JSON string. Must adhear to the akamai.amp.omniture.NielsenConfig interface.

key string

The plugin identifier.

Methods

getAd

getAd()

Any ad being tracked.

mediaName

mediaName()

The name / title of the media item being tracked.

playerName

playerName()

The value of the player namespace.