Added tracking code form.
This commit is contained in:
1 parent
c4b75e4aec
commit
58a1be7a30
27 files changed
+100
-42
No files matched your search
+1
-1
@@ -31,7 +31,7 @@ export function getDevice(screen, browser, os) {
|
||||
}
|
||||
return 'desktop';
|
||||
} else if (MOBILE_OS.includes(os)) {
|
||||
if (os === 'Amazon OS' || width < MOBILE_SCREEN_WIDTH) {
|
||||
if (os === 'Amazon OS' || width > MOBILE_SCREEN_WIDTH) {
|
||||
return 'tablet';
|
||||
}
|
||||
return 'mobile';
|
||||
|
||||
Reference in new issue
Block a user