Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.05 KB

README.md

File metadata and controls

47 lines (31 loc) · 1.05 KB

Tracking Gem

Gem for generating example in-app tracking events.

Supported events can be found here. But there these can be extended with new events however correspondingly, need to extend consumers to use new events.

Using

In the gemfile:

gem 'adtekio_tracking', :git => 'https://github.com/adtekio/tracking.gem.git'

Then install using bundler

bundle

Configuration is then:

require 'adtekio_tracking'

AdtekioTracking.configure do |config|
  config.endpoint = ENV['TRACKING_HOST']
end

as found here.

To trigger an event:

AdtekioTracking::Events.new.
  install({:click => click.payload, :install => event.payload})

as found here.

Travis

Build Status