Recently I had a specific request, don't allow firebase analytics to collect user's data like gender, age and region (Due to GDPR). I know, we can completely disable Analytics.
Firebase Analytics says:
Analytics automatically logs some user properties; you don't need to add any code to enable them. If you need to collect additional data, you can set up to 25 different Analytics User Properties per project. Note that user property names are case-sensitive and that setting two user properties whose names differ only in case results in two distinct user properties being logged.
You can't use a small set of user property names reserved by Google:
Age
Gender
Interest
I was wondering if there is a way to only disable these users properties which are logged automatically??
Thanks a lot for your effort.
There is no option to exclude any of the automatic properties (except, apparently, on iOS, where you have to do some configuration to enable them). The only configurations are documented here. If you're required not to collect that information about the end user, your only option is to disable Analytics altogether.
Note the the data is fully anonymized. There is no way to track the properties back to a specific end user, unless you add some personally identifying information to a user record, such as a user ID.
Related
Given that I can firebaseAnalytics.setUserProperty("some_property", someValue), it would be reasonable to expect that I can create an audience based on the certain user property right?
Can't find such option in Firebase console
It's not clear in the docs either
Side notes
I know that I can target audiences by one property user_id which is set through firebaseAnalytics.setUserId(someId) but that's not what I want
I am new to Firebase Analytics and I went through some online tutorials to learn about it. I have a simple 'Notes' app (Android) in market, which allow users to create and save notes offline on their device.
It would be great, if I could get a total number of notes that have been created till date with my app. I know, I can add an event which will notify Firebase when user creates a new note, but what about the existing notes that are present in the database?
Is there any way to get such statistics through Firebase Analytics?
UPDATE:
I have included a user property as notes_count, but I am not able to find a way to see the total. How to do it?
You could set a user property with the number of notes the user has created instead of or in addition to logging the event. You are limited to 25 different user properties total though, so use them with care.
Unfortunately, Firebase documentation is incomplete.
There is a filter inside Firebase Analytics panel:
And Firebase Notifications panel:
Which allows to filter users, but there is no instructions on how to set a user property as a Purchasers in the documentation.
The only description about Purchasers in the documents is this link.
I think there must be a command like this:
firebaseAnalytics.setUserProperty("USER_TYPE", "PURCHASERS"/"NONPURCHASERS");
But I have no clue about the Property name or the Value. Does anybody know how to do this?
The Purchasers Audience is one of the two predefined Audience available (the other one being All Users), wherein a Purchaser is defined as:
Users who have completed an in-app purchase or ecommerce purchase.
-- source
I think that pretty much explains it on how a user is labeled as a Purchaser.
You can however, create your own Audience if you prefer (from the same source above):
Create an audience
You create an audience by defining criteria that reference any of the user properties and events (along with any of their parameters) logged by the app. Once created, an audience accumulates users who meet the specified criteria from that point onward. You can create up to 50 audiences.
To create a new audience:
In Firebase Analytics, click the Audiences tab.
Click NEW AUDIENCE.
Enter a name and description for the audience. This name and description will allow you to identify the audience in the management table.
Click Select Event or User Property.
Create one or more conditions that define who should be included in this audience. You can create conditions that include the users who have taken specific actions (Event) or who share a property (User Property). Combine multiple conditions with OR or AND.
Click Create to save your conditions and create the audience.
Here is how you can create your Purchasers audience:
Click audience on the left-side menu
Click new audience on the top right
Select a filter > choose event > choose in_app_purchase
Click add a parameter
count > greater than 0
I'm planning to use Firebase Analytics for my Apps. According to Firebase Docs is possible to set custom user properties docs here Android and IOS. Latter one can use the properties to create audiences in Firebase Analytics Dashboard as described here Analytics DashBoard
I want to use a user custom property as an Array.
For example:
Setting user property to TagsUserLikes=["hashtagBlue","hashtagRed","hashtagGreen"] so latter one I'll be able to track an audience of all the users that follow a particular tag, meaning users that contain the tag in the array.
So latter in the Analytics dashboard a audience defined solely as TagsUserLikes="hastagBlue" will match all users that contain this tag ["hashtagBlue","hashtagRed","hashtagGreen"] and ["hashtagBlue","hashtagDogs"],?
Is this supported in the Google Analytics Dashboard (create audience)?
Is this supported in the Google Big Query?
If Yes How can I achieve this?
tks
Although you could theoretically concatenate a list of tags in one User Property value (and use it for audience creation), the limit on the length of User Property values (36 characters) might make this approach impractical for you.
Alternatively, you can log an event such as "tag_followed" with a parameter "tag_name=" and then you can create an audience of users who log tag_followed with a particular tag_name value.
I want to track some shared preference settings for all users of my app. For example, I have one shared preference that's a boolean and I want the total number of users who have it set to true and the total that are set to false. If a user switches the setting, I want it to reflect in Google Analytics. From what I've gathered I need to set a custom dimension with a user based scope.
What I haven't been able to confirm is what would happen in the following scenario. I have 10 users, 5 have the setting set to true and the other 5 to false. If one of those users switch the preference from true to false, would Google Analytics report the total number of "true" users as 4 or 5? I'm assuming the "false" users would report at 6 regardless.
The results I would want is the "true" users = 4 and the "false" users = 6.
1) Is this possible to accomplish?
2) If so, is this handled automatically at Google Analytics or do I need to manage it in my code?
The closest answer I could find was How to track user preferences with Google Analytics for Android?
Google Analytics tracks "events" not "status" so there can be a lot of confusion. ("Behavior" is a series of events.) It also tracks things like "active users" but that isn't what you are trying to do.
Google gives you the ability to have events and also categorize and name them. So, essentially, you have a these options:
Download and track the data. You will need to track new installs vs. changes (of course).
Report each user's current status when they use it. You will then see "trends" based on who is using the app, but not necessarily changes.
If you have enough usage, just report the changes. it will tell you if users are trending toward one setting or another.
Personally, I track about 2,000 data points across about 50 apps and get a few million events daily. So if there is another way to more directly do what you want, I'd really like to know...