Comments (6)
Analytics.setScreenName('my_screen_name')?
from react-native-firebase-analytics.
@sibelius I donβt think firebase SDK supports that
from react-native-firebase-analytics.
Just log your screen
Something like this..
import Analytics from 'react-native-firebase-analytics';
// somewhere in your code, for example componentDidMount
// Firebase Analytics
Analytics.logEvent('view_my_screenX', {
'item_id': product._id,
'in_stock': product.inStock,
'some_nice': "other_value"
});
from react-native-firebase-analytics.
Will this work ? for tracking screen view ?
Analytics.logEvent("screen_view",{
"name":"my_screen_name"
})
from react-native-firebase-analytics.
@evollu I think Analytics.setScreenName('Screen Name') makes more sense, however one needs to be careful to tag all screens otherwise screen names will be incorrectly assigned to the last tagged screen
from react-native-firebase-analytics.
I think he wants to track screen with custom dimensions
from react-native-firebase-analytics.
Related Issues (20)
- Multiple dex files define HOT 2
- [iOS] <FIRAnalytics/WARNING> setScreenName:screenClass: must be called after a view controller has appeared HOT 7
- "setCurrentScreen must be called from the main thread" error on Android
- How to get Firebase SDK version? HOT 2
- How can I view events by user like in Mixpanel?
- :app:transformClassesWithDexForDebug or ':app:processDebugGoogleServices' errors on compile
- screen_view is reserved, but not in list of reserved names
- Pod vs react-native link HOT 3
- Multiple dex files define Lcom/google/firebase/FirebaseException; HOT 2
- google-services plugin could not detect any version for com.google.android.gms
- [Suggestion] A Logging Feature HOT 1
- firebase-js-sdk compatible? HOT 1
- error: cannot find symbol import com.evollu.react.fa.FIRAnalyticsPackage; HOT 1
- Identifying devices HOT 2
- Default FirebaseApp is not initialized in this process [processName]. Make sure to call FirebaseApp.initializeApp(Context) first.
- ADD_TO_CART not showing item_name attribute & event demographics not showed
- Can't get event from Android.
- missing screenClass on screenView HOT 5
- TypeError: undefined is not an object (evaluating 'FIRAnalytics.setUserId')
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-firebase-analytics.