Google Analytics: tracking traffic from multiple devices - android

I'm working on a mobile website that we plan to implement within a android and iphone app as a web view.
I would like to know if is possible to track the source of each pageview. For example which pageviews come from the iphone app, android app or regular browser. Also would like to know if this is possible using just one google analytics account.
For reporting we would like to have it like this:
http://domain.com/index.php - 200 views
AndroidApp - 50 views
IphoneApp - 100 views
Browser - 50 views
is this possible?
Thanks

You have a couple of options:
Set the useragent in the webview. Once a user agent is set, GA will infer the platform etc for the hits.
You could also set some custom dimensions that indicates the platform the webview is running on.
Once you do that, you will be able to segment your reports by your dimension and see which platform is getting what traffic.

It is already tracked for you under
audience -> moble -> overview -> Device Category - gives you either mobile or desktop.
audience -> moble -> devices -> mobile device info - will give you what type of mobile it was.
audience -> technology -> browser & OS - will give you the browser as well.
Edit: To respond to coment below that you cant see pageviews in the Mobile device info screen. You can create your own dashboard widget to show this information.
Click add widget to open the next window
add Mobile device info as your dimension and now you can add pageviews as your metric. Click ok when you are done.

Related

Detect mobile application users by google analytics

we have a mobile website. for example link is m.xyz.com. and a android hybrid app in which we are loading m.xyz.com in webview.
We have implemented google analytics tacking in this website to track page view.
In Google analytics, it is showing all users (mobile browser + android app).
we need a real time user in GA of android application and mobile website.
Is it possible? if yes let me know possible ways.
Unfortunately, you cannot create a custom "real-time" report, but with a little tagging, you can utilize the "Traffic Sources" real-time report.
In your android app, instead of referencing "m.xyz.com" in webview, reference "m.xyz.com?utm_source=myapp&medium=webview", then in the real-time report you should see traffic from Medium "webview" and source "myapp".
we have tried to accomplish this task, but due to time constrain we have not completed our research on this.
Finally We have choose option to publish same website on new subdomail (m2.xyz.com) with new tracking code.

How to see all device list in Firebase Analytics?

In our App we're using FCM, so Firebase analytics is also working.
However, from the dashboard, we can only see top devices.
Is there a way to see more details about devices?
All the models
All OS
Region of all the devices?
etc.
For instance, we want to verify whether some users are being tracked in analytics (by their models), but can't find anyway to do that.
On Analytics -> Dashboard, clicking the three vertical dots then "Download CSV" will give you a CSV with all devices, OS versions, countries, languages, and more, as well as the user distribution for each.
It may also be under the share button (3 connected circles) -> Download File -> Download CSV
There is one way to see the list of devices and OS. In the screenshot you uploaded, click on the Add Filter -> User Property -> {Device Model, Device Brand, App Version, OS Version etc.} will be listed there.
If you have not specified any User Properties your self then also, firebase is Automatically collected user properties. Check the list of properties automatically collected by firebase.
https://support.google.com/firebase/answer/6317486?hl=en
Note: If firebase has collected any of the properties itself you will as I mentioned above.
Good luck!!
Is there any way to download this report
If you hover your mouse over the grey 'other' bar, you can see a more detailed breakdown of the rest of the devices without needing to download the data as a CSV file.
You can see the device information (model and OS) on Firebase Dashboard page, in the Device tab of the last card
You can see them on Google Analytics as well if you have it linked with your Firebase project. The path is Technology -> App -> Device Models.
You can see the device list in Firebase Analytics. In dashboard -> device model click in view device model. You can see list of all the devices with details.

Automatically save url as launchable app on smart devices

Firstly, I'm aware of how to save a web URL to a smart device as a user as is explained in these answers (usually by saving the tab from the browser). These take multiple steps and vary depending on device, thus requiring research which most vanilla users of smart devices do not do.
Create a Android launch icon for Website
Add to homescreen on mobile phone
My question is from the perspective of the app owner. The end goal is to let create a link on the web app allowing users "Create Homescreen icon" from 1 click. I suspect this is not possible as it would create a huge security risk to the devices allowing random unsafe URL'S to potentially try and create unlimited shortcuts but I'd like to ask nonetheless.
Answers such as these make a URL support app creation, however it leaves the task of creating the shortcut to the user instead of the URL.
"Add to homescreen" button in Android does not show website as a Web App
I hope my question is clear enough, if it is not I'm more than willing to elaborate.
Chrome on Android two new features 1) Web App Manifest that describes what should be launched from the home screen and how it should look on the homescreen, and 2) Chrome now has an beforeinstallprompt event that will trigger for Web apps that we think are app-like and can be installed to the homescreen.
There are a number of criteria for the onbeforeinstallprompt event to fire.
The event only fires if:
The site has a manifest, is on https and has a service worker. (this can be quite a stretch).
The user has engaged with the site multiple times (right now, twice within at least 5 minutes).
The user has not already added your site to the home-screen.
If all you want to do is detect if you should display a banner to prompt the user to add your web-app to the homescreen then Chrome already has a solution for you.
We also have a full range of samples on our samples site.

Why do I see results on my Google Analytics portal even before I run my app?

I got a new Google Analytics ID for my Android app (a game) in development (unreleased) around a week ago.
Only today, I integrated Google Analytics SDK into my game, tested it and made it send events.
For the first time, I opened my Google Analytics portal for my game and much to my astonishment, it has recorded app "views" and "sessions" from last week even before I integrated the SDK into my game (which is still unreleased).
It has recorded 40 "new users" yesterday. It doesn't make any sense.
Is there an explanation for this?
PS: Under "top device models", it shows iPhone which is impossible since my game doesn't work on iPhone.
I did check to ensure that this is the right GA ID and there is no doubt that my game is correctly associated with the GA ID.
What you are seeing are the activities of spam "visits", where the hits don't actually visit your site but rather simply, and agnostically, target your property ID. So whether you have a web app or a native mobile app, you may be hit with these "visits". You will need to set up filters to prevent these activities from affecting your data, including a filter to only allow hits from a white listed set of valid hostnames and a filter on the campaign source. This article has some great tips on how to set those up: http://www.analyticsedge.com/2014/12/removing-referral-spam-google-analytics/

Android printing in kiosk mode

I'm trying to build an Android application that will run in Kiosk mode. Guests will scan their tickets, and a name tag should automatically print for them with a welcome message on it.
I'm trying to do this using Google Cloud Printing. Right now I'm simply using the sample code from the official tutorial, and it works so far (as in, I can print documents and everything), but I have to run through two dialog pages:
1 to select the printer in question, and
2 to select the printing preferences.
Is there any way to skip these two dialogs? I would like the user to have as little interaction with the app as possible.

Categories

Resources