diff --git a/examples/example_async.html b/examples/example_async.html index bf312bd..7cd1ed6 100644 --- a/examples/example_async.html +++ b/examples/example_async.html @@ -13,6 +13,8 @@ //provide countly initialization parameters Countly.app_key = "YOUR_APP_KEY"; Countly.url = "https://your.server.ly"; //your server goes here + Countly.debug = true; + Countly.loadAPMScriptsAsync = true; if(Countly.app_key === "YOUR_APP_KEY" || Countly.url === "https://your.server.ly"){ console.warn("Please do not use default set of app key and server url") @@ -23,6 +25,9 @@ //track sessions automatically Countly.q.push(['track_sessions']); + //track performance automatically + Countly.q.push(["track_performance"]); + //track sessions automatically Countly.q.push(['track_pageview']); diff --git a/package-lock.json b/package-lock.json index 41e3932..5056a04 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "countly-sdk-js", - "version": "24.11.0", + "version": "24.11.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "countly-sdk-js", - "version": "24.11.0", + "version": "24.11.1", "license": "MIT", "devDependencies": { "@babel/core": "^7.22.9", diff --git a/package.json b/package.json index a708f91..1d8c504 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "countly-sdk-js", - "version": "24.11.0", + "version": "24.11.1", "description": "Countly JavaScript SDK", "type": "module", "main": "Countly.js",