Stay organized with collections
Save and categorize content based on your preferences.
Properties
Optional affiliation
affiliation: string
Optional checkout_option
checkout_option: string
Optional checkout_step
checkout_step: number
Optional content_type
content_type: string
Optional coupon
coupon: string
Optional currency
currency: string
Optional description
description: string
event_category
event_category: string
Optional event_label
event_label: string
Optional fatal
fatal: boolean
Optional firebase_screen
firebase_screen: string
Optional firebase_screen_class
firebase_screen_class: string
Optional item_id
item_id: string
Optional item_list_id
item_list_id: string
Optional item_list_name
item_list_name: string
Optional method
method: string
Optional number
number: string
Optional payment_type
payment_type: string
Optional screen_name
screen_name: string
Optional search_term
search_term: string
Optional shipping_tier
shipping_tier: string
Optional transaction_id
transaction_id: string
Optional value
value: number
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-27 UTC.
[null,null,["Last updated 2022-07-27 UTC."],[],[],null,["# EventParams | JavaScript SDK\n\n- [firebase](/docs/reference/js/v8/firebase).\n- [analytics](/docs/reference/js/v8/firebase.analytics).\n- EventParams\n====================================================================================================================\n\nStandard gtag.js event parameters.\nFor more information, see\n[the gtag.js documentation on parameters](https://developers.google.com/gtagjs/reference/parameter).\n\nIndex\n-----\n\n### Properties\n\n- [affiliation](/docs/reference/js/v8/firebase.analytics.EventParams#affiliation)\n- [checkout_option](/docs/reference/js/v8/firebase.analytics.EventParams#checkout_option)\n- [checkout_step](/docs/reference/js/v8/firebase.analytics.EventParams#checkout_step)\n- [content_type](/docs/reference/js/v8/firebase.analytics.EventParams#content_type)\n- [coupon](/docs/reference/js/v8/firebase.analytics.EventParams#coupon)\n- [currency](/docs/reference/js/v8/firebase.analytics.EventParams#currency)\n- [description](/docs/reference/js/v8/firebase.analytics.EventParams#description)\n- [event_category](/docs/reference/js/v8/firebase.analytics.EventParams#event_category)\n- [event_label](/docs/reference/js/v8/firebase.analytics.EventParams#event_label)\n- [fatal](/docs/reference/js/v8/firebase.analytics.EventParams#fatal)\n- [firebase_screen](/docs/reference/js/v8/firebase.analytics.EventParams#firebase_screen)\n- [firebase_screen_class](/docs/reference/js/v8/firebase.analytics.EventParams#firebase_screen_class)\n- [item_id](/docs/reference/js/v8/firebase.analytics.EventParams#item_id)\n- [item_list_id](/docs/reference/js/v8/firebase.analytics.EventParams#item_list_id)\n- [item_list_name](/docs/reference/js/v8/firebase.analytics.EventParams#item_list_name)\n- [items](/docs/reference/js/v8/firebase.analytics.EventParams#items)\n- [method](/docs/reference/js/v8/firebase.analytics.EventParams#method)\n- [number](/docs/reference/js/v8/firebase.analytics.EventParams#number)\n- [payment_type](/docs/reference/js/v8/firebase.analytics.EventParams#payment_type)\n- [promotion_id](/docs/reference/js/v8/firebase.analytics.EventParams#promotion_id)\n- [promotion_name](/docs/reference/js/v8/firebase.analytics.EventParams#promotion_name)\n- [promotions](/docs/reference/js/v8/firebase.analytics.EventParams#promotions)\n- [screen_name](/docs/reference/js/v8/firebase.analytics.EventParams#screen_name)\n- [search_term](/docs/reference/js/v8/firebase.analytics.EventParams#search_term)\n- [shipping](/docs/reference/js/v8/firebase.analytics.EventParams#shipping)\n- [shipping_tier](/docs/reference/js/v8/firebase.analytics.EventParams#shipping_tier)\n- [tax](/docs/reference/js/v8/firebase.analytics.EventParams#tax)\n- [transaction_id](/docs/reference/js/v8/firebase.analytics.EventParams#transaction_id)\n- [value](/docs/reference/js/v8/firebase.analytics.EventParams#value)\n\nProperties\n----------\n\n### Optional affiliation\n\naffiliation: string\n\n### Optional checkout_option\n\ncheckout_option: string\n\n### Optional checkout_step\n\ncheckout_step: number\n\n### Optional content_type\n\ncontent_type: string\n\n### Optional coupon\n\ncoupon: string\n\n### Optional currency\n\ncurrency: string\n\n### Optional description\n\ndescription: string\n\n### event_category\n\nevent_category: string\n\n### Optional event_label\n\nevent_label: string\n\n### Optional fatal\n\nfatal: boolean\n\n### Optional firebase_screen\n\nfirebase_screen: string \nFirebase-specific. Use to log a `screen_name` to Firebase Analytics.\n\n### Optional firebase_screen_class\n\nfirebase_screen_class: string \nFirebase-specific. Use to log a `screen_class` to Firebase Analytics.\n\n### Optional item_id\n\nitem_id: string\n\n### Optional item_list_id\n\nitem_list_id: string\n\n### Optional item_list_name\n\nitem_list_name: string\n\n### Optional items\n\nitems: [Item](/docs/reference/js/v8/firebase.analytics.Item)\\[\\]\n\n### Optional method\n\nmethod: string\n\n### Optional number\n\nnumber: string\n\n### Optional payment_type\n\npayment_type: string\n\n### Optional promotion_id\n\npromotion_id: string\n\n### Optional promotion_name\n\npromotion_name: string\n\n### Optional promotions\n\npromotions: [Promotion](/docs/reference/js/v8/firebase.analytics.Promotion)\\[\\]\n\n### Optional screen_name\n\nscreen_name: string\n\n### Optional search_term\n\nsearch_term: string\n\n### Optional shipping\n\nshipping: [Currency](/docs/reference/js/v8/firebase.analytics#currency)\n\n### Optional shipping_tier\n\nshipping_tier: string\n\n### Optional tax\n\ntax: [Currency](/docs/reference/js/v8/firebase.analytics#currency)\n\n### Optional transaction_id\n\ntransaction_id: string\n\n### Optional value\n\nvalue: number"]]
Standard gtag.js event parameters. For more information, see the gtag.js documentation on parameters.