I have a primary public Liferay website, which is therefore available for both intranet and non-intranet (i.e. public).
I also have a Liferay Intranet website, accessible only to intranet users, as it is protected through the login page. The intranet website login page is public. Upon successful login, the intranet website loads.
In my Analytics account for the main website, I want to distinguish between intranet users and public users (for example, to understand how the 2 categories behave).
Can I use a custom dimension to solve this problem, or is there a better way?
Custom measurement data must be sent via hits (UPDATE: by "hits" I meant either a pageview or an event, I do not mean the measurement area, cfr. Https://developers.google.com/analytics/devguides/ collection / analyticsjs / custom-dims-mets ), so I have to:
send a snapshot of the page from this Intranet website to the main website along with a custom dimension, for example
ga ('send', 'pageview', {'dimension1': "I am an intranet user"});
Is it correct?
- Google Analytics - (, - , - , ..)?
.
, 2 - ( -) . ,
UA (, UA ), . Google (. https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSite#profilesKey)
, (), , , - . , , , .
, ? , (https://support.google.com/analytics/answer/1034342?hl=en) ? .
?
, .
, , . , , .
- Google Analytics -.
, , , .
. , inter/intranet.
, , , ( ).
Google " userID", , . , - ( UUID, ). , , . , .. , , ( , cookie - ).
, , userId ( ). , , , , .
, userID , Google, , . UserId , . cookie, , . , cookie ( , ).
, , .
Source: https://habr.com/ru/post/1624948/More articles:Java best practice: a more detailed class variable in a subclass - javaCommon Apache daemons - scrolling. Stop service hanging - javaHow to run integration test for a specific class in grails 3.0 - grails-3.0Postrgesql - check constraint on a table column defined as an array - postgresqlC: Освобождение дерева двоичного поиска - cDo we have an upper limit for the number of keys in a JSON array in javascript? - jsonhtml: how to start with a space in the title - htmlPrivate implementation for the common interface method - c ++Find rows with a common value in a specific column - linuxThe frequency of characters in an array of string pointers - cAll Articles