Skip to content

Commit 5ab04da

Browse files
committed
edits
1 parent 00dbd3a commit 5ab04da

File tree

1 file changed

+8
-10
lines changed
  • src/connections/sources/catalog/libraries/website/javascript

1 file changed

+8
-10
lines changed

src/connections/sources/catalog/libraries/website/javascript/index.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -950,16 +950,14 @@ The Segment Inspector is composed of these three components:
950950
- This tab enables you to see the information of a user if you're using the `identify` feature. You can associate the data to an individual and measure their activity across multiple sessions and devices. This tab only shows the user's traits that are on the client.
951951
- If you're not using the `identify` feature, the user remains anonymous.
952952

953-
## Usage in Common Frameworks & SPAs
954-
Note: these examples assume analytics is installed via [npm](https://github.com/segmentio/analytics-next/tree/master/packages/browser)
955-
956-
957-
### Next.js
958-
- [with-segment-analytics](https://github.com/vercel/next.js/tree/canary/examples/with-segment-analytics){:target="_blank”}
959-
- [with-segment-analytics-pages-router](https://github.com/vercel/next.js/tree/canary/examples/with-segment-analytics-pages-router){:target="_blank”}
960-
961-
### Vanilla React, Vue, etc
962-
See [Usage in Common Frameworks & SPAs](https://github.com/segmentio/analytics-next/tree/master/packages/browser#examples--usage-in-common-frameworks-and-spas)
953+
## Example uses
954+
Here are some examples of using Analytics.js 2.0. Note that the examples assume Analytics.js 2.0 is installed through [npm](https://github.com/segmentio/analytics-next/tree/master/packages/browser).
955+
956+
* **Next.js**
957+
* [with-segment-analytics](https://github.com/vercel/next.js/tree/canary/examples/with-segment-analytics){:target="_blank”}
958+
* [with-segment-analytics-pages-router](https://github.com/vercel/next.js/tree/canary/examples/with-segment-analytics-pages-router){:target="_blank”}
959+
* **Vanilla React, Vue**
960+
* See [Usage in Common Frameworks & SPAs](https://github.com/segmentio/analytics-next/tree/master/packages/browser#examples--usage-in-common-frameworks-and-spas){:target="_blank”}
963961

964962
## External dependencies
965963

0 commit comments

Comments
 (0)