Google Analytics

Analyze SpeechKit Player engagement through Google Analytics.

This guide explains how to connect a SpeechKit project to Google Analytics, so you can track user engagement with the SpeechKit Players embedded on your site.

Connect GA to SpeechKit

  1. Sign into Google Analytics

  2. Go to 'Admin' > 'Property Settings' then copy your 'Tracking ID' (UA-XXXXXXXX-X)

  1. Sign into SpeechKit and go to your project dashboard

  2. Go to the 'Settings (General)' section then scroll to 'Google Analytics Tracking ID'

  3. Paste your Tracking ID from GA, then select 'Connect'

'SpeechKit Player' should now be registered as an 'Event Category' in Google Analytics.

Understanding SpeechKit metrics in Google Analytics

A page view involving an embedded SpeechKit Player will trigger one of six Event Actions, which together form the SpeechKit Player Event Category.

Event Action

Recorded when...

Load

the SpeechKit Player loads on the webpage

Play

a user clicks 'play' on a SpeechKit Player

25% listened

a user plays 25–49% of an audio asset

50% listened

a user plays 50–74% of an audio asset

75% listened

a user plays 75–99% of an audio asset

Complete

a user plays 100% of an audio asset

Create a segment for the SpeechKit Player Event Category

Creating a segment makes it easy to view analytics associated with the SpeechKit Player Event Category, i.e. sessions or page views where the SpeechKit Player was loaded.

  1. Go to 'Behavior' > 'Events' > 'Overview' then select 'Add Segment'
  1. Select '+ NEW SEGMENT'

  2. Enter a segment name — for example, 'SpeechKit Player event'

  3. Select 'Conditions' and set the following filter, for example: Filter | Sessions | Include | Event Category | contains | SpeechKit Player

  4. Select 'Save'

You can now add this segment to any report within Google Analytics (select '+Add Segment' at the top of your report then choose the segment from the list).

Create a segment for the 'Play' SpeechKit Player Event Action

You can also create segments for specific Event Actions — for example, the 'Play' action:

  1. Go to 'Behavior' > 'Events' > 'Overview' then select 'Add Segment'
  1. Select '+ NEW SEGMENT'

  2. Enter a segment name — for example, 'SpeechKit Player play'

  3. Select 'Conditions' and set the following filter: Filter | Sessions | Include | Event Action | contains | play

  4. Select 'Save'

You can now add this segment to any report within Google Analytics (select '+Add Segment' at the top of your report then choose the segment from the list). This will allow you to see the analytics associated with the 'Play' SpeechKit Player Event Action, i.e. sessions or page views where the user clicked 'play'.

For example, you can go to 'Audience' > 'Demographics' > 'Overview' to see the age distribution of users who clicked play.

Create a segment for the 'Did not play' SpeechKit Player Event action

You can also create segments to exclude specific Event Actions. This makes it possible to create a segment for sessions or page views where the SpeechKit Player was loaded but not played — useful if you wish to compare listeners against non-listeners.

  1. Go to 'Behavior' > 'Events' > 'Overview' then select 'Add Segment'
  1. Select '+ NEW SEGMENT'

  2. Enter a segment name — for example, 'SpeechKit Player did not play'

  3. Select 'Conditions' and set the following filter: Filter | Sessions | Include | Event Category | contains | SpeechKit Player

  4. Select '+ Add Filter' then enter: Filter | Sessions | Exclude | Event Action | contains | play

  5. Select 'Save'

You can now add this segment to any report within Google Analytics (select '+Add Segment' at the top of your report then choose the segment from the list). This will allow you to see the analytics associated with sessions or page views where the SpeechKit Player was loaded but the user did not click 'play'.

You can use this segment alongside the 'SpeechKit Player play' segment to compare non-listener and listener metrics.