Skip to content

Commit 338fb56

Browse files
docs(analytics): Sync changes from firebase.google.com (#9024)
1 parent 3d1ac16 commit 338fb56

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

docs/analytics/_events.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@ events with the library's `log`- methods.
2222
### Predefined events
2323

2424
To help you get started, the Analytics SDK defines a number of
25-
suggested events that are common among different types of apps, including
25+
recommended events that are common among different types of apps, including
2626
retail and ecommerce, travel, and gaming apps. To learn more
2727
[about these events](https://support.google.com/analytics/answer/9322688)
2828
and when to use them, browse the
2929
[Events and properties](https://support.google.com/firebase/topic/6317484)
3030
articles in the Firebase Help Center.
3131

32-
Note: To get the maximum detail in reports, log the suggested events that make
32+
Note: To get the maximum detail in reports, log the recommended events that make
3333
sense for your app and their prescribed parameters. This also ensures that you
3434
benefit from the latest Google Analytics features as
3535
they become available.
3636

3737

38-
You can find the log methods for the suggested event types in the
38+
You can find the log methods for the recommended event types in the
3939
[API reference](https://pub.dev/documentation/firebase_analytics/latest/firebase_analytics/FirebaseAnalytics-class.html).
4040

4141
The following example demonstrates how to log a `select_content` event:
@@ -87,7 +87,7 @@ to any event:
8787

8888
### Custom events
8989

90-
If your application has specific needs not covered by a suggested
90+
If your application has specific needs not covered by a recommended
9191
event type, you can log your own custom events as shown in this example:
9292

9393
```dart

docs/analytics/_user-properties.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
{# This content gets published to the following location: #}
22
{# https://firebase.google.com/docs/analytics/user-properties?platform=flutter #}
33

4-
{# TODO(markarndt): Sync all this content up with Analytics content consolidation plan. #}
4+
{# TODO(markarndt): Sync all this content up with Analytics content
5+
consolidation plan. #}
56

67
## Before you begin
78

8-
Make sure that you've set up your project and can access Analytics as
9-
described in [Get Started with Analytics](get-started).
9+
Make sure that you've set up your project and can access {{analytics}} as
10+
described in [Get Started with {{analytics}}](get-started).
1011

1112
## Set user properties
1213

13-
You can set Analytics User Properties to describe the users of your app.
14-
You can analyze behaviors of various user segments by applying these
15-
properties as filters to your reports.
14+
You can set {{ analytics }} user properties to describe the users of your app.
15+
You can make use of user properties by creating custom definitions, then using
16+
them to apply comparisons in your reports or as audience evaluation criteria.
1617

17-
Set a user property as follows:
18+
To set a user property, follow these steps:
1819

19-
1. Register the property in the [** User Properties ** page](https://console.firebase.google.com/project/_/analytics/userproperty)
20-
of Analytics in the Firebase console. For more information, see
21-
[Set and register a user property](//support.google.com/firebase/answer/6317519?ref_topic=6317489#create-property).
22-
1. Add code to set an Analytics User Property with the `setUserProperty()`
23-
method.
20+
1. Create a custom definition for the user property in the
21+
[**Custom Definitions** page](https://console.firebase.google.com/project/_/analytics/userproperty){: .external}
22+
of _{{analytics}}_ in the {{name_appmanager}}. For more information, see
23+
[Custom dimensions and metrics](//support.google.com/firebase/answer/6317519).
24+
1. Set a user property in your app with the `setUserProperty()` method.
2425

25-
The following example
26-
adds a hypothetical favorite food property, which assigns the value in
27-
`favoriteFood` to the active user:
26+
The following example adds a hypothetical favorite food property, which
27+
assigns the value in `favoriteFood` to the active user:
2828

2929
```dart
3030
await FirebaseAnalytics.instance

0 commit comments

Comments
 (0)