Google Analytics Real-Time Data → Google BigQuery: Set up session data streaming

Before setting up session data streaming, you first need to create a streaming pipeline and make sure you have implemented the tracking code.

Note: The settings and filters applied to your Google Analytics view affect the data in the session streaming tables.

How to set up session data streaming

1. On my.bi.owox.com, select a streaming pipeline and go to Session streaming tab:

Session_data_collection_settings.png

3. Choose required custom dimension Session ID from dropdown list;

Settings_for_Session_data_collection.png

Note:Here you select the name of the custom dimension, and in the code you must specify the index custom dimension.

SessionID_Name_and_Index.png

If you don't have any custom dimension of session scope, you can create it directly in the interface or read how to create it in GA here;

4. Save settings.

5: Make sure that in already set up tracking code you pass id of custom dimension you selected before.

For example: ga('owox.require', 'OWOXBIStreaming', {sessionIdDimension: index}):

Custom_dimension_index.png

To collect user identifiers (user.Id field) and type of visited pages (hits.pageType field) set the optional parameters:

Check that these parameters are passed in the tracking code.

The first table with data about the sessions will appear within 48 hours. You can see structure of the table here.

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.