mixpanel

module
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2022 License: MIT

README

Mixpanel

Mixpanel API client for Go

Go Reference

Requirements

  • Go 1.16 and above. This module uses embed package introduced for Go 1.16

Dependencies

Ingestion API

Check official docs for Ingestion API details.

Our client offers top-level interface to interact with Mixpanel endpoints. We use semi-official json schema of Event object in tests to validate prepared event data. Check this page in docs for the schema link.

Also we made own OpenAPI schema to describe external Mixpanel Ingestion API. The module uses mentioned schema to validate prepared HTTP requests in tests only.

Events
  • Track Event: ingestion.Client.Track()
  • Track Event with Deduplication: ingestion.Client.TrackDeduplicate()
  • Track Multiple Events: ingestion.Client.TrackBatch()
User Profiles
  • Set Property, Set Property Once, Increment Numerical Property, Append to List Property, Remove from List Property, Delete Property: ingestion.Client.Engage()
  • Update Multiple Profiles: ingestion.Client.EngageBatch()

Directories

Path Synopsis
Package ingestion contains client to interact with Mixpanel Ingestion API.
Package ingestion contains client to interact with Mixpanel Ingestion API.
event
Package event is intended to describe Mixpanel Ingestion API event.
Package event is intended to describe Mixpanel Ingestion API event.
profile
Package profile describes data models to interact with user profiles provided by Mixpanel Ingestion API.
Package profile describes data models to interact with user profiles provided by Mixpanel Ingestion API.
internal
assets
Package assets is intended to manage static content used by module.
Package assets is intended to manage static content used by module.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL