File size: 251 Bytes
1e92f2d | 1 2 3 4 5 6 7 8 9 | export const profilerVersion = () => {
if ( window.location.pathname.includes( '/sites/performance/' ) ) {
return 'logged-in';
} else if ( window.location.pathname.includes( '/speed-test-tool' ) ) {
return 'logged-out';
}
return 'unknown';
};
|