Skip to content

Commit fd50086

Browse files
author
markzegarelli
authored
Merge pull request #1621 from segmentio/ajs2_devx
A.js 2.0 DevX Update
2 parents fdaffa6 + df135e3 commit fd50086

File tree

1 file changed

+7
-5
lines changed
  • src/connections/sources/catalog/libraries/website/javascript

1 file changed

+7
-5
lines changed

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,15 @@ Analytics.js 2.0 provides a reduction in page load time, which improves site per
2626
> Many factors impact page load time, including page weight, network conditions, and hosting locations.
2727
2828

29-
<!-- ### Developer experience
29+
### Developer experience
3030

31-
Analytics.js 2.0 introduces new ways for developers to augment events throughout the event timeline. This enables teams to support:
31+
Analytics.js 2.0 improves developer experience by introducing new ways for developers to augment events throughout the event timeline. For example, developers can augment events either before or after an event occurs, or while the event is in-flight.
3232

33-
- New privacy and consent controls before an event occurs
34-
- Enriching events with customer or page context in-flight using middleware
35-
- Collecting better metrics related to deliverability *after* a message is sent -->
33+
For example, you can use the Analytics.js 2.0 to build features that:
34+
35+
- Ensure you have user consent to track before an event fires
36+
- Enrich events with customer or page context while in-flight with middleware
37+
- Check an event for errors after the event is sent to Segment
3638

3739
## Getting Started
3840

0 commit comments

Comments
 (0)