Skip to content

trackkit / providers/ga4/types / GA4EventParams

Type Alias: GA4EventParams ​

GA4EventParams = object

Defined in: providers/ga4/types.ts:83

GA4 event parameters for Measurement Protocol payloads.

This is a typed view over the standard GA4 event param surface; not all fields are required for every event.

Indexable ​

[key: string]: any

Properties ​

session_id? ​

optional session_id: string

Defined in: providers/ga4/types.ts:85


engagement_time_msec? ​

optional engagement_time_msec: number

Defined in: providers/ga4/types.ts:86


page_location? ​

optional page_location: string

Defined in: providers/ga4/types.ts:89


page_referrer? ​

optional page_referrer: string

Defined in: providers/ga4/types.ts:90


page_title? ​

optional page_title: string

Defined in: providers/ga4/types.ts:91


page_path? ​

optional page_path: string

Defined in: providers/ga4/types.ts:92


user_id? ​

optional user_id: string

Defined in: providers/ga4/types.ts:95


user_properties? ​

optional user_properties: Record<string, any>

Defined in: providers/ga4/types.ts:96


screen_resolution? ​

optional screen_resolution: string

Defined in: providers/ga4/types.ts:99


language? ​

optional language: string

Defined in: providers/ga4/types.ts:100


percent_scrolled? ​

optional percent_scrolled: number

Defined in: providers/ga4/types.ts:103


search_term? ​

optional search_term: string

Defined in: providers/ga4/types.ts:104


content_type? ​

optional content_type: string

Defined in: providers/ga4/types.ts:105


content_id? ​

optional content_id: string

Defined in: providers/ga4/types.ts:106


content_group? ​

optional content_group: string

Defined in: providers/ga4/types.ts:107


engaged_session_event? ​

optional engaged_session_event: 1

Defined in: providers/ga4/types.ts:110


currency? ​

optional currency: string

Defined in: providers/ga4/types.ts:113


value? ​

optional value: number

Defined in: providers/ga4/types.ts:114


coupon? ​

optional coupon: string

Defined in: providers/ga4/types.ts:115


payment_type? ​

optional payment_type: string

Defined in: providers/ga4/types.ts:116


items? ​

optional items: GA4Item[]

Defined in: providers/ga4/types.ts:117


method? ​

optional method: string

Defined in: providers/ga4/types.ts:120

Released under the MIT License.