Skip to content

A simple ruby script to bulk import/backfill project data into a new Amplitude project

Notifications You must be signed in to change notification settings

vyg/amplitude-importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Amplitude Bulk Uploader

For bulk uploading/backfilling data into an Amplitude project based on an export of project data.

This script is inspired by and updated from here

Simply download your existing project data from Amplitude and point the script to the folder. It will parse and upload the files, log them to a plain text file and should you end up cancelling the script at anytime, it will allow you to pick up the import where you left off.


Prerequisites

  • Get an API key from Amplitude for your project that you wish to import in to.

⚠️ (It's recommended to create a new test project to test the import and everything looks as expected before doing this on your production project)

  • Export all of your existing project data from Amplitudes project detail pane. Download and unzip the file; this will create a new folder with a bunch of gzip'd files. Great, there's nothing else you need to do here, the script will handle the parsing of the gzip'd data.

Usage

  • Install the dependencies
bundle install
  • Run the script
API_KEY=<your API key> bundle exec ruby import.rb <path to folder>

Credits

Thanks to ello for the initial script which this was inspired from

About

A simple ruby script to bulk import/backfill project data into a new Amplitude project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages