UNPKG

countly-sdk-web-cip

Version:
52 lines (49 loc) 1.05 kB
<html> <head> <!--Countly script--> <script type='text/javascript' src='../lib/countly.js'></script> <script type='text/javascript' src='../plugin/boomerang/countly_boomerang.js'></script> <script type='text/javascript' src="../plugin/boomerang/boomerang-1.0.0.js"></script> <script type='text/javascript'> //initializing countly with params Countly.init({ app_key: "YOUR_APP_KEY", url: "https://try.count.ly", //your server goes here debug:true }) Countly.track_sessions(); //Calling APM plugin method Countly.track_performance({ RT:{ enabled: true }, instrument_xhr: true, AutoXHR: { enabled: true, alwaysSendXhr: true, monitorFetch: true, captureXhrRequestResponse: true }, Continuity: { enabled: true, monitorLongTasks: true, monitorPageBusy: true, monitorFrameRate: true, monitorInteractions: true, afterOnload: true }, NavigationTiming: { enabled: true }, ResourceTiming: { enabled: true, clearOnBeacon: true, urlLimit: 2000, splitAtPath: true } }); </script> </head> <body> </body> </html>