@@ -221,8 +221,8 @@ export function setAnalyticsCollectionEnabled(
221
221
* app instance on this device.
222
222
* @public
223
223
* List of recommended event parameters can be found in
224
- * {@link https://developers.google.com/gtagjs/reference/event
225
- * | the gtag.js reference documentation}.
224
+ * {@link https://developers.google.com/gtagjs/reference/ga4-events
225
+ * | the GA4 reference documentation}.
226
226
*/
227
227
export function logEvent (
228
228
analyticsInstance : Analytics ,
@@ -244,8 +244,8 @@ export function logEvent(
244
244
* app instance on this device.
245
245
* @public
246
246
* List of recommended event parameters can be found in
247
- * {@link https://developers.google.com/gtagjs/reference/event
248
- * | the gtag.js reference documentation}.
247
+ * {@link https://developers.google.com/gtagjs/reference/ga4-events
248
+ * | the GA4 reference documentation}.
249
249
*/
250
250
export function logEvent (
251
251
analyticsInstance : Analytics ,
@@ -267,8 +267,8 @@ export function logEvent(
267
267
* app instance on this device.
268
268
* @public
269
269
* List of recommended event parameters can be found in
270
- * {@link https://developers.google.com/gtagjs/reference/event
271
- * | the gtag.js reference documentation}.
270
+ * {@link https://developers.google.com/gtagjs/reference/ga4-events
271
+ * | the GA4 reference documentation}.
272
272
*/
273
273
export function logEvent (
274
274
analyticsInstance : Analytics ,
@@ -288,8 +288,8 @@ export function logEvent(
288
288
* app instance on this device.
289
289
* @public
290
290
* List of recommended event parameters can be found in
291
- * {@link https://developers.google.com/gtagjs/reference/event
292
- * | the gtag.js reference documentation}.
291
+ * {@link https://developers.google.com/gtagjs/reference/ga4-events
292
+ * | the GA4 reference documentation}.
293
293
*/
294
294
export function logEvent (
295
295
analyticsInstance : Analytics ,
@@ -310,8 +310,8 @@ export function logEvent(
310
310
* app instance on this device.
311
311
* @public
312
312
* List of recommended event parameters can be found in
313
- * {@link https://developers.google.com/gtagjs/reference/event
314
- * | the gtag.js reference documentation}.
313
+ * {@link https://developers.google.com/gtagjs/reference/ga4-events
314
+ * | the GA4 reference documentation}.
315
315
*/
316
316
export function logEvent (
317
317
analyticsInstance : Analytics ,
@@ -333,9 +333,9 @@ export function logEvent(
333
333
* automatically associates this logged event with this Firebase web
334
334
* app instance on this device.
335
335
* @public
336
- * List of recommended event parameters can be found in
337
- * {@link https://developers.google.com/gtagjs/reference/event
338
- * | the gtag.js reference documentation }.
336
+ * See
337
+ * {@link https://developers.google.com/analytics/devguides/collection/ga4/exceptions
338
+ * | Measure exceptions }.
339
339
*/
340
340
export function logEvent (
341
341
analyticsInstance : Analytics ,
@@ -354,16 +354,15 @@ export function logEvent(
354
354
* app instance on this device.
355
355
* @public
356
356
* List of recommended event parameters can be found in
357
- * {@link https://developers.google.com/gtagjs/reference/event
358
- * | the gtag.js reference documentation}.
357
+ * {@link https://developers.google.com/gtagjs/reference/ga4-events
358
+ * | the GA4 reference documentation}.
359
359
*/
360
360
export function logEvent (
361
361
analyticsInstance : Analytics ,
362
362
eventName : 'generate_lead' ,
363
363
eventParams ?: {
364
364
value ?: EventParams [ 'value' ] ;
365
365
currency ?: EventParams [ 'currency' ] ;
366
- transaction_id ?: EventParams [ 'transaction_id' ] ;
367
366
[ key : string ] : any ;
368
367
} ,
369
368
options ?: AnalyticsCallOptions
@@ -375,8 +374,8 @@ export function logEvent(
375
374
* app instance on this device.
376
375
* @public
377
376
* List of recommended event parameters can be found in
378
- * {@link https://developers.google.com/gtagjs/reference/event
379
- * | the gtag.js reference documentation}.
377
+ * {@link https://developers.google.com/gtagjs/reference/ga4-events
378
+ * | the GA4 reference documentation}.
380
379
*/
381
380
export function logEvent (
382
381
analyticsInstance : Analytics ,
@@ -393,9 +392,9 @@ export function logEvent(
393
392
* automatically associates this logged event with this Firebase web
394
393
* app instance on this device.
395
394
* @public
396
- * List of recommended event parameters can be found in
397
- * {@link https://developers.google.com/gtagjs/reference/event
398
- * | the gtag.js reference documentation }.
395
+ * See
396
+ * {@link https://developers.google.com/analytics/devguides/collection/ga4/page-view
397
+ * | Page views }.
399
398
*/
400
399
export function logEvent (
401
400
analyticsInstance : Analytics ,
@@ -415,8 +414,8 @@ export function logEvent(
415
414
* app instance on this device.
416
415
* @public
417
416
* List of recommended event parameters can be found in
418
- * {@link https://developers.google.com/gtagjs/reference/event
419
- * | the gtag.js reference documentation}.
417
+ * {@link https://developers.google.com/gtagjs/reference/ga4-events
418
+ * | the GA4 reference documentation}.
420
419
*/
421
420
export function logEvent (
422
421
analyticsInstance : Analytics ,
@@ -440,21 +439,15 @@ export function logEvent(
440
439
* automatically associates this logged event with this Firebase web
441
440
* app instance on this device.
442
441
* @public
443
- * List of recommended event parameters can be found in
444
- * {@link https://developers.google.com/gtagjs/reference/event
445
- * | the gtag.js reference documentation}.
442
+ * See {@link https://firebase.google.com/docs/analytics/screenviews
443
+ * | Track Screenviews}.
446
444
*/
447
445
export function logEvent (
448
446
analyticsInstance : Analytics ,
449
447
eventName : 'screen_view' ,
450
448
eventParams ?: {
451
- app_name : string ;
452
- screen_name : EventParams [ 'screen_name' ] ;
453
449
firebase_screen : EventParams [ 'firebase_screen' ] ;
454
450
firebase_screen_class : EventParams [ 'firebase_screen_class' ] ;
455
- app_id ?: string ;
456
- app_version ?: string ;
457
- app_installer_id ?: string ;
458
451
[ key : string ] : any ;
459
452
} ,
460
453
options ?: AnalyticsCallOptions
@@ -466,8 +459,8 @@ export function logEvent(
466
459
* app instance on this device.
467
460
* @public
468
461
* List of recommended event parameters can be found in
469
- * {@link https://developers.google.com/gtagjs/reference/event
470
- * | the gtag.js reference documentation}.
462
+ * {@link https://developers.google.com/gtagjs/reference/ga4-events
463
+ * | the GA4 reference documentation}.
471
464
*/
472
465
export function logEvent (
473
466
analyticsInstance : Analytics ,
@@ -485,17 +478,15 @@ export function logEvent(
485
478
* app instance on this device.
486
479
* @public
487
480
* List of recommended event parameters can be found in
488
- * {@link https://developers.google.com/gtagjs/reference/event
489
- * | the gtag.js reference documentation}.
481
+ * {@link https://developers.google.com/gtagjs/reference/ga4-events
482
+ * | the GA4 reference documentation}.
490
483
*/
491
484
export function logEvent (
492
485
analyticsInstance : Analytics ,
493
486
eventName : 'select_content' ,
494
487
eventParams ?: {
495
- items ?: EventParams [ 'items' ] ;
496
- promotions ?: EventParams [ 'promotions' ] ;
497
488
content_type ?: EventParams [ 'content_type' ] ;
498
- content_id ?: EventParams [ 'content_id ' ] ;
489
+ item_id ?: EventParams [ 'item_id ' ] ;
499
490
[ key : string ] : any ;
500
491
} ,
501
492
options ?: AnalyticsCallOptions
@@ -507,8 +498,8 @@ export function logEvent(
507
498
* app instance on this device.
508
499
* @public
509
500
* List of recommended event parameters can be found in
510
- * {@link https://developers.google.com/gtagjs/reference/event
511
- * | the gtag.js reference documentation}.
501
+ * {@link https://developers.google.com/gtagjs/reference/ga4-events
502
+ * | the GA4 reference documentation}.
512
503
*/
513
504
export function logEvent (
514
505
analyticsInstance : Analytics ,
@@ -528,8 +519,8 @@ export function logEvent(
528
519
* app instance on this device.
529
520
* @public
530
521
* List of recommended event parameters can be found in
531
- * {@link https://developers.google.com/gtagjs/reference/event
532
- * | the gtag.js reference documentation}.
522
+ * {@link https://developers.google.com/gtagjs/reference/ga4-events
523
+ * | the GA4 reference documentation}.
533
524
*/
534
525
export function logEvent (
535
526
analyticsInstance : Analytics ,
@@ -549,8 +540,8 @@ export function logEvent(
549
540
* app instance on this device.
550
541
* @public
551
542
* List of recommended event parameters can be found in
552
- * {@link https://developers.google.com/gtagjs/reference/event
553
- * | the gtag.js reference documentation}.
543
+ * {@link https://developers.google.com/gtagjs/reference/ga4-events
544
+ * | the GA4 reference documentation}.
554
545
*/
555
546
export function logEvent (
556
547
analyticsInstance : Analytics ,
@@ -569,16 +560,16 @@ export function logEvent(
569
560
* app instance on this device.
570
561
* @public
571
562
* List of recommended event parameters can be found in
572
- * {@link https://developers.google.com/gtagjs/reference/event
573
- * | the gtag.js reference documentation}.
563
+ * {@link https://developers.google.com/gtagjs/reference/ga4-events
564
+ * | the GA4 reference documentation}.
574
565
*/
575
566
export function logEvent (
576
567
analyticsInstance : Analytics ,
577
568
eventName : 'share' ,
578
569
eventParams ?: {
579
570
method ?: EventParams [ 'method' ] ;
580
571
content_type ?: EventParams [ 'content_type' ] ;
581
- content_id ?: EventParams [ 'content_id ' ] ;
572
+ item_id ?: EventParams [ 'item_id ' ] ;
582
573
[ key : string ] : any ;
583
574
} ,
584
575
options ?: AnalyticsCallOptions
@@ -590,8 +581,8 @@ export function logEvent(
590
581
* app instance on this device.
591
582
* @public
592
583
* List of recommended event parameters can be found in
593
- * {@link https://developers.google.com/gtagjs/reference/event
594
- * | the gtag.js reference documentation}.
584
+ * {@link https://developers.google.com/gtagjs/reference/ga4-events
585
+ * | the GA4 reference documentation}.
595
586
*/
596
587
export function logEvent (
597
588
analyticsInstance : Analytics ,
@@ -609,8 +600,8 @@ export function logEvent(
609
600
* app instance on this device.
610
601
* @public
611
602
* List of recommended event parameters can be found in
612
- * {@link https://developers.google.com/gtagjs/reference/event
613
- * | the gtag.js reference documentation}.
603
+ * {@link https://developers.google.com/gtagjs/reference/ga4-events
604
+ * | the GA4 reference documentation}.
614
605
*/
615
606
export function logEvent (
616
607
analyticsInstance : Analytics ,
@@ -631,8 +622,8 @@ export function logEvent(
631
622
* app instance on this device.
632
623
* @public
633
624
* List of recommended event parameters can be found in
634
- * {@link https://developers.google.com/gtagjs/reference/event
635
- * | the gtag.js reference documentation}.
625
+ * {@link https://developers.google.com/gtagjs/reference/ga4-events
626
+ * | the GA4 reference documentation}.
636
627
*/
637
628
export function logEvent (
638
629
analyticsInstance : Analytics ,
@@ -652,8 +643,8 @@ export function logEvent(
652
643
* app instance on this device.
653
644
* @public
654
645
* List of recommended event parameters can be found in
655
- * {@link https://developers.google.com/gtagjs/reference/event
656
- * | the gtag.js reference documentation}.
646
+ * {@link https://developers.google.com/gtagjs/reference/ga4-events
647
+ * | the GA4 reference documentation}.
657
648
*/
658
649
export function logEvent (
659
650
analyticsInstance : Analytics ,
@@ -673,8 +664,8 @@ export function logEvent(
673
664
* app instance on this device.
674
665
* @public
675
666
* List of recommended event parameters can be found in
676
- * {@link https://developers.google.com/gtagjs/reference/event
677
- * | the gtag.js reference documentation}.
667
+ * {@link https://developers.google.com/gtagjs/reference/ga4-events
668
+ * | the GA4 reference documentation}.
678
669
*/
679
670
export function logEvent < T extends string > (
680
671
analyticsInstance : Analytics ,
@@ -689,8 +680,8 @@ export function logEvent<T extends string>(
689
680
* app instance on this device.
690
681
* List of official event parameters can be found in the gtag.js
691
682
* reference documentation:
692
- * {@link https://developers.google.com/gtagjs/reference/event
693
- * | the gtag.js reference documentation}.
683
+ * {@link https://developers.google.com/gtagjs/reference/ga4-events
684
+ * | the GA4 reference documentation}.
694
685
*
695
686
* @public
696
687
*/
0 commit comments