GitXplorerGitXplorer
t

reparty

public
3 stars
1 forks
1 issues

Commits

List of commits on branch master.
Unverified
d91021824ce00a7911b3c05c296b35787fcae64d

v0.5.2

ttimdorr committed 12 years ago
Unverified
cdc25b8b459fc862fc7dba1ffc9e9c3712035408

Add fields to the Mixpanel engagement report.

ttimdorr committed 12 years ago
Unverified
f6fbb15c699f550fdfdf8baf8eb4dd58891d02ab

v0.5.1

ttimdorr committed 12 years ago
Unverified
9ea00ba8dc52282d3edb22e0dc079919885c1d81

Test engagement report. :+1:

ttimdorr committed 12 years ago
Unverified
ac6b47ec2a49c3bc21026463c7f4b06f379db72e

Add a Mixpanel engagement list (last seen in 24 hours)

ttimdorr committed 12 years ago
Unverified
978564675eed27f36c000c16885d6501e6234bcc

Refactor Mixpanel report to be more generic.

ttimdorr committed 12 years ago

README

The README file for this repository.

Reparty Build Status Dependency Status Code Climate

A business analytics reporting party!

Although initially concentrating on a daily email report, Reparty intends to be an easy tool for generating reports focused on business analytics about your app.

A modular design is used, so reporting on a variety of different data sources is possible. Custom modules can be created within your app. The currently bundled modules are:

  • ActiveRecord, including arbitrary sum/count columns
  • SendGrid
  • Mixpanel (funnels and engagement for now)

Other modules will be added over time. This is in use in production at my company, SalesLoft, so focus will be on the modules that best suit our needs. Feel free to submit a pull request with any modules you have created.

Configuration

You can configure Reparty in an initalizer using a config block:

Reparty.config do |config|
  config.from = "test@test.com"
  config.subject = "SalesLoft JCA Daily Report"

  config.add_report Reparty::Report::ActiveRecord, "New User Signups", :user
end

Better documentation of Reparty and each individual module's configuration is coming. For now, you'll just have to read the code (sorry!). Check the test suite for examples.

Usage

Generating an email is as simple as a rake task:

rake reparty:email[someone@somewhere.com]

You can run this in a cron job or other scheduling system. A weekly email is currently hacked in to the code, which you can run using it's separate rake task:

rake reparty:weekly_email[someone@somewhere.com]

This will likely change in the future, so watch out when upgrading!