You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/fragments/lib-v1/analytics/js/personalize.mdx
+2-2
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ To record event data, you need the following:
7
7
8
8
For more information, see [Record Events](https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html).
9
9
10
-
###Installation and Configuration
10
+
## Installation and Configuration
11
11
12
12
Register the *AmazonPersonalizeProvider* with the Analytics category:
13
13
You need the tracking ID of your event tracker. For more information, see [Get a Tracking ID](https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html#event-get-tracker).
@@ -38,7 +38,7 @@ Analytics.configure({
38
38
}
39
39
});
40
40
```
41
-
###Working with the API
41
+
## Working with the API
42
42
43
43
You can use the `Identify` event type to track a user identity. This lets you connect a user to their actions and record traits about them. To identify a user, specify a unique identifier for the userId property.
44
44
Consider the following user interactions when choosing when and how often to call record with the Identify eventType:
Amplify UI provides a Higher-Order Component for ease of integrating the In-App Messaging UI with your application. Simply wrap your application root component in, for example, `App.js`.
Copy file name to clipboardExpand all lines: src/fragments/lib-v1/push-notifications/common/receive-device-token.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
Push notifications are delivered to your user's devices through a device token which uniquely identifies your app. Although Amplify will automatically register this token with Amazon Pinpoint, it can still be useful to have access to this token for your app's use cases (e.g. to send direct notifications to a specific device).
2
2
3
-
###onTokenReceived
3
+
## onTokenReceived
4
4
5
5
Add `onTokenReceived` listeners to respond to a token being received by your app.
Copy file name to clipboardExpand all lines: src/fragments/lib/analytics/js/personalize.mdx
+2-2
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ To record event data, you need the following:
7
7
8
8
For more information, see [Record Events](https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html).
9
9
10
-
###Installation and Configuration
10
+
## Installation and Configuration
11
11
12
12
After creating the Amazon Personalize dataset group, you need to add the `personalize:PutEvents` permission to your Amplify IAM user roles.
13
13
@@ -49,7 +49,7 @@ Amplify.configure({
49
49
}
50
50
});
51
51
```
52
-
###Working with the API
52
+
## Working with the API
53
53
54
54
You can use the `Identify` event type to track a user identity. This lets you connect a user to their actions and record traits about them. To identify a user, specify a unique identifier for the userId property.
55
55
Consider the following user interactions when choosing when and how often to call record with the Identify eventType:
0 commit comments