.toggleTimer()

ad.toggleTimer(name)

Depending on the timer's state, toggleTimer will start or stop the named timer for an event or user interaction

// Increases data count for "My Counter" by 1
ad.toggleTimer("My Timer");

Arguments

ArugmentValueExample ValueDescription
namestringMy TimerA unique name used to distinguish the timer in reporting.