code-corps / code-corps/code-corps-api

Add tracking events to analytics for tracking donations

Open
#525 1 comment 0 reactions 1 assignee Claimed by @begedin View on GitHub
in progress
Dominant language
Elixir
Stars
234
Forks
82
PR merge metrics
No merged PRs in 30d

Description

# Problem

We should try to track the following, using the pattern of our Segment Analytics code in `lib`, the tracking we do in controllers, and the test tracking we do in tests.

## Subtasks
- [ ] When a user creates a Stripe Customer
- [x] When a user creates a platform card
- [ ] When a user creates a connect card
- [ ] When a user creates a subscription
- [x] When an organization creates a StripeConnectAccount
- [ ] When a project creates donation goals
- [ ] When a project donation goal is updated
- [ ] When a project donation goal is passed
- [ ] When a customer charge succeeds
- [ ] When a subscription is cancelled
- [ ] When a project activates donations
- [ ] When a card expires

Any others I can't think of off the top of my head right now.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.