1/* global LogRocket, */ 2// 3import './lib/logrocket.js'; // import LogRocket from 'logrocket'; 4 5LogRocket.init('ox0wqw/mynetlify'); 6 7fetch('https://api.ipify.org?format=json') 8 .then((data) => data.json()) 9 .then((data) => { 10 const { host, pathname: path } = window.location; 11 console.log('log:rock', data.ip, 'from', host, 'at', path); 12 13 LogRocket.identify(data.ip, { 14 name: 'user', 15 email: `user@${data.ip}`, 16 // Add your own custom user variables here, ie: 17 custom: `host ${host}`, 18 }); 19 20 LogRocket.track('pageload', { 21 path, 22 etc: 'etc', 23 }); 24 });
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.