Skip to content

Commit 960a75a

Browse files
authored
docs(analytics): code comment typo - logAdImpression mentions wrong event (#8180)
1 parent b8aef19 commit 960a75a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

packages/firebase_analytics/firebase_analytics/lib/src/firebase_analytics.dart

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -379,14 +379,13 @@ class FirebaseAnalytics extends FirebasePluginPlatform {
379379
);
380380
}
381381

382-
/// Logs the standard `add_to_wishlist` event.
382+
/// Logs the standard `ad_impression` event.
383383
///
384-
/// This event signifies that an item was added to a wishlist. Use this event
385-
/// to identify popular gift items in your app. Note: If you supply the
386-
/// [value] parameter, you must also supply the [currency] parameter so that
384+
/// This event signifies when a user sees an ad impression. Note: If you supply
385+
/// the [value] parameter, you must also supply the [currency] parameter so that
387386
/// revenue metrics can be computed accurately.
388387
///
389-
/// See: https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.Event.html#ADD_TO_WISHLIST
388+
/// See: https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.Event.html#AD_IMPRESSION
390389
Future<void> logAdImpression({
391390
String? adPlatform,
392391
String? adSource,

0 commit comments

Comments
 (0)