Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
lib/analytics
test
.formatter.exs
.gitignore
.travis.yml
LICENSE.md
README.md
converalls.json
mix.exs
mix.lock

README.md

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.

You can’t perform that action at this time.