#1 Measurement Protocol Version 2
‘v’ is used to denote the measurement protocol version.
The value of this parameter for GA4 is 2
For example: v=2 as in:
https://analytics.google.com/g/collect?v=2&tid=G-7KE5STV3EN>m=2oebu0&_p=1296718930&sr=1920×1080&_gaz=1&ul=en-gb&cid=1878237460.1594221501&_s=1&dl=https%3A%2F%2Fga4guide.com%2Fanalysis-hub-google-analytics-how-to-use-the-exploration-report%2F&dr=https%3A%2F%2Fga4guide.com%2F%3Fs%3Dadvanced%2Banalysis&dt=Analysis%20Hub%20Google%20Analytics%20-%20How%20to%20use%20the%20Exploration%20Report%20in%20GA4%20-%20ga4%20guide&sid=1608149273&sct=154&seg=0&en=page_view&_ss=1
Note: Universal analytics uses measurement protocol version 1
#2 Measurement ID
In the case of GA4, ‘tid’ denotes the measurement ID (and not the tracking ID).
The value of this parameter should be the measurement ID of the data stream, where you want to send the payload data.
For example: tid=G-7KE5STV3EN as in:
https://analytics.google.com/g/collect?v=2&tid=G-7KE5STV3EN>m=2oebu0&_p=1296718930&sr=1920×1080&_gaz=1&ul=en-gb&cid=1878237460.1594221501&_s=1&dl=https%3A%2F%2Fga4guide.com%2Fanalysis-hub-google-analytics-how-to-use-the-exploration-report%2F&dr=https%3A%2F%2Fga4guide.com%2F%3Fs%3Dadvanced%2Banalysis&dt=Analysis%20Hub%20Google%20Analytics%20-%20How%20to%20use%20the%20Exploration%20Report%20in%20GA4%20-%20ga4%20guide&sid=1608149273&sct=154&seg=0&en=page_view&_ss=1
#3 Screen Resolution
‘sr’ is used to collect the screen resolution data of your user.
For example: sr=1920×1080 as in:
https://analytics.google.com/g/collect?v=2&tid=G-7KE5STV3EN>m=2oebu0&_p=1296718930&sr=1920×1080&_gaz=1&ul=en-gb&cid=1878237460.1594221501&_s=1&dl=https%3A%2F%2Fga4guide.com%2Fanalysis-hub-google-analytics-how-to-use-the-exploration-report%2F&dr=https%3A%2F%2Fga4guide.com%2F%3Fs%3Dadvanced%2Banalysis&dt=Analysis%20Hub%20Google%20Analytics%20-%20How%20to%20use%20the%20Exploration%20Report%20in%20GA4%20-%20ga4%20guide&sid=1608149273&sct=154&seg=0&en=page_view&_ss=1
#4 User Language
‘ul’ is used to collect user/browser language data.
For example: ul=en-gb as in:
https://analytics.google.com/g/collect?v=2&tid=G-7KE5STV3EN>m=2oebu0&_p=1296718930&sr=1920×1080&_gaz=1&ul=en-gb&cid=1878237460.1594221501&_s=1&dl=https%3A%2F%2Fwww.oga4guide.com%2Fanalysis-hub-google-analytics-how-to-use-the-exploration-report%2F&dr=https%3A%2F%2Fga4guide.com%2F%3Fs%3Dadvanced%2Banalysis&dt=Analysis%20Hub%20Google%20Analytics%20-%20How%20to%20use%20the%20Exploration%20Report%20in%20GA4%20-%20ga4%2guide&sid=1608149273&sct=154&seg=0&en=page_view&_ss=1
#5 Client ID
‘cid’ is used to denote the client ID (ID which anonymously identifies a particular device / browser and is unique to a particular user).
For example: cid=1878237460.1594221501 as in:
https://analytics.google.com/g/collect?v=2&tid=G-7KE5STV3EN>m=2oebu0&_p=1296718930&sr=1920×1080&_gaz=1&ul=en-gb&cid=1878237460.1594221501&_s=1&dl=https%3A%2F%2Fga4guide.com%2Fanalysis-hub-google-analytics-how-to-use-the-exploration-report%2F&dr=https%3A%2F%2Fga4guide.com%2F%3Fs%3Dadvanced%2Banalysis&dt=Analysis%20Hub%20Google%20Analytics%20-%20How%20to%20use%20the%20Exploration%20Report%20in%20GA4%20-%20ga4%20guide&sid=1608149273&sct=154&seg=0&en=page_view&_ss=1
#6 Session hits count
‘_s’ is used to collect the session hits count data.
For example: _s=1 as in:
https://analytics.google.com/g/collect?v=2&tid=G-7KE5STV3EN>m=2oebu0&_p=1296718930&sr=1920×1080&_gaz=1&ul=en-gb&cid=1878237460.1594221501&_s=1&dl=https%3A%2F%2Fga4guide.com%2Fanalysis-hub-google-analytics-how-to-use-the-exploration-report%2F&dr=https%3A%2F%2Fga4guide.com%2F%3Fs%3Dadvanced%2Banalysis&dt=Analysis%20Hub%20Google%20Analytics%20-%20How%20to%20use%20the%20Exploration%20Report%20in%20GA4%20-%20ga4%20guide&sid=1608149273&sct=154&seg=0&en=page_view&_ss=1
#7 Document location
‘dl’ is used to collect the full URL (encoded URL) of the page which contains the content. The value of this parameter should be a URL (an encoded URL).
For example:
dl=https%3A%2F%2Fga4guide.com%2Fanalysis-hub-google-analytics-how-to-use-the-exploration-report%2F
as in:
https://analytics.google.com/g/collect?v=2&tid=G-7KE5STV3EN>m=2oebu0&_p=1296718930&sr=1920×1080&_gaz=1&ul=en-gb&cid=1878237460.1594221501&_s=1&dl=https%3A%2F%2Fga4guide.com%2Fanalysis-hub-google-analytics-how-to-use-the-exploration-report%2F&dr=https%3A%2F%2Fga4guide.com%2F%3Fs%3Dadvanced%2Banalysis&dt=Analysis%20Hub%20Google%20Analytics%20-%20How%20to%20use%20the%20Exploration%20Report%20in%20GA4%20-%20ga4%20guidet&sid=1608149273&sct=154&seg=0&en=page_view&_ss=1
#8 Document referrer
‘dr’ is used to collect the referral source which sent traffic to your website. The value of this parameter should be a URL (an encoded URL).
For example:
dr=https%3A%2F%2Fga4guide.com%2F%3Fs%3Dadvanced%2Banalysis
as in:
https://analytics.google.com/g/collect?v=2&tid=G-7KE5STV3EN>m=2oebu0&_p=1296718930&sr=1920×1080&_gaz=1&ul=en-gb&cid=1878237460.1594221501&_s=1&dl=https%3A%2F%2Fwww.optimizesmart.com%2Fanalysis-hub-google-analytics-how-to-use-the-exploration-report%2F&dr=https%3A%2F%2Fga4guide.com%2F%3Fs%3Dadvanced%2Banalysis&dt=Analysis%20Hub%20Google%20Analytics%20-%20How%20toga4guide%20use%20the%20Exploration%20Report%20in%20GA4%20-%20ga4%20guide&sid=1608149273&sct=154&seg=0&en=page_view&_ss=1
#9 Document title
‘dt’ is used to collect the page title. The value of this parameter should be a URL encoded text string.
For example:
dt=Analysis%20Hub%20Google%20Analytics%20-%20How%20to%20use%20the%20Exploration%20Report%20in%20GA4%20-%20ga4%20guide
as in:
https://analytics.google.com/g/collect?v=2&tid=G-7KE5STV3EN>m=2oebu0&_p=1296718930&sr=1920×1080&_gaz=1&ul=en-gb&cid=1878237460.1594221501&_s=1&dl=https%3A%2F%2Fga4guide.com%2Fanalysis-hub-google-analytics-how-to-use-the-exploration-report%2F&dr=https%3A%2F%2Fga4guide.com%2F%3Fs%3Dadvanced%2Banalysis&dt=Analysis%20Hub%20Google%20Analytics%20-%20How%20to%20use%20the%20Exploration%20Report%20in%20GA4%20-%20ga4%20guidet&sid=1608149273&sct=154&seg=0&en=page_view&_ss=1
#10 Session ID
‘sid’ is used to denote the session id.
For example: sid=1608149273
as in:
https://analytics.google.com/g/collect?v=2&tid=G-7KE5STV3EN>m=2oebu0&_p=1296718930&sr=1920×1080&_gaz=1&ul=en-gb&cid=1878237460.1594221501&_s=1&dl=https%3A%2F%2Fga4guide.com%2Fanalysis-hub-google-analytics-how-to-use-the-exploration-report%2F&dr=https%3A%2F%2Fga4guide.com%2F%3Fs%3Dadvanced%2Banalysis&dt=Analysis%20Hub%20Google%20Analytics%20-%20How%20to%20use%20the%20Exploration%20Report%20in%20GA4%20-%20ga4%20guide&sid=1608149273&sct=154&seg=0&en=page_view&_ss=1
#11 Session Count
‘sct’ denotes session count i.e. the number of sessions counted for a user.
For example: sct=154
as in:
https://analytics.google.com/g/collect?v=2&tid=G-7KE5STV3EN>m=2oebu0&_p=1296718930&sr=1920×1080&_gaz=1&ul=en-gb&cid=1878237460.1594221501&_s=1&dl=https%3A%2F%2Fga4guide.com%2Fanalysis-hub-google-analytics-how-to-use-the-exploration-report%2F&dr=https%3A%2F%2Fwww.ga4guide .com%2F%3Fs%3Dadvanced%2Banalysis&dt=Analysis%20Hub%20Google%20Analytics%20-%20How%20to%20use%20the%20Exploration%20Report%20in%20GA4%20-%20ga4%20guide&sid=1608149273&sct=154&seg=0&en=page_view&_ss=1
#12 Session Engaged
‘seg’ is used to denote whether a session is engaged or not.
An Engaged session is a GA session in which a user has actively interacted with your website/app for at least 10 seconds. The GA session in which a conversion event is fired or two or more pageviews/screenviews are fired is also reported as an engaged session.
The value of this parameter is of type boolean, either 0 (i.e. not an engaged session) or 1 (i.e. an engaged session).
For example: seg=0
as in:
https://analytics.google.com/g/collect?v=2&tid=G-7KE5STV3EN>m=2oebu0&_p=1296718930&sr=1920×1080&_gaz=1&ul=en-gb&cid=1878237460.1594221501&_s=1&dl=https%3A%2F%2Fga4guide.com%2Fanalysis-hub-google-analytics-how-to-use-the-exploration-report%2F&dr=https%3A%2F%2Fga4guide.com%2F%3Fs%3Dadvanced%2Banalysis&dt=Analysis%20Hub%20Google%20Analytics%20-%20How%20to%20use%20the%20Exploration%20Report%20in%20GA4%20-%20ga4%20guide&sid=1608149273&sct=154&seg=0&en=page_view&_ss=1
#13 Event name
‘en’ is used to denote the name of an event. The value of this parameter should be of type ‘string’.
Following are the example of various possible values for ‘en’ parameter:
en=page_view
en=user_engagement
en=view_search_results
en=click
en=video_start
en=video_progress
en=video_complete
en=file_download
#14 Session Start
‘_ss’ is used to denote session start i.e. whether the current hit started a new session.
The value of this parameter is of type boolean, either 0 (i.e. did not start the new session) or 1 (i.e. started the new session).
For example: _ss=1
as in:
https://analytics.google.com/g/collect?v=2&tid=G-7KE5STV3EN>m=2oebu0&_p=1296718930&sr=1920×1080&_gaz=1&ul=en-gb&cid=1878237460.1594221501&_s=1&dl=https%3A%2F%2Fwww.optimizesmart.com%2Fanalysis-hub-google-analytics-how-to-use-the-exploration-report%2F&dr=https%3A%2F%2Fwww.optimizesmart.com%2F%3Fs%3Dadvanced%2Banalysis&dt=Analysis%20Hub%20Google%20Analytics%20-%20How%20to%20use%20the%20Exploration%20Report%20in%20GA4%20-%20ga4%20guide&sid=1608149273&sct=154&seg=0&en=page_view&_ss=1
The data types supported by Measurement Protocol version 2
The measurement protocol version 2 supports the following data types for the values in the ‘key = value’ pairs of the payload data:
- Integer – used to represent a number
- Text – used to represent a string
- Boolean – used to represent a boolean value (true or false)
- Currency – used to represent the total value of a currency.