mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 14:40:55 +03:00
added analytics for copied, unsupported, and restarted metrics
This commit is contained in:
@@ -7,6 +7,12 @@ const Raven = window.Raven;
|
||||
$(document).ready(function() {
|
||||
//link back to homepage
|
||||
$('.send-new').attr('href', window.location.origin);
|
||||
$('.send-new').click(function() {
|
||||
window.analytics
|
||||
.sendEvent('recipient', 'restarted', {
|
||||
cd2: 'completed'
|
||||
});
|
||||
})
|
||||
|
||||
const filename = $('#dl-filename').html();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user