Skip to content

Commit 40abc86

Browse files
Apply suggestions from code review
1 parent 82a6314 commit 40abc86

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

src/connections/sources/catalog/libraries/mobile/react-native/destination-plugins/branch-react-native.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,19 @@ title: Analytics React Native Branch Plugin
33
strat: react-native
44
---
55

6-
[Branch](https://branch.io/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners) empowers you to increase mobile revenue with enterprise-grade links built to acquire, engage, and measure across all devices, channels, and platforms. An industry-leading mobile measurement and deep linking platform, trusted by the most top ranking apps to increase efficiency and revenue.
6+
[Branch](https://branch.io/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners){:target="_blank”} empowers you to increase mobile revenue with enterprise-grade links built to acquire, engage, and measure customers across all devices, channels, and platforms. An industry-leading mobile measurement and deep linking platform, trusted by top ranking apps to increase efficiency and revenue.
77

8-
## Getting Started
8+
## Getting started
99

1010
1. From the Segment web app, click **Catalog**.
1111
2. Search for "Branch Metrics" in the Catalog, select it, and choose which of your sources to connect the destination to.
12-
3. On Branch side you will need to [sign up for a free Branch account](http://branch.io/signup?bmp=segment) and follow the steps on their Dashboard to complete set up.
13-
4. Copy your `Branch Key` from the Settings page of your [Branch dashboard](https://dashboard.branch.io/#/settings).
12+
3. On Branch side you will need to [sign up for a free Branch account](http://branch.io/signup?bmp=segment){:target="_blank”} and follow the steps on their Dashboard to complete set up.
13+
4. Copy your `Branch Key` from the Settings page of your [Branch dashboard](https://dashboard.branch.io/#/settings){:target="_blank”}.
1414
5. Paste the Branch Key in the destination settings and click **Save**.
15+
1516
## Installation
1617

17-
You need to install the `@segment/analytics-react-native-plugin-branch` and the `react-native-branch` dependency.
18+
You need to install the `@segment/analytics-react-native-plugin-branch` and the `react-native-branch` dependencies to use the Branch plugin.
1819

1920
Using NPM:
2021
```bash
@@ -28,12 +29,12 @@ yarn add @segment/analytics-react-native-plugin-branch react-native-branch
2829

2930
Run `pod install` after the installation to autolink the Branch SDK.
3031

31-
See [`Branch React Native SDK`](https://github.com/BranchMetrics/react-native-branch-deep-linking-attribution) for more details of this dependency.
32+
See the [Branch React Native SDK](https://github.com/BranchMetrics/react-native-branch-deep-linking-attribution){:target="_blank”} docs for more information about this dependency.
3233
## Usage
3334

34-
Follow the [instructions for adding plugins](https://github.com/segmentio/analytics-react-native#adding-plugins) on the main Analytics client:
35+
Follow the [instructions for adding plugins](https://github.com/segmentio/analytics-react-native#adding-plugins){:target="_blank”} on the main Analytics client.
3536

36-
In your code where you initialize the analytics client call the `.add(plugin)` method with an `BranchPlugin` instance:
37+
In your code where you initialize the analytics client, call the `.add(plugin)` method with an `BranchPlugin` instance:
3738

3839
```ts
3940
import { createClient } from '@segment/analytics-react-native';
@@ -49,7 +50,7 @@ segmentClient.add({ plugin: new BranchPlugin() });
4950

5051
## Identify
5152

52-
If you're not familiar with the Segment Specs, take a look to understand what the [Identify method](/docs/connections/spec/identify/) does. An example call would look like:
53+
If you're not familiar with the Segment Spec, take a moment to understand what the [Identify method](/docs/connections/spec/identify/) does. An example call looks like this:
5354

5455
```ts
5556
const { identify } = useAnalytics();
@@ -65,7 +66,7 @@ When you call `.identify('userId')`, Segment uses Branch's `setIdentity(userId)`
6566

6667
## Track
6768

68-
If you're not familiar with the Segment Specs, take a look to understand what the [Track method](/docs/connections/spec/track/) does. An example call would look like:
69+
If you're not familiar with the Segment Spec, take a moment to understand what the [Track method](/docs/connections/spec/track/) does. An example call looks like this:
6970

7071
```ts
7172
const { track } = useAnalytics();
@@ -79,7 +80,7 @@ track('View Product', {
7980
When you call `track`, Segment translates it automatically and sends the event to Branch's `logEvent()` endpoint.
8081

8182
## Screen
82-
If you're not familiar with the Segment Specs, take a look to understand what the [Page method](/docs/connections/spec/page/) does. An example call would look like:
83+
If you're not familiar with the Segment Spec, take a look to understand what the [Screen method](/docs/connections/spec/screen/) does. An example call looks like this:
8384

8485
```ts
8586
const { screen } = useAnalytics();

0 commit comments

Comments
 (0)