@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.
@@ -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/page-view | Page views }
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/page-view | Page views }
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/page-view | Page views }
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/page-view
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?: {
@@ -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/page-view | Page views }
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/page-view | Page views }
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/page-view | Page views }
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/page-view
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?: {
@@ -1415,7 +1415,7 @@ function setConsent(consentSettings) {
1415
1415
  }
1416
1416
 
1417
1417
  var name = "@firebase/analytics";
1418
- var version = "0.10.0-canary.ff1a6ec2c";
1418
+ var version = "0.10.1-20240130223218";
1419
1419
 
1420
1420
  /**
1421
1421
  * The Firebase Analytics Web SDK.