Added tracking code form.
This commit is contained in:
@@ -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