Google Analytics Events

In this article, you will find all the events that Story Widget pushes to Google Analytics .

Please also check articles below if you didn’t enabled this feature of Story Widget:

1. Tracking Story Widget events with Google Analytics
2. Tracking Story Widget events with Google Tag Manager

Story Widget’s embed code can use Google Analytics or Google Tag Manager code, if they are already embedded in your website.

You just need to select correct source/ js version of Google Analytics from Story Widget editor. Then you can sit back and see all the related data on your Google Analytics dashboard.

Events can be observed on Google Analytics dashboard, under de “Behaviour” > “Events” menu.

Google Analytics events contains “Event Category”, “Event Action”, “Event Label”, “Event Value”

Event Category

All events are sent with Event Category named “StoryWidget-ID:{your_widget_id}

Story Widget uses Universally Unique Identifier for widget-id and story-id. In order to provide consisted data, Story Widget pushes data with ids instead of name/title, since widget name/story title can be edited, and also you can have multiple widgets on your website.

How can I find my widget’s ID?

Widget-ID is “sw-id” in given embed-code. Also can be found on widget list page via clicking related widget’s “Get Code” link.

How can I find a story’s ID?

Story-ID’s are listed in Statistics page, stories table contains story level statistics, story title and story-id.

sw-widget-loaded

Description: Pushed when a Story Widget rendered/loaded in website, with its location(placement) and story count.

Event Category: StoryWidget-ID:{widget_id}

Event Action: sw-widget-loaded

Event Label: sw-widget-placement:{placement} *(placement: inline/top/bottom/custom)

Event Value: {widget_story_count}

sw-story-direct-opened

Description: Pushed when a story opened directly from widget thumbnail via click/touch. A good indicator of which stories are starting point of users.

Event Category: StoryWidget-ID:{widget_id}

Event Action: sw-story-direct-opened

Event Label: sw-story-id:{story_id}

Event Value:

sw-story-showed

Description: Pushed whenever a story showed to user.

Event Category: StoryWidget-ID:{widget_id}

Event Action: sw-story-showed

Event Label: sw-story-id:{story_id}

Event Value:

sw-story-exited

Description: Pushed when a story exited by user intent, via [x] icon touch/click, which located top-right of the story view.

Event Category: StoryWidget-ID:{widget_id}

Event Action: sw-story-exited

Event Label: sw-story-id:{story_id}

Event Value: {second} *(in which second exited)

sw-story-watched

Description: Pushed when a story exited. Story could be exited by user intent, auto playing (story duration end), or user swiping/clicking back/forward. Can be used for monitoring average seconds that users view related story.

Event Category: StoryWidget-ID:{widget_id}

Event Action: sw-story-watched

Event Label: sw-story-id:{story_id}

Event Value: {second} *(watch duration)

sw-story-paused

Description: Pushed when a story paused by user intent (long touch).

Event Category: StoryWidget-ID:{widget_id}

Event Action: sw-story-paused

Event Label: sw-story-id:{story_id}

Event Value:

sw-story-next

Description: Pushed when a story is skipped to next by user intent (via swipe or click)

Event Category: StoryWidget-ID:{widget_id}

Event Action: sw-story-next

Event Label: sw-story-id:{story_id}

Event Value:

sw-story-prev

Description: Pushed when a story is skipped back to previous by user intent (via swipe or click)

Event Category: StoryWidget-ID:{widget_id}

Event Action: sw-story-prev

Event Label: sw-story-id:{story_id}

Event Value:

sw-story-cta-triggered

Description: Pushed when a story target redirected to target page (via swipe up or icon click)

Event Category: StoryWidget-ID:{widget_id}

Event Action: sw-story-cta-triggered

Event Label: sw-story-id:{story_id}

Event Value: