Skip to content

Commit da2bb55

Browse files
authored
Update implementation.md
1 parent fb2623e commit da2bb55

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/connections/sources/catalog/libraries/mobile/react-native/implementation.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ Analytics React Native was built to be as extensible and customizable as possibl
202202
- [React Native navigation](#react-native-navigation)
203203
- [Handle errors](#handle-errors)
204204
- [Report errors from plugins](#report-errors-from-plugins)
205-
- [Native AnonymousId](#native-anonymousid)
206-
- [Retrieving AnonymousId](#retrieving-anonymousid)
205+
- [Native anonymousId](#native-anonymousid)
206+
- [Retrieving the anonymousId](#retrieving-anonymousid)
207207
- [Configure iOS deep link tracking](#configure-ios-deep-link-tracking)
208208
- [Device identifiers](#device-identifiers)
209209

@@ -446,13 +446,14 @@ private AnalyticsReactNativePackage analytics = new AnalyticsReactNativePackage(
446446
analytics.setAnonymousId("My-New-Native-Id");
447447
}
448448
```
449-
### Retrieving AnonymousId
450-
The React Native library does not have a specific method for retrieving anonymousId. However, you can access this value by calling the following in your code:
451-
```js
449+
### Retrieving the anonymousId
450+
The React Native library does not have a specific method for retrieving the anonymousId. However, you can access this value by calling the following in your code:
451+
452+
```js
452453
segmentClient.userInfo.get().anonymousId
453454
```
454455
455-
Retrieving the anonymousId can be useful if you need to pass this value to your backend, or if you are using a web view component with our AJS library and need to link user activity.
456+
Retrieving the anonymousId can be useful if you need to pass this value to your backend, or if you're using a web view component with Segment's Analytics.js library and need to link user activity.
456457
457458
### Configure iOS deep link tracking
458459
> warning ""

0 commit comments

Comments
 (0)