diff --git a/public/script.js b/public/script.js index 21632f6..34f078a 100644 --- a/public/script.js +++ b/public/script.js @@ -320,7 +320,7 @@ url: location.href, title: document.title, referrer: document.referrer || '', - screen: { width: window.innerWidth || 0, height: window.innerHeight || 0 }, + screen: { width: window.innerWidth || window.screen.width, height: window.innerHeight || window.screen.height }, session_id: getSessionId(), name: eventName.trim().toLowerCase(), };