Latest 1.1.2
Homepage https://github.com/Splendent/Google-Analytics-for-OS-X
License MIT
Platforms ios 9.0, osx 10.9, requires ARC
Authors ,

Google Analytics SDK for mac OS and iOS

Yet another wrapper, but cross-platform, forked from MacPaw’s Google-Analytics-for-OS-X

This is an Objective-C wrapper around Measurement Protocol

Installation

Google-Analytics-for-OS-X-and-iOS is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "Google-Analytics-for-OS-X-and-iOS"

Usage

    MPAnalyticsConfiguration *configuration = [[MPAnalyticsConfiguration alloc] initWithAnalyticsIdentifier:@"UA-TEST-X"];
    [MPGoogleAnalyticsTracker activateConfiguration:configuration];

Track Event

    [MPGoogleAnalyticsTracker trackEventOfCategory:@"Interaction" action:@"Button Click"
                                             label:@"Track Event Button" value:@0];

Track Timing

    [MPGoogleAnalyticsTracker trackTimingOfCategory:@"Timings" variable:@"App Launch Duration"
                                               time:@100 label:@""];

Debug Window on mac OS

There is a special debug window included in the framework. It can be used by developers/QA/marketing for testing.

ScreenShot

Debug Window on iOS

ScreenShotIOS

License

Google-Analytics-for-OS-X-and-iOS is licensed under the MIT License. See the LICENSE file for more information.

Latest podspec

{
    "name": "Google-Analytics-for-OS-X-and-iOS",
    "version": "1.1.2",
    "summary": "Google Analytics SDK for OS X and iOS",
    "description": "This is an Objective-C wrapper around Google's Measurement Protocol",
    "homepage": "https://github.com/Splendent/Google-Analytics-for-OS-X",
    "screenshots": [
        "https://raw.githubusercontent.com/Splendent/Google-Analytics-for-OS-X/master/screenshot.png",
        "https://raw.githubusercontent.com/Splendent/Google-Analytics-for-OS-X/master/screenshot-ios.png"
    ],
    "license": "MIT",
    "authors": {
        "Denys Stas": "[email protected]",
        "Brandon Wang": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Splendent/Google-Analytics-for-OS-X.git",
        "tag": "1.1.2"
    },
    "social_media_url": "https://twitter.com/MacPaw",
    "platforms": {
        "ios": "9.0",
        "osx": "10.9"
    },
    "requires_arc": true,
    "source_files": "GoogleAnalyticsTracker/*.{h,m,xib}",
    "osx": {
        "source_files": "GoogleAnalyticsTracker/osx/*.{h,m,xib}"
    },
    "ios": {
        "source_files": "GoogleAnalyticsTracker/ios/*.{h,m,xib}"
    },
    "module_name": "GoogleAnalyticsTracker",
    "header_dir": "GoogleAnalyticsTracker"
}

Pin It on Pinterest

Share This