Skip to content

Commit b67e342

Browse files
committed
Analytics: Update platform_id.
1 parent 2e4f347 commit b67e342

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dist/gesturekit.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ Analytics.prototype.init = function () {
3737

3838
this.data = {
3939
'json': {
40-
'device_id': '',
41-
'platform_id': 'pc',
40+
'device_id': window.navigator.userAgent,
41+
'platform_id': '8',
4242
'gid': gesturekit._options.gid,
4343
'reports': []
4444
},

dist/gesturekit.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Analytics.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ Analytics.prototype.init = function () {
2828

2929
this.data = {
3030
'json': {
31-
'device_id': '',
32-
'platform_id': 'pc',
31+
'device_id': window.navigator.userAgent,
32+
'platform_id': '8',
3333
'gid': gesturekit._options.gid,
3434
'reports': []
3535
},

0 commit comments

Comments
 (0)