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
|
@@ -200,5 +200,16 @@ declare class WebsiteAnalytics {
|
|
|
200
200
|
* @returns Promise with a unified timeline of the user’s journey, in chronological order.
|
|
201
201
|
*/
|
|
202
202
|
static userJourney<T>(params: Record<string, any>): AxiosPromise<Response<T>>;
|
|
203
|
+
/**
|
|
204
|
+
* Get a detailed marketing report for the game's landing page.
|
|
205
|
+
* Includes scroll depth, video watch time distribution, and CTA performance.
|
|
206
|
+
*
|
|
207
|
+
* @param params
|
|
208
|
+
* - title_id: string (Required)
|
|
209
|
+
* - start_date?: string (YYYY-MM-DD)
|
|
210
|
+
* - end_date?: string (YYYY-MM-DD)
|
|
211
|
+
* - group_by?: 'country' | 'device'
|
|
212
|
+
*/
|
|
213
|
+
static landingPageReport<T>(params: Record<string, any>): AxiosPromise<Response<T>>;
|
|
203
214
|
}
|
|
204
215
|
export default WebsiteAnalytics;
|
package/dist/esm/index.js
CHANGED
|
@@ -15907,7 +15907,11 @@ var WebsiteAnalyticsRoute = /** @class */ (function () {
|
|
|
15907
15907
|
journey: {
|
|
15908
15908
|
url: '/analytics/journey',
|
|
15909
15909
|
method: HTTP_METHODS.GET
|
|
15910
|
-
}
|
|
15910
|
+
},
|
|
15911
|
+
landingPageReport: {
|
|
15912
|
+
url: '/analytics/reports/landing-page',
|
|
15913
|
+
method: HTTP_METHODS.GET
|
|
15914
|
+
},
|
|
15911
15915
|
};
|
|
15912
15916
|
return WebsiteAnalyticsRoute;
|
|
15913
15917
|
}());
|
|
@@ -16148,6 +16152,19 @@ var WebsiteAnalytics = /** @class */ (function () {
|
|
|
16148
16152
|
{}, // no body data (GET request)
|
|
16149
16153
|
undefined, params);
|
|
16150
16154
|
};
|
|
16155
|
+
/**
|
|
16156
|
+
* Get a detailed marketing report for the game's landing page.
|
|
16157
|
+
* Includes scroll depth, video watch time distribution, and CTA performance.
|
|
16158
|
+
*
|
|
16159
|
+
* @param params
|
|
16160
|
+
* - title_id: string (Required)
|
|
16161
|
+
* - start_date?: string (YYYY-MM-DD)
|
|
16162
|
+
* - end_date?: string (YYYY-MM-DD)
|
|
16163
|
+
* - group_by?: 'country' | 'device'
|
|
16164
|
+
*/
|
|
16165
|
+
WebsiteAnalytics.landingPageReport = function (params) {
|
|
16166
|
+
return Requests.processRoute(WebsiteAnalyticsRoute.routes.landingPageReport, {}, undefined, params);
|
|
16167
|
+
};
|
|
16151
16168
|
return WebsiteAnalytics;
|
|
16152
16169
|
}());
|
|
16153
16170
|
|