Configuring Google Analytics Event Tracking
Brightcove Campaign™ can be configured to integrate with Google Analytics. This allows player events and custom dimension data to be sent to a Google Analytics account for reporting purposes. Note that when the integration is configured, only analytics for video events will be passed to Google Analytics.
To configure Google Analytics integration, follow these steps:
- Log in to Brightcove Campaign.
- In the navigation header, click the gear icon () and then Google Analytics.
- Check Enable Google Analytics.
- Click Sign In to Google Account.
- Select the Google account to sign in with and enter your credentials if prompted.
- Click Allow to let Brightcove access your Google account.
- Use the Select Account dropdown to select the Google account to send tracking data to.
- Select the Events for Tracking. See the Events and custom dimensions section below for a description of the events.
- Click Save. This will configure the player with the Google Analytics plugin and create any needed custom dimensions in your Google Analytics account.
Events & custom dimensions
Both events and custom dimension data can be passed to Google Analytics.
The following events can be passed.
- Video Impression - Sent when a video has been loaded into a player and is ready for playback
- Play Request - Sent when playback is initiated either by the user expressly clicking the play button, or automatically when the platform triggers playback in an auto-play scenario
- Video Engagement - A user watched a range of seconds of a video's timeline. This event is a heartbeat for tracking video engagement and will likely be sent many times during playback, depending on the user interaction and the length of the video.
- Ad Start - Sent when control is handed over to an advertising agent by the playback platform
- Ad End - Sent when control is handed back from the advertising agent to the playback platform
- Player Load - A player session has been initiated by an end-user
- Error - Sent when fatal errors which disrupt the playback experience are encountered
Custom dimensions allow you to combine Google Analytics data with non-Analytics data. Custom dimensions collect data that Google Analytics doesn't automatically track. The following custom dimensions are available.
- Video Seconds Viewed - Count of watched seconds (only available if the Video Engagement event was selected)
- Range - The range of seconds viewed (only available if the Video Engagement event was selected)
- Video Duration - The duration of the video in seconds (only available if the Video Engagement event was selected)
- Player ID and Player Name - Player ID and Name
- Account Name - Brightcove Account ID
- Session - The session identifier; the session value should be constant for the lifecycle of an experience and sent for all events from that experience
- Player Version - Brightcove Player version