View analytics for a specific device - ios

I'm doing a project in Unity that includes Firebase Analytics.
The project is an iOS App that is distributed to a small number of iPads across the country.
The client wants to be able to look at the analytics for each specific device in each area.
Is there a way I can set an identifying name to each device that then reports to the analytics?
I've had a look into 'Set a user ID' but that requires the use of 'BigQuery' which I would have to pay for and would want to avoid incurring extra costs for the client
I basically just want to set a device name (e.g. Device001) which will then group all the relevant data under this variant.
Is there a way I can achieve this?

You can log custom events using method - Analytics.logEvent("Event NAME", parameters: ["Device_ID":"uniqueDeviceIDHere","DeviceName":"Device001"]).
Now in analytics DeviceName and Device_ID will be available as filters.

Related

how to identify an unique id in ios device?

how to identify a unique id in ios device? if I have multiple app with different developer account on same device. How to detect both apps is on the same device?
Example: How to identify Apps A and Apps B is installed on the same device.
different bundle id
build with different developer account
on the same device
iOS 9 and above
Beside a unique id to identify device, any others solution for it?
If you try to make unique ID for each App-device , I think you can make a unique ID by generate MD5 from your bundle ID combined with UDID
But if you wanna detect if App A installed from App B, you can use URL scheme:
Read More here
Or you can read this: Different ways to share data between apps — iOS
How to identify bundleid of any production ios app without installer file
https://www.linkedin.com/pulse/identifying-bundleid-any-production-app-without-ipaapp-buyankar
Go to https://www.apple.com/ios/app-store/
Search for required App Eg: Salesforce App , it will provide the app id in the URL
https://apps.apple.com/in/app/salesforce/id**404249815**
Look up with app id will give us the Json will entire details of the app. Just replace the id in the below URL
https://itunes.apple.com/lookup?**id=404249815**
Eg : JSON response of Salesforce App
{"averageUserRatingForCurrentVersion":4.70164000000000026346924641984514892101287841796875, "userRatingCountForCurrentVersion":184073, "averageUserRating":4.70164000000000026346924641984514892101287841796875, "trackViewUrl":"https://apps.apple.com/us/app/salesforce/id404249815?uo=4", "trackContentRating":"4+", "trackId":404249815, "trackName":"Salesforce", "releaseDate":"2010-11-22T08:00:00Z", "genreIds":["6000", "6005"], "formattedPrice":"Free", "primaryGenreName":"Business", "isVppDeviceBasedLicensingEnabled":true, "minimumOsVersion":"12.0", "sellerName":"salesforce.com", "currentVersionReleaseDate":"2020-05-11T17:59:28Z", "releaseNotes":"We update the Salesforce mobile app regularly to make it faster and more stable for you.\n\nThis version includes bug fixes and performance improvements.", "primaryGenreId":6000, "currency":"USD", "version":"224.060", "wrapperType":"software", "artistId":281826149, "artistName":"salesforce.com", "genres":["Business", "Social Networking"], "price":0.00, "description":"The new Salesforce mobile app is here! \n \nRun your business from your phone -- faster, easier, and with AI as your sidekick. The Salesforce mobile app unlocks a whole new level of productivity, personalization, and speed.\n \nMake smart decisions with AI \nTake immediate action with intelligent views and insights into your business, powered by Einstein Analytics. Get the information you need exactly when you need it to make informed decisions from anywhere.\n \nBuild mobile experiences faster\nWith Lightning now available on mobile, building custom mobile apps is faster and easier—with clicks, not code. Mobile-optimized lightning components? Check. Dynamic and rich mobile record pages? Check. Now anyone can build amazing mobile apps fast.\n \nAccess your entire business\nThe full power of Salesforce is now available from your device. The Salesforce mobile app now includes all your favorite Lightning Apps. And the new navigation bar makes it easier than ever to get to the apps you use most.\n \nWhether you're in the office, on an airplane, or checking in from a coffee shop, the new Salesforce mobile app is your key to productivity.", **"bundleId":"com.salesforce.chatter"**, "userRatingCount":184073}]}
#iOS #mobileautomation #bundleid

FirebaseAnalytics: logging events to multiple projects

