mirror of
https://github.com/hanzoai/firebase-js-sdk.git
synced 2026-09-24 16:59:10 +00:00
1.2 KiB
1.2 KiB
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
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 | Sets custom name for dataLayer array used by gtag.js. |
| gtagName | string | Sets custom name for gtag function. |
SettingsOptions.dataLayerName
Sets custom name for dataLayer array used by gtag.js.
Signature:
dataLayerName?: string;
SettingsOptions.gtagName
Sets custom name for gtag function.
Signature:
gtagName?: string;