The Firebase JS SDK is now in BETA!
This EAP site is no longer maintained. See the official Firebase Documentation site for the latest documentation and information about the Firebase JS SDK.

Home > @firebase/analytics > EventParams

EventParams interface

Standard gtag.js event parameters. For more information, see the gtag.js documentation on parameters.

Signature:

export interface EventParams 

Properties

Property Type Description
affiliation? string (Optional)
checkout_option? string (Optional)
checkout_step? number (Optional)
content_id? string (Optional)
content_type? string (Optional)
coupon? string (Optional)
currency? string (Optional)
description? string (Optional)
event_category? string (Optional)
event_label? string (Optional)
fatal? boolean (Optional)
item_list_id? string (Optional)
item_list_name? string (Optional)
items? Item[] (Optional)
method? string (Optional)
number? string (Optional)
page_location? string (Optional)
page_path? string (Optional)
page_title? string (Optional)
payment_type? string (Optional)
promotion_id? string (Optional)
promotion_name? string (Optional)
promotions? Promotion[] (Optional)
screen_name? string (Optional)
search_term? string (Optional)
shipping_tier? string (Optional)
shipping? Currency (Optional)
tax? Currency (Optional)
transaction_id? string (Optional)
value? number (Optional)