Campaign Measurement - Google Analytics iOS SDK - ios

I want to track my app may be launched by referrals from ad campaigns, websites, or other apps. Therefore, I'm using Google Analytics iOS SDK. Here's guiding document https://developers.google.com/analytics/devguides/collection/ios/v3/campaigns. According to this document, I'll write my own implementation code in application:handleOpenURL: method.
With Android SDK, Google Play app broadcasts an INTENT_REFERRER to our app during installation. This intent contains the value of the referrer parameter of the link used to reach your app's Google Play Store page, if one was present. So, my question is that "Are there any similar things in iOS? How to test it?".
Thanks and best regard,

iTunes doesn't broadcast anything similar to intent_referrer at present. If you use Google Analytics for iOS installs, GA uses Identifier for Advertiser (IDFA) for tracking. When a user taps on an advertisement from a supported network on an app, the IDFA is sent to Google. Then, when your app launches, the IDFA is sent again and compared to list of IDFAs that Google stored from previous taps. That way they can give attribution.
It's obviously not as clean as intent_referrer, but it's the best one can do at present. You can also try fingerprinting etc with Appsflyer, MobileAppTracking etc, but I don't know how accurate those are. I've heard they're not very accurate, but they're better than nothing.
Apple announced adding support for campaign tracking in iTunes Connect. But, we haven't heard about it for a very long time now. So, I won't hold my breath. Hope this helps!

Related

iOS SDK can you mute or cancel incoming calls

I found various threads here about how muting or canceling incoming calls (or messages) with the iOS SDK is not possible, due to the fact that Apple doesn't want an app to access system level settings. Well in fact not possible with the official tools, which means that if you somehow manage to do it, your app will not be accepted in the iTunes store.
Well I have been asked to assess the possibility of such an app that could do just that. Namely my client has seen these two apps
https://itunes.apple.com/us/app/lifesaver-distracted-driving/id874231222?mt=8
https://itunes.apple.com/us/app/at-t-drivemode/id907208943?mt=8
And they are sure that an app, basically exactly like these (based on the functionality) can be made.
So here I am, asking, how did these two apps succeed at the impossible and also how did they manage to get those apps uploaded to the iTunes store, if muting your phone is not an Apple approved option? I am not really asking for source code, although I am certainly not rejecting examples, but moreso I am asking for pointers of what class or book or documentation do I have to look up to figure out if this is possible? Apples CTCall and CT* classes did not seem to help me much.
K
Apple added the CallKit framework in iOS 10 to allow app developers to do this sort of thing, among others. For docs, see:
https://developer.apple.com/reference/callkit
It is now possible to detect and block unwanted phone calls from iOS 10 and above.
See the CallKit framework
The CallKit framework (CallKit.framework) lets VoIP apps integrate
with the iPhone UI and give users a great experience. Use this
framework to let users view and answer incoming VoIP calls on the lock
screen and manage contacts from VoIP calls in the Phone app’s
Favorites and Recents views.
CallKit also introduces app extensions that enable call blocking and
caller identification. You can create an app extension that can
associate a phone number with a name or tell the system when a number
should be blocked.

How to track how much time other app is used?

i want to track how much time other apps in device are used by the user, i want track that time inside my app.for ex. i want track how much time user used the Facebook app, or WhatsApp or any other app.
is there any way to do this...please give any suggestions or example code or any other tutorials..
Thanks,
raki.
I think Apple don't allow tracking when you are out of your app, for tracking time and user activity in my apps, I use flurry.
You can track how long people use your app, sure. One popular way is via Google Analytics iOS SDK
For tracking other apps on the users device, that is simply not possible. You do not have access to other apps you have not developed yourself.
It cannot be done. Apple forbid apps trying to access things outside of their sandbox.

mobile referer in ios

I have iOS application that I would like to promote on different web-sites.
In Google Store I can record Campaign name and use it in application. I'm looking for something similar for iOS but I can't find.
Is it possible at all?
Try to use Mobile App Tracker. It has ability to track publishers statistics. For example it could track how many users installed your app, first sales, custom events and etc. from each promote web site,
There is a Google Analytics SDK for iOS. This link leads to the iOS page for campaign measurement in Google Analytics. As far as I can tell, it works exactly the same as the Android SDK that you linked to in your question. Good luck!

How did Google Music for iOS access data from another iOS App?

Today I downloaded the new Google Music app for iOS and it immediately had me signed in already. I assume they accomplished this using one of the other Google Apps on my phone. To keep this appropriate for StackOverflow, here's the question, specific and objective:
How (technically) can an app (like Google Music) authenticate a user using data from another app (like Google Search or Google Chrome)? I was under the impression that apps in iOS were entirely sand boxed.
I'm very curious in finding a technical explanation for this, so if someone could recommend a way to rephrase or retag the question, please feel free to edit or migrate.
iOS Keychain can be shared with your other apps via access groups, see this for example.

Using Google Analytics on iOS through AdMob Analytics Addon

I have just changed from iAd to AdMob for the ads program on my iOS App.
The thing is that I just hate Apple's statistics at iTunes Connect. I wonder if I can use AdMob's Analytics addon to track all sorts of information such as downloads, devices, etc.
Is there anyway to have an statistical system such as Google Play has?
Well it is little bit hidden... but I have found these two interesting links:
https://developers.google.com/analytics/devguides/collection/ios/v2/
https://developers.google.com/mobile-ads-sdk/docs/admob/conversion-tracking
Good information though.
iOS 9.3, Xcode 7.3
Google Analytics has lots of customization options as to what data is gathered. "You get out of it as much as you put in." I mean, you will need to spend time integrating the analytics correctly to track what you deem significant. Determining what is "significant" is hard. The recommended approach is to start small and branch out into more detail later as you acquire customers.
This is what you'd expect as advertised:
The App Overview report summarizes the most useful information from
all of the Mobile App Analytics reports. Individual Mobile App
Analytics reports are organized into different categories:
Real-Time: See user traffic as it happens on your app. Monitor users, top active screens, top locations, and more. You can use
Real-Time as an end to end debugging tool for your Google Analytics
SDK implementation.
Audience: Get to know the people using your app—where they are, how often and long they use an app, and what devices are popular with
your visitors.
Acquisition: Find out how often your app is downloaded and installed, and how successful certain marketing campaigns are in
attracting visitors.
Behavior: Track in detail the ways users interact with your app. Find out which screens are viewed in a typical visit, or set up Event
Tracking to analyze custom actions, like button clicks and video
plays. Technical exceptions and crashes are also included in this set
of reports.
Conversions: Know the real value of your app. Set up Goals and Ecommerce to track targeted objectives, like completed sign-ups and
product sales.
To anyone who is looking for info on Google Analytics with regard to AdMob, please see this introduction, play the video and tune out for 30 minutes or so, it is very helpful. The topics covered in this link are:
About Google Analytics in AdMob
Set up Google Analytics in AdMob
Analyze a new app in AdMob
Create an audience in AdMob
Stop analyzing an app in AdMob
Google Analytics in AdMob FAQ
Here is the link to how to integrate Google Analytics in an iOS app., Add Analytics to Your iOS App.
Hope this helps!

Resources