Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Contractbook/analytics

Repository files navigation

Analytics

Universal analytics client, currently only supports Mixpanel and Segment.io. We use it in production.

Installation

The package can be installed by adding analytics to your list of dependencies in mix.exs:

def deps do
  [
    {:analytics, "~> 0.5.0"}
  ]
end

And set your Mixpanel token in config.ex:

config :analytics, :mixpanel,
  token: "my_mixpanel_token"

or Segment config:

config :analytics, :segment,
  write_key: "my_write_key"

The docs can be found at https://hexdocs.pm/analytics.

License

See LICENSE.md.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages