Latest 0.0.3
License MIT
Platforms osx 10.10, requires ARC

Yet another Google Analytics library for Mac.

Google has official Google Analytics SDKs for mobile platforms such as
iOS and Adnroid, but Google does not provide such a SDK for Mac OS X,
thus, many developers create their own Google Analytics
library. However, existing open-source library does not meet our need.

Some of them send payloads to Google’s measuring API point directly
but not to put them in an upload queue. It may cause creating too many
connections, and it does not sound good for users. It may also fail to
upload payloads if there is no Internet connection, and then we lose
these payloads.

Some of them does not care about the user-agent string contained in
the HTTP connection to send payloads. Google extracts operating system
version and other useful information from user-agent. If we do not
care about it, we lose the information about what the operating
systems and hardware models that our users are using.

That’s why we create another Google Analytics library for
Mac. KKGoogleAnalytics stores payloads in a Core Data database first
and then schedules timers to upload stored payloads, like Google’s own
iOS SDK. It also let the user-agent string carry OS version and
hardware model information.


KKGoogleAnalytics supports Mac OS X 10.7 and above.


You can install KKGoogleAnalytics via CocoaPods.


KKGoogleAnalytics is available under the MIT license.

Latest podspec

    "name": "KKGoogleAnalytics",
    "version": "0.0.3",
    "summary": "Another Google Analytics library for Mac OS X.",
    "description": "Just another Google Analytics library for Mac OSnX. The interface of the library is much likenGoogle's official SDK for iOS, it helps you to donanalytics for not only page views but also appnviews and so on.",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "zonble": "[email protected]"
    "social_media_url": "",
    "platforms": {
        "osx": "10.10"
    "source": {
        "git": "",
        "tag": "0.0.3"
    "source_files": [
    "exclude_files": "Classes/Exclude",
    "resources": "Resources/GoogleAnalytics.xcdatamodeld",
    "requires_arc": true

Pin It on Pinterest

Share This