Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samuelbeek/swiftgoogleanalyticshelper
Google Analytics Helper for Swift
https://github.com/samuelbeek/swiftgoogleanalyticshelper
Last synced: 4 days ago
JSON representation
Google Analytics Helper for Swift
- Host: GitHub
- URL: https://github.com/samuelbeek/swiftgoogleanalyticshelper
- Owner: samuelbeek
- Created: 2015-03-04T11:02:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-15T08:49:49.000Z (over 9 years ago)
- Last Synced: 2023-08-19T12:36:06.489Z (about 1 year ago)
- Language: Swift
- Size: 148 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SwiftGoogleAnalyticsHelper
Google Analytics Helper for Swift## Installation
Make sure you've added Google Analytics to your project, use the installation information they providde.## Usage
#### Track Screen
add this to the viewDidAppear() of a ViewController you'd like to tracktrackScreen(name: "your screen");
#### Track Event
add this within the function of your event.trackEvent("your category", action: "your action", label: "your label", value: nil)
#### Set Tracked User
add this to your application didFinishLaunchingWithOptionssetTrackedUserID("your id")
## License
You can use this for what ever you want.follow me on [twitter]("twitter.com/samuelbeek")