Google Analytics Helper for Swift
Make sure you've added Google Analytics to your project, use the installation information they providde.
add this to the viewDidAppear() of a ViewController you'd like to track
trackScreen(name: "your screen");
add this within the function of your event.
trackEvent("your category", action: "your action", label: "your label", value: nil)
add this to your application didFinishLaunchingWithOptions
setTrackedUserID("your id")
You can use this for what ever you want.
follow me on twitter