Created
June 17, 2018 13:09
-
-
Save arsduo/733ce95abf03217ead61dba05ce6cd84 to your computer and use it in GitHub Desktop.
Sanitizing History - ElmRings Configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app = MyElmApp.fullscreen() | |
myHistoryRecorder = new ElmRings({ | |
allowDownload: true, | |
trackingFrequency: 60 * 1000, // 60 seconds by default | |
shouldSendHistory: isLoggedIn(), // or whatever's appropriate, defaults to true | |
storeHistory: historyData => { | |
// process, upload, make confetti from your history data | |
} | |
}) | |
myHistoryRecorder.startTracking(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment