Google Analytics Screen Name for Events

I am confused about the "Screen Name" dimension in Google Analytics.

If you go to Behavior → Events → Screens, you will see it.

I am wondering how you can attach a screen name to an event. I am currently tracking view (hits) and events (hits). I thought analytics could get the screen name for the event by looking at the last screen. But this does not seem to be the case.

Btw I am using a measurement protocol.

Any ideas on this?

+3
source share
2 answers

I thought analytics could get the screen name for the event by looking at the last screen. But this does not seem to be the case.

, . data, Google Analytics, , , ( , ).

(, ), Google Analytics , (, ), , .

( analytics.js SDK Android iOS) tracker, , Google Analytics .

, , , . set , , , - .

analytics.js:

ga('create', 'UA-XXXXX-Y', 'auto');

// Sets the `screenName` field to "Home Screen" for this
// and all subsequent hits.
ga('set', 'screenName', 'Home Screen');

// Sends a screenview hit for "Home Screen"
ga('send', 'screenview');

// Sends an event hit. Since the `screenName` field was
// already set on the tracker, that data will get sent
// with this hit as well.
ga('send', 'event', 'Navigation Links', 'click', '/about');

. analytics.js, SDK Android iOS.

+3

. , , , .

, , , . , .

-2

Source: https://habr.com/ru/post/1607189/


All Articles