docs: migrated images to cloudinary from imgur (#2569)
This commit is contained in:
@@ -52,23 +52,23 @@ You need to [create a Segment account](https://app.segment.com/signup/) to follo
|
||||
|
||||
On your Segment dashboard, choose Catalog from the sidebar under Connections.
|
||||
|
||||

|
||||

|
||||
|
||||
Then, in the catalog list find the Server category and choose Node.js from the list.
|
||||
|
||||

|
||||

|
||||
|
||||
This opens a new side menu. In the side menu, click on Add Source.
|
||||
|
||||

|
||||

|
||||
|
||||
This opens a new page to create a Node.js source. Enter the name of the source then click Add Source.
|
||||
|
||||

|
||||

|
||||
|
||||
On the new source dashboard, you should find a Write Key. You’ll use this key in the next section after you install the Segment plugin on your Medusa server.
|
||||
|
||||

|
||||

|
||||
|
||||
### Optional: Add Destination
|
||||
|
||||
@@ -76,11 +76,11 @@ After you create the Segment source, you can add destinations. This is where the
|
||||
|
||||
To add a destination, on the same Segment source page, click on Add Destination in the Destinations section.
|
||||
|
||||

|
||||

|
||||
|
||||
You can then choose from a list of destinations such as Google Universal Analytics or Facebook Pixel.
|
||||
|
||||

|
||||

|
||||
|
||||
The process of integrating each destination is different, so you must follow the steps detailed in Segment for each destination you choose.
|
||||
|
||||
@@ -126,7 +126,7 @@ Then, try triggering one of the [mentioned events earlier in this document](#eve
|
||||
|
||||
After you place an order, on the Segment source that you created, click on the Debugger tab. You should see at least one event triggered for each order you place. If you click on the event, you can see the order details are passed to the event.
|
||||
|
||||

|
||||

|
||||
|
||||
If you added a destination, you can also check your destination to make sure the data is reflected there.
|
||||
|
||||
@@ -183,7 +183,7 @@ The `SegmentServer` also provides the method `identify` to tie a user to their a
|
||||
|
||||
After adding the above subscriber, run your server again if it isn’t running and create a customer using the REST APIs or one of the Medusa storefronts. If you check the Debugger in your Segment source, you should see a new event “Customer Created” tracked. If you click on it, you’ll see the data you passed to the `track` method.
|
||||
|
||||

|
||||

|
||||
|
||||
## What’s Next
|
||||
|
||||
|
||||
Reference in New Issue
Block a user