Skip to content

A simple framework to add Heap tracking to your MacOS apps.

Notifications You must be signed in to change notification settings

marvelapp/Heap-MacOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heap for MacOS 📞

An extremely light Heap MacOS Framework for sending events and tracking users.

Installation: Carthage

  1. Add github "marvelapp/Heap-MacOS" "master" to your Cartfile.
  2. Run carthage update.
  3. Go to your Xcode project's "General" settings. Drag marvelapp/Heap-MacOS.framework from Carthage/Build/macOS to the "Embedded Binaries" section. Make sure “Copy items if needed” is selected and click Finish.

Example

import Heap

Heap.shared.setup(appId: "YOUR APP ID", identity: "[email protected]")

var customAttributes: [String: Any] {
  "Name": "Maxime De Greve"
}

Heap.shared.events.track(event: "Sign Up Click", properties: customAttributes)

More documentation

Soon

About

A simple framework to add Heap tracking to your MacOS apps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published