Skip to content

PeelTechnologies/android-amplitude-sampler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

android-amplitude-sampler

A library to use Amplitude with sampling of users to stay under event quota. If you had a large user base, you can reduce your event volume 100x by using a samplingRatio of 1:100. We have successfully used this project even with 1:1000 sampling ratio.

It is as easy as using AmplitudeAnalytics instance instead of Amplitude.getInstance()!

AmplitudeAnalytics amplitude = new AmplitudeAnalytics(app, "my-amplitude-project-id", 100);
amplitude.logEvent("MY_EVENT_NAME");

​* Use with Gradle

  • add to your repositories
    repositories {
        maven { url "https://jitpack.io" }
    }
    
* In your app build.gradle, add:  ```implementation "com.github.PeelTechnologies:android-amplitude-sampler:1.0.2"```

About

Android Library to sample data in Amplitude 1:n

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages