@firebase/analytics 0.10.0-canary.ff1a6ec2c → 0.10.1-20240130223218
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/analytics-public.d.ts +8 -4
- package/dist/analytics.d.ts +8 -4
- package/dist/esm/index.esm.js +1 -1
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/esm/index.esm2017.js +1 -1
- package/dist/esm/index.esm2017.js.map +1 -1
- package/dist/esm/src/api.d.ts +1 -1
- package/dist/esm/src/public-types.d.ts +7 -3
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/src/api.d.ts +1 -1
- package/dist/src/public-types.d.ts +7 -3
- package/package.json +7 -7
|
@@ -53,6 +53,10 @@ export declare interface AnalyticsSettings {
|
|
|
53
53
|
export declare interface ConsentSettings {
|
|
54
54
|
/** Enables storage, such as cookies, related to advertising */
|
|
55
55
|
ad_storage?: ConsentStatusString;
|
|
56
|
+
/** Sets consent for sending user data to Google for advertising purposes. */
|
|
57
|
+
ad_user_data?: ConsentStatusString;
|
|
58
|
+
/** Sets consent for personalized advertising. */
|
|
59
|
+
ad_personalization?: ConsentStatusString;
|
|
56
60
|
/** Enables storage, such as cookies, related to analytics (for example, visit duration) */
|
|
57
61
|
analytics_storage?: ConsentStatusString;
|
|
58
62
|
/**
|
|
@@ -195,17 +199,17 @@ export declare interface GtagConfigParams {
|
|
|
195
199
|
* Whether or not a page view should be sent.
|
|
196
200
|
* If set to true (default), a page view is automatically sent upon initialization
|
|
197
201
|
* of analytics.
|
|
198
|
-
* See {@link https://developers.google.com/analytics/devguides/collection/ga4/
|
|
202
|
+
* See {@link https://developers.google.com/analytics/devguides/collection/ga4/views | Page views }
|
|
199
203
|
*/
|
|
200
204
|
'send_page_view'?: boolean;
|
|
201
205
|
/**
|
|
202
206
|
* The title of the page.
|
|
203
|
-
* See {@link https://developers.google.com/analytics/devguides/collection/ga4/
|
|
207
|
+
* See {@link https://developers.google.com/analytics/devguides/collection/ga4/views | Page views }
|
|
204
208
|
*/
|
|
205
209
|
'page_title'?: string;
|
|
206
210
|
/**
|
|
207
211
|
* The URL of the page.
|
|
208
|
-
* See {@link https://developers.google.com/analytics/devguides/collection/ga4/
|
|
212
|
+
* See {@link https://developers.google.com/analytics/devguides/collection/ga4/views | Page views }
|
|
209
213
|
*/
|
|
210
214
|
'page_location'?: string;
|
|
211
215
|
/**
|
|
@@ -444,7 +448,7 @@ export declare function logEvent(analyticsInstance: Analytics, eventName: 'login
|
|
|
444
448
|
* app instance on this device.
|
|
445
449
|
* @public
|
|
446
450
|
* See
|
|
447
|
-
* {@link https://developers.google.com/analytics/devguides/collection/ga4/
|
|
451
|
+
* {@link https://developers.google.com/analytics/devguides/collection/ga4/views
|
|
448
452
|
* | Page views}.
|
|
449
453
|
*/
|
|
450
454
|
export declare function logEvent(analyticsInstance: Analytics, eventName: 'page_view', eventParams?: {
|
package/dist/analytics.d.ts
CHANGED
|
@@ -53,6 +53,10 @@ export declare interface AnalyticsSettings {
|
|
|
53
53
|
export declare interface ConsentSettings {
|
|
54
54
|
/** Enables storage, such as cookies, related to advertising */
|
|
55
55
|
ad_storage?: ConsentStatusString;
|
|
56
|
+
/** Sets consent for sending user data to Google for advertising purposes. */
|
|
57
|
+
ad_user_data?: ConsentStatusString;
|
|
58
|
+
/** Sets consent for personalized advertising. */
|
|
59
|
+
ad_personalization?: ConsentStatusString;
|
|
56
60
|
/** Enables storage, such as cookies, related to analytics (for example, visit duration) */
|
|
57
61
|
analytics_storage?: ConsentStatusString;
|
|
58
62
|
/**
|
|
@@ -195,17 +199,17 @@ export declare interface GtagConfigParams {
|
|
|
195
199
|
* Whether or not a page view should be sent.
|
|
196
200
|
* If set to true (default), a page view is automatically sent upon initialization
|
|
197
201
|
* of analytics.
|
|
198
|
-
* See {@link https://developers.google.com/analytics/devguides/collection/ga4/
|
|
202
|
+
* See {@link https://developers.google.com/analytics/devguides/collection/ga4/views | Page views }
|
|
199
203
|
*/
|
|
200
204
|
'send_page_view'?: boolean;
|
|
201
205
|
/**
|
|
202
206
|
* The title of the page.
|
|
203
|
-
* See {@link https://developers.google.com/analytics/devguides/collection/ga4/
|
|
207
|
+
* See {@link https://developers.google.com/analytics/devguides/collection/ga4/views | Page views }
|
|
204
208
|
*/
|
|
205
209
|
'page_title'?: string;
|
|
206
210
|
/**
|
|
207
211
|
* The URL of the page.
|
|
208
|
-
* See {@link https://developers.google.com/analytics/devguides/collection/ga4/
|
|
212
|
+
* See {@link https://developers.google.com/analytics/devguides/collection/ga4/views | Page views }
|
|
209
213
|
*/
|
|
210
214
|
'page_location'?: string;
|
|
211
215
|
/**
|
|
@@ -444,7 +448,7 @@ export declare function logEvent(analyticsInstance: Analytics, eventName: 'login
|
|
|
444
448
|
* app instance on this device.
|
|
445
449
|
* @public
|
|
446
450
|
* See
|
|
447
|
-
* {@link https://developers.google.com/analytics/devguides/collection/ga4/
|
|
451
|
+
* {@link https://developers.google.com/analytics/devguides/collection/ga4/views
|
|
448
452
|
* | Page views}.
|
|
449
453
|
*/
|
|
450
454
|
export declare function logEvent(analyticsInstance: Analytics, eventName: 'page_view', eventParams?: {
|
package/dist/esm/index.esm.js
CHANGED