Google Analytics Real-Time Data → Google BigQuery: Enable streaming of session data

Yes, it's possible to obtain data on the sessions from Streaming.

Note: Filters and view settings in your Google Analytics affect the data in the session streaming tables.

In order to do that:

Step 1: Make sure that Streaming was successfully set up and tracking code was added to analytics.js or implemented using Google Tag Manager or Tealium IQ;

Step 2: On my.bi.owox.com choose the streaming pipeline and go to «Session Streaming» tab;

Step 3: Choose required custom dimension Session ID from dropdown list;

Note:Here you select the name of the custom dimension, and in the code you must specify the index custom dimension. 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;

Step 4: Save settings;

Step 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});

 

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.