You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// If the entry occurred less than 1 second after the previous entry and// less than 5 seconds after the first entry in the session, include the// entry in the current session. Otherwise, start a new session.if(sessionValue&&entry.startTime-lastSessionEntry.startTime<1000&&entry.startTime-firstSessionEntry.startTime<5000){sessionValue+=entry.value;sessionEntries.push(entry);}else{sessionValue=entry.value;sessionEntries=[entry];}
Motivation
Allows more precise tracking.
The text was updated successfully, but these errors were encountered:
Summarize the feature
Recently Google CLS doc was updated with adjustment in CLS tracking - https://web.dev/cls/#measure-cls-in-javascript. We need to update our reporter too.
Basic example
Taken from the doc above -
Motivation
Allows more precise tracking.
The text was updated successfully, but these errors were encountered: