Skip to content

Commit 3f4baa4

Browse files
sileskystayseesong
andauthored
Update src/connections/sources/catalog/libraries/website/javascript/index.md
Co-authored-by: stayseesong <[email protected]>
1 parent 82baf69 commit 3f4baa4

File tree

1 file changed

+2
-4
lines changed
  • src/connections/sources/catalog/libraries/website/javascript

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -655,11 +655,9 @@ No, there is no impact to how events filter.
655655

656656
When you develop against Analytics 2.0, the plugins you write can augment functionality, enrich data, and control the flow and delivery of events. From modifying event payloads to changing analytics functionality, plugins and middleware help to speed up the process of getting things done.
657657

658-
### What is the difference between Source Middleware and Plugins, and which should I use?
658+
Plugins and source middleware accomplish the same thing, but plugins are significantly more powerful (but more verbose to implement).
659659

660-
Plugins and Source Middleware accomplish the same thing, but Plugins are significantly more powerful (but more verbose to implement).
661-
662-
For basic use cases like adding event fields or dropping specific events, use [Source Middleware](#source-middleware). If you need more granular control of the lifecycle, or want to be able to abort segment initialization, you should reach for [Plugins](#plugins-for-advanced-use-cases).
660+
For basic use cases like adding event fields or dropping specific events, use [source middleware](#source-middleware). If you need more granular control of the lifecycle, or want to be able to abort the Segment initialization, you should use [plugins](#plugins-for-advanced-use-cases).
663661

664662
### Source Middleware
665663

0 commit comments

Comments
 (0)