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 > SettingsOptions

SettingsOptions interface

Specifies custom options for your Firebase Analytics instance. You must set these before initializing firebase.analytics().

Signature:

export interface SettingsOptions 

Properties

Property Type Description
dataLayerName? string (Optional) Sets custom name for dataLayer array used by gtag.
gtagName? string (Optional) Sets custom name for gtag function.