docs: added segment guide (#12616)

* docs: added segment guide

* updates to segment guide

* generate

* remove og image
This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-05-28 13:18:48 +03:00
1 parent c4dd290461
commit 52eebcee6f
23 files changed
+28410 -26802

No files matched your search

@@ -102,7 +102,7 @@ export const trackOrderCreatedWorkflow = createWorkflow(
fields: [
"*",
"customer.*",
"items.*"
"items.*",
],
filters: {
id: order_id,
@@ -55,7 +55,16 @@ You can also [create a custom Analytics Module Provider](/references/analytics/p
}
}
]}
className='mb-1'
/>
<Card
title="Segment"
href="/integrations/guides/segment"
className="my-1"
badge={{
variant: "blue",
children: "Tutorial"
}}
/>
To configure the Analytics Module and its provider, add it to the list of modules in your `medusa-config.ts` file. For example:
@@ -138,7 +147,7 @@ export const trackOrderCreatedWorkflow = createWorkflow(
fields: [
"*",
"customer.*",
"items.*"
"items.*",
],
filters: {
id: order_id,
@@ -174,7 +174,7 @@ export const trackOrderCreatedWorkflow = createWorkflow(
fields: [
"*",
"customer.*",
"items.*"
"items.*",
],
filters: {
id: order_id,