setVolume (Browser)
From Engineering Client Portal
Since players have different volume ranges eg. 0-1, 0-10 or 0-100, when tracking audibility clients will have to provide the volume in %. Volume will be passed into the Browser SDK via the event 61 or setVolume and a value between 0 - 100 is expected.
Syntax
ggPM('61', volume);
//or
ggPM('setVolume', volume);
//volume is the Audibility % (0-100); 0=muted
Input Parameters
Parameter | Description |
---|---|
volume | An integer value between 0 - 100 |
Notes
Negative volume values will be ignored.