I need to send FirebaseAnalytics events to two separate accounts. I've tried working with pure GAI but it is not showing in Firebase console.
How could I do that?
here it is covered for Android, while on the Firebase console, it is exactly the same:
however, it might be better (unless the goal is to tell apart debug & release builds),
to tell apart by the CAMPAIGN and/or CAMPAIGN_DETAILS.
as the Firebase documentation for Reliable Analytics states:
If runtime configuration is required, please note the following caveats:
If you're using AdMob and request ads at startup as recommended, you may miss some Analytics data to related to mobile ads when not using the resource based configuration approach.
Only ever supply a single Google app ID in each distributed variant of your app. For example, if you ship version 1 of your app with a certain GOOGLE_APP_ID in the configuration then upload version 2 with a different ID, it may cause analytics data to be dropped.
On iOS, do not add GoogleService-Info.plist to your project if you are supplying different configuration at run time, as this can result in an apparent change of GOOGLE_APP_ID and result in lost Analytics.
also see Manage project members ...in order to grant access to another Google account.
telling apart by campaigns makes sense, because alike that one can have several campaigns, while being able to compare their performance - which one otherwise could not, at least not that directly.
You need to first configure two different apps in your project. Then you can log separately to each one of them.
More info here: https://firebase.google.com/docs/configure/#support_multiple_environments_in_your_ios_application
Answering my own question.
Judging by the documentation and heavy personal research: there is no legal (or without the black magic) way to split analytics data into two separate Firebase projects.
Quote:
Note: On Android and iOS, Analytics are only logged for the default app
And switching default app on the fly didn't work.
Therefore, our team has decided to acquire google analytics account as a second analytics channel which solves our needs.
Hope it will help someone.
P.S. If you need to split debug data from release data watch Martin's answer.

Apple Search Ads + Localytics

How do you report Apple Search Ads attribution data to Localytics? I don't believe they are an integration partner. I can easily get the information myself by calling requestAttributionDetailsWithBlock on app launch but then how do I properly report that data to Localytics?
Ideally you would set a custom dimension (https://docs.localytics.com/dev/ios.html#custom-dimensions-ios) for users who downloaded the app from ASO.. this would allow the dashboard users to split and filter all reports by this attribution source. You could also tag a custom event (https://docs.localytics.com/dev/ios.html#events-ios) for "Launched from Apple Search Ad" that approach is more limiting when looking at the user behavior downstream but might be easier to implement. Curious to hear how it goes!

Google Analytics for iOS 1-time (per user) event tracking

I am using Google Analytics iOS SDK (version 2 but will upgrade if it solves problem). How can I track what percentage of my app users have pressed a certain button at least once? I set up a lot of event tracking, thinking this would do it, but the reports are in terms of sessions not users. E.g., it will show what percentage of sessions included an event, so a single user may be counted multiple times. I defined a custom dimension variable that is unique for each app install, but I don't see how to use that as aggregation unit.
All I can think of is to define my own "one time events" by keeping my own database on the device and only pass to Google Analytics the first time it occurs. Is there no better way?
Google Analytics now offers User segment. You could create a user segment, and use the particular event you're interested in as a condition.
In the context of app measurement, a User is defined as a unique Client ID, which is the random ID generated by the GA SDK when the application first runs. It remains stable for as long as an app is installed.
More details here: http://analytics.blogspot.com/2013/07/re-imagining-segmentation-in-analytics.html

On which mobile analytics SDK can I define different types of users?

I'm building an iOS app and would like to use a analytics tool (Flurry, localytics or others).
My app will have 2 types of users, where some users can be of the 1st type, some can be of the 2nd type and some will be both kinds.
On which analytics tool can I get adequate reports that take these 2 types into account?
Is there some kind of "tag" that I can use to identify the types of users, and then see those in the reports? For example, a report that shows users only from a certain type.
On Flurry, you can use the setUserID to log the user's assigned ID or username in your system after identifying the user. Please be sure not to use this method to pass any private or confidential information about the user.
(Full disclosure: I work in the Support team at Flurry)
The Quantcast app measurement SDK allows you do exactly what you are asking. It is the "labels" feature of their SDK. It allows you to create audience segments against which you create reports for those users with a given label. This is different than setting a user ID (which the Quantcast SDK allows, but not requires, you to do too) in that a label is simply a tag that many users can share. Multiple labels can be assigned to a given user, and a user's labels can change over time.
(Full disclosure: I work at Quantcast. Also, as of July 2013, the reporting available against labels is rapidly evolving and improving).

Resources