docs: added segment guide (#12616)

* docs: added segment guide

* updates to segment guide

* generate

* remove og image
This commit is contained in:
Shahed Nasser
2025-05-28 13:18:48 +03:00
committed by GitHub
parent c4dd290461
commit 52eebcee6f
23 changed files with 28410 additions and 26802 deletions
@@ -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,