iOS library to detect app stats - iphone

Is there any iOS library which detects various user stats within the app like time spent on a view, number of times app was activated etc.? Any suggestions will be most welcome.
Thanks.

There is an open source project on github:
https://github.com/Countly/countly-sdk-ios
There are many stats SDKs based on web server.

Maybe you can use the google analytics sdk here
or localytics sdk here

I don't know of any native library, there are allot of simple API's to do this. You could however, if you wanted to do it yourself, use some of app delegates methods to log statistics to a plist. But that isn't really the best option. Honestly, Google Analytics on a blank UIWebView page would be an effective and easy solution.

You can use the Flurry analytics sdk here to detects various user stats
**www.flurry.com**

Related

Is it possible to gather other apps data in swift?

I'm building an web application with react-native.
In this app I need to gather some information about users.
One of them is how much time they spend on other apps installed on their phone.
I couldn't find any library for this job, so I've decided to write the native code my self.
For android, apparently there is this UsageStatsManager that can help me achieve what I want.
But when I searched for sth similar in ios, I found lots of old forums saying that this is not possible.
But I recently I saw this:
It is asking for permission to gather other apps data. SO IT IS POSSIBLE?
Any suggestion is appreciated. How am I supposed to this?
There is no API by apple itself for retrieving data of third party applications. This is called "Sandboxing" where applications are restricted from changing the device settings or retrieving/changing other apps data. Hence, why iphones are secure.
What you have shown in your screenshots is to track application data for personalised ads and such. This can be achieved using the AppTrackingTransparency framework provided by apple. You can read more about the framework here.
TL;DR - You can use AppTrackingTransparency for personalisation

Can Sharekit, GoogleMaps open sources used in making iPhone App?

i am using sharekit open source for facebook/twitter sharing , and also Google maps for displaying the maps and all that stuff like driving directions, current location, annotations etc etc in my iPhone application . i just want to know about its acceptance on itunes by apple.
Does Apple Approve share kit?
Can google maps be used in iPhone??
Please give me any idea about it
Thanks
Even though ShareKit is hopelessly dated and not updated since ages (last update over a year ago), there still is no reason for Apple to not approve your app when using it. Personally, I would strongly advise to not use ShareKit as it is super buggy and did not keep up with the latest changes on Twitter's API but that is your choice.
Google Maps also is not a show-stopper at all. As said by others, there are many Apps on the AppStore using it.

Using ads in PhoneGap iPhone app

Does anyone have any insight, experience/links they can point me to for adding ads to an app I'm building on the PhoneGap platform?
I've been searching and not a lot of information out there. Thought I'd ask. Thanks in advance.
Depending on which platform you are looking for, there are different implementations. You can go with a purely web-based approach (integrating google Ads, for example). Given you tagged it with iPhone, I guess you are looking for an iOS solution?
If so, check out the AdPlugin available on GitHub. It is a bit of objective C and a bit of JavaScript that allows you to integrate native iAds into your phonegap-iphone app.

Google Analytics within iPhone SDK 4 Built App

Three questions for iPhone developers using Google Analytics within their apps for tracking use of their apps:
Will using Google Analytics cause us to be in breach of the terms and conditions of the Apple SDK 4 for developers?
If the answer to #1 is YES, then what are we -- as iPhone developers -- allowed to use to track usage of our apps?
Has anyone who is using the iPhone SDK 4 built their apps that included the Google Analytics library and found it not to work? I'm being told by my developer that it doesn't work when you build with a Base SDK set to iPhone Device 4.0 and and an iPhone OS Deployment Target set to iPhone OS 3.0.
Thanks in advance!
Answers to your questions:
Yes, with the current API and data collection it looks like it is not compliant with the terms of the SDK. I am using both Flurry and Google in my apps because they offer different feature sets that I need. While Flurry has been very vocal that they are working with Apple to resolve the terms of the SDK, Google hasn't said a peep. So, I'm nervous about using Google but not Flurry, because I think Flurry will change their data gathering if Apple presses hard enough. In any event, I have made sure that I can rip out either analytics service quickly if Apple rejects my app.
My understanding is that it's fine to collect your own device data, as long as you don't report it to others. You especially don't want to share any data that would hint at new devices. That's what got Flurry in trouble. Just remember that you are under NDA with Apple, so anything not publicly announced is between you and Apple. There are also rules about what you do with Device IDs, so make sure you understand those as well.
I am using Google analytics on iOS 4, with deployment target set to 3.0. While I no longer have a device to test against 3.0, it is deployed on the AppStore and seems to be working. (No crash reports)
Louie, I encourage you to take a look at Localytics, our app analytics service. Our service is real-time, we don't sell data to third parties and we release the source code to our libraries.
We also have an updated library that works better with the multitasking or fast-user switching in iOS 4: http://www.localytics.com/blog/
Check out www.flurry.com - they have an awesome service!
They allow you to add "events" so you know not only how many times the apps been downloaded, opened, removed... but you know what buttons and areas they are navigating to once the app is open.
If your app uses core location, you can even see where the users are on a map. Very cool!
Good luck my friend!

Omniture tracking in iPhone

I want to implement Omniture tracking in an iPhone application. I just have a basic clue on Omniture, that it is third party software that helps you to track keyword searches by your users in your application, and it also helps to present similar searches to the users, and helps reporting. Please correct me if I am wrong as I still digging information on it.
I want to implement the same iPhone form in my application.
I have googled for the information about Omniture tracking, it is scare and there is no help as to how to implement it in an iPhone application.
Can any one guide me how it is done and how to do it iPhone?
I can't give much advice if you're building a native Objective C app, other than to say you should read Omniture's iPhone implementation guide. If you're building an embedded web application, and given that you want to integrate keyword search suggestions, I don't think you have much of a choice, but I'd recommend using their regular JavaScript library the same way you would if you were integrating Omniture into your web site. The js engine on the iPhone is fast enough that you probably won't notice any degradation in performance and the memory footprint's not that big.
It sounds like you only want to use Omniture because it's the one you've heard of. There are other tracking solutions like Flurry and Google Analytics that both offer iOS SDKs and are easier to implement and easier to find documentation about than Omniture.
I recommend Flurry personally as it gives you more device-specific data that Google does.
http://www.flurry.com/product/analytics/index.html
http://code.google.com/apis/analytics/docs/mobile/ios.html