1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ReactNative Firebase Analytics

Posted at

Google Analytics for Firebase

予約イベント

https://rnfirebase.io/docs/v5.x.x/analytics/reserved-events

javascript const reserved = [ 'app_clear_data', 'app_uninstall', 'app_update', 'error', 'first_open', 'first_visit', 'first_open_time', 'first_visit_time', 'in_app_purchase', 'notification_dismiss', 'notification_foreground', 'notification_open', 'notification_receive', 'os_update', 'session_start', 'screen_view', 'user_engagement', 'ad_impression', 'ad_click', 'ad_query', 'ad_exposure', 'adunit_exposure', 'ad_activeiew', ];

Funnel設定

Reference

logEvent(event, params)

Log a custom event with optional params.
Note: up to 100 characters is the maximum character length supported for event parameters.

  • event(string):
  • params(object):

setAnalyticsCollectionEnabled(enabled)

If true, allows the device to collect analytical data and send it to Firebase.
- enabled: false

setCurrentScreen(screenName, screenClassOverride)

  • screenName: 'PoiScreen'
  • screenClassOverride: -

setMinimumSessionDuration(miliseconds)

Sets the minimum engagement time required before starting a session. The default value is 10000 (10 seconds).
- miliseconds: 5000

setSessionTimeoutDuration(miliseconds)

Sets the duration of inactivity that terminates the current session. The default value is 1800000 (30 minutes).
- miliseconds: 1800000

setUserId(id)

  • id: RECID

setUserProperty(name, value)

ユーザー登録ができたら追加

setUserProperties(fieldMapping)

ユーザー登録ができたら追加

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?