glitch-javascript-sdk 2.8.2 → 2.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +18 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/WebsiteAnalytics.d.ts +11 -0
- package/dist/esm/index.js +18 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +11 -0
- package/package.json +1 -1
- package/src/api/WebsiteAnalytics.ts +26 -7
- package/src/routes/WebsiteAnalyticsRoute.ts +9 -5
package/dist/cjs/index.js
CHANGED
|
@@ -29091,7 +29091,11 @@ var WebsiteAnalyticsRoute = /** @class */ (function () {
|
|
|
29091
29091
|
journey: {
|
|
29092
29092
|
url: '/analytics/journey',
|
|
29093
29093
|
method: HTTP_METHODS.GET
|
|
29094
|
-
}
|
|
29094
|
+
},
|
|
29095
|
+
landingPageReport: {
|
|
29096
|
+
url: '/analytics/reports/landing-page',
|
|
29097
|
+
method: HTTP_METHODS.GET
|
|
29098
|
+
},
|
|
29095
29099
|
};
|
|
29096
29100
|
return WebsiteAnalyticsRoute;
|
|
29097
29101
|
}());
|
|
@@ -29332,6 +29336,19 @@ var WebsiteAnalytics = /** @class */ (function () {
|
|
|
29332
29336
|
{}, // no body data (GET request)
|
|
29333
29337
|
undefined, params);
|
|
29334
29338
|
};
|
|
29339
|
+
/**
|
|
29340
|
+
* Get a detailed marketing report for the game's landing page.
|
|
29341
|
+
* Includes scroll depth, video watch time distribution, and CTA performance.
|
|
29342
|
+
*
|
|
29343
|
+
* @param params
|
|
29344
|
+
* - title_id: string (Required)
|
|
29345
|
+
* - start_date?: string (YYYY-MM-DD)
|
|
29346
|
+
* - end_date?: string (YYYY-MM-DD)
|
|
29347
|
+
* - group_by?: 'country' | 'device'
|
|
29348
|
+
*/
|
|
29349
|
+
WebsiteAnalytics.landingPageReport = function (params) {
|
|
29350
|
+
return Requests.processRoute(WebsiteAnalyticsRoute.routes.landingPageReport, {}, undefined, params);
|
|
29351
|
+
};
|
|
29335
29352
|
return WebsiteAnalytics;
|
|
29336
29353
|
}());
|
|
29337
29354
|
|