This plugin enables Google Tag Manager
to push dataLayer events, such as play
, pause
, ended
, etc.
It requires Google Tag Manager configuration to send events properly. For more information, check Set up GTM triggers.
features: [..., 'googletagmanager']
Parameter | Type | Default | Description |
---|---|---|---|
Play | string | clickPlay |
Google Tag Manager Play Event, |
Pause | string | clickPause |
Google Tag Manager Pause Event |
Ended | string | clickEnded |
Google Tag Manager Ended Event |