diff --git a/public/index.html b/public/index.html
index 9154ac7..a8a909f 100644
--- a/public/index.html
+++ b/public/index.html
@@ -4,6 +4,11 @@
+
+
音乐解锁 - By IXarea
diff --git a/src/App.vue b/src/App.vue
index ad44efd..ca7021a 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -140,11 +140,21 @@
title: '解锁成功',
message: '成功解锁 ' + data.title
});
+ let _rp_data = {
+ original: data.original,
+ title: data.title,
+ album: data.album,
+ artist: data.artist,
+ mime: data.mime
+ };
+ console.log(data);
+ _paq.push(["trackEvent", "Unlock", "Success", JSON.stringify(_rp_data)]);
} else {
this.$notify.error({
title: '错误',
- message: '不支持此文件类型'
+ message: '解析此文件时出现问题'
});
+ _paq.push(["trackEvent", "Unlock", "Error", file.name]);
}
@@ -190,7 +200,6 @@
}
}
-