Has anyone used medialets to track iPhone app usage ? Their documentation leaves a lot to be desired..
It shouldn't be too difficult to set up and use the basic features.
Simply include the library in your project and ensure that your target links against it. Then add an entry to your target's info.plist with the key:
MMAppID
The value should be your Medialytics appID.
After thats set up, you should be able to start the tracking from within your AppDelegate's initialize method:
+ (void)initialize
{
[[MMTrackingMgr sharedInstance] startDefaultTrackingWithoutLocation];
}
That will give you the barebones tracking for your app.
As for custom events, I haven't looked into that.
I got this to work. I had to clear some entries in my LIB_SEARCH_PATH. Compiles and links fine now.
I also turned on logging. I see some messages flow thru. All looks fine.
However, now I do not see any usage under my app in the medialets analystics web site. http://www.medialytics.com/app%5Freports/runs
I've emailed their developer support web site. I double checked my MMID.. it is correct.
....log snip... [Session started at 2009-10-21 15:22:55 -0400.] 2009-10-21 15:22:57.609 InternationalNews[5300:207] MMT starting tracking (2.0 build 37) with location (run ID 0) 2009-10-21 15:22:57.615 InternationalNews[5300:207] MMT tracked event => [3:277845777:0] 2009-10-21 15:22:57 -0400: "MMRunStartEvent" (NotConnected) (run ID 108F9711) 2009-10-21 15:22:57.616 InternationalNews[5300:207] MMT finished tracking with location start-up (run ID 108F9711) 2009-10-21 15:22:57.616 InternationalNews[5300:207] MMT tracked event => [3:277845777:0] 2009-10-21 15:22:57 -0400: "TEST RUN" (NotConnected) (run ID 108F9711) 2009-10-21 15:22:57.623 InternationalNews[5300:207] MMT start handling app notification: UIApplicationDidFinishLaunchingNotification (run ID 108F9711) 2009-10-21 15:22:57.626 InternationalNews[5300:207] MMT tracked event => [3:277845777:0] 2009-10-21 15:22:57 -0400: "UIApplicationDidFinishLaunchingNotification" (NotConnected) (run ID 108F9711) 2009-10-21 15:22:57.629 InternationalNews[5300:207] MMT finish handling app notification: UIApplicationDidFinishLaunchingNotification (run ID 108F9711) 2009-10-21 15:23:00.616 InternationalNews[5300:207] MMT got new location: <+37.33168900, -122.03073100> +/- 100.00m (speed -1.00 mps / course -1.00) @ 2009-10-21 15:23:00 -0400 (run ID 108F9711) 2009-10-21 15:23:07.617 InternationalNews[5300:207] MMT max queued event age reached - attempting broadcast (run ID 108F9711) 2009-10-21 15:23:07.867 InternationalNews[5300:207] MMT successfully sent events to server (run ID 108F9711) -- end log snip .--