https://github.com/mjc-gh/mixpanel-rails-demo
Demo Rails app using a server-side Mixpanel integration powered by ActionSupport::Notifications framework instrumentation
https://github.com/mjc-gh/mixpanel-rails-demo
Last synced: 7 months ago
JSON representation
Demo Rails app using a server-side Mixpanel integration powered by ActionSupport::Notifications framework instrumentation
- Host: GitHub
- URL: https://github.com/mjc-gh/mixpanel-rails-demo
- Owner: mjc-gh
- Created: 2022-12-29T02:15:17.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-29T14:35:29.000Z (almost 3 years ago)
- Last Synced: 2025-03-15T08:33:34.514Z (7 months ago)
- Language: Ruby
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mixpanel Demo App
This is a demo for [Elegantly integrate Mixpanel with your Rails app
using built-in instrumentation on
dev.to](https://dev.to/mjc/elegantly-integrate-mixpanel-with-your-rails-app-using-built-in-instrumentation-32mn).## Setup
You should be able to run this able with the following minimal setup:
```
rails db:migrate
rails credentials:edit --environment development
```When your editor opens, add the token to a new Mixpanel project to the
YAML as follow:```yml
mixpanel_token: [token]
```Now you can run the app as follows:
```
rails s -p 3000
```And open [this page](http://localhost:3000).