Send In-Web events in a server-to-server method.rate limit : 1000 requests per minute.
User Identifiers
AttentionIt is recommended to send all available user identifiers as they are crucial for accurate attribution, postback, cohort analysis etc.
1. Cookie ID(browser.clientID)
Cookie IDs can be retrieved through the SDK(refer to the data fetching guide).The attribution data must be sent along with the Cookie ID for proper attribution.Get the attribution data from resource.attributionData in the Web SDK fetchResource callback. For details, refer to Data Fetching - Web.
Request Body Key
Value
eventData.shortID
resource.attributionData.shortID
eventData.trackingData
The entire resource.attributionData.trackingData object
eventData.goal
Enter the event information to send.
attributionData
resource.attributionData
Place attributionData at the top level of the request, at the same level as eventData. Send eventData.shortID and eventData.trackingData as well.
attributionData is the data required for attribution. Be careful not to modify it.
airbridge.fetchResource(function(resource) { const attributionData = resource.attributionData const body = { browser: { clientID: resource.browser.clientID, userAgent: resource.browser.userAgent, }, eventData: { shortID: attributionData.shortID, trackingData: attributionData.trackingData, goal: { category: "airbridge.ecommerce.order.completed", }, }, attributionData: attributionData, } // Pass body to your server and use it as the S2S API request body.})
User IDs may be sent without Cookie IDs if data fetching is inconvenient.In such cases, Airbridge processes events based on the Cookie IDs mapped to the provided User ID.However, if no mapping is found, this may lower the accuracy of reports.
You can specify the language to use for API requests and responses. It follows the ISO-639-1 format.
string
Represents the media type of the resource. Defaults to application/json.
string
The key value to use for API requests. Instructions for getting API keys are in “how to generate API Keys”.
string
required
You can send the user’s IP in the X-Forwarded-For header. Without X-Forwarded-For, user behavior is logged with the IP of the server that requested the Server To Server API, not the user’s IP (client request IP).We accept values in the form of ipv4 (123.123.123.123), ipv6 (2001:e60:87e3:81d4:cd57:5d52:ee2e:ff8d).
Path Params
string
required
Airbridge App Name. (Unique ID)
Body Params
string
Random UUID v4 string.Accepts a random string in UUID4 format.The event uuid is a unique ID for the event, and will be generated automatically by the event api if not provided.
number
The time the event occurred. (default: current timestamp)A Unix timestamp in milliseconds (13 digits in Unixtime).If the eventTimestamp is older than 24 hours from the time the event was sent, it will not be processed by the server.
object
User information.
Show child attributes
string
User ID.Required when: required if device.deviceUUID is not sent.
string
User email.
string
User phone number.
object
Custom user attributes.Accepts data in JSON format.{ "age_group": "30", "brand": "Nike" }
object
Browser Information.
Show child attributes
string
required
Browser cookie ID fetched from the SDK. [Docs]If data fetching isn’t possible, sending the User ID(user.externalUserID) will make this field optional.
string
Browser’s user agent fetched from the sdk. [Docs]This field is used to decide the platform, OS name and OS version of the event.
object
required
Event information.
Show child attributes
string
required
Attribution campaign parameter Short ID. Provide the value fetched from the Airbridge SDK(AndroidiOS).NOTE: This value must be sent to the Airbridge server without processing or filtering.If data fetching is not an option, sending the User ID(user.externalUserID) will make this field optional.
object
required
Tracking data from SDK.Send the resource.attributionData.trackingData object fetched from the Web SDK as is, without splitting it into child fields.
Show child attributes
string
required
Attribution campaign channel. Provide the value fetched from the Airbridge SDK(AndroidiOS).NOTE: This value must be sent to the Airbridge server without processing or filtering. (eg. values such as airbridge.websdk must also be sent)If data fetching is not an option, sending the User ID(user.externalUserID) will make this field optional.
object
required
Attribution campaign parameters. Accepts data in JSON format.Provide the value fetched from the Airbridge SDK(AndroidiOS).NOTE: This value must be sent to the Airbridge server without processing or filtering.If data fetching is not an option, sending the User ID(user.externalUserID) will make this field optional.
object
required
An object that can contain information about an event. It can contain categories, actions, labels, values, and semantic attributes. (Related Guide)
Event’s value.This may represent the product value of purchase events, or revenue for ad impressions etc.
object
Custom event attribute.{ "color": "red" }
object
Semantic Attributes. Predefined attributes for which Airbridge is supposed to collect data.
Show child attributes
string
Airbridge event property 1
string
Airbridge event property 2
string
User search query.
string
Product list ID.
string
Cart ID.
string
Transaction ID.
boolean
In-app purchases or not.true for in-app purchase, false for not an in-app purchase.
string
The currency for the payment event. You can use the currency used for the actual payment, as it will be converted to the currency set in your dashboard during event processing.
object[]
Product list.
Show child attributes
string
Product position.
string
Product ID.
string
Product name.
number
Product Price.
integer
Product quantity.
string
Currency.
object
Data required for attribution. Send the resource.attributionData fetched from the Web SDK. [Docs]Place it at the same level as eventData.NOTE: Be careful not to modify this data.If data fetching is not an option, sending the User ID(user.externalUserID) will make this field optional.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Airbridge Help Center","colors":{"primary":"#1E6EFF","light":"#5C93FF","dark":"#1E6EFF"},"logo":"https://mintcdn.com/airbridge-help-center/NnPE_gJFbAXa7mQR/asset/brand/logo.svg?fit=max\u0026auto=format\u0026n=NnPE_gJFbAXa7mQR\u0026q=85\u0026s=130de4d65c44608d9fa6e52bd9d762af","favicon":"https://mintcdn.com/airbridge-help-center/NnPE_gJFbAXa7mQR/asset/brand/favicon.png?fit=max\u0026auto=format\u0026n=NnPE_gJFbAXa7mQR\u0026q=85\u0026s=d97e8c0bd070d6d3888d960395d51d82","appearance":{"default":"light","strict":true},"seo":{"metatags":{"twitter:creator":"@AirbridgeHQ","google-site-verification":"gdLYNPyOT2BoIu-sc6Bxdc6MciTfj-S_zspQXSmyJb8"}},"styling":{"codeblocks":{"theme":{"light":"github-dark-dimmed","dark":"github-dark-dimmed"}},"latex":true},"integrations":{"amplitude":{"apiKey":"4026164481947bdc54148450724c339a"}},"errors":{"404":{"redirect":false,"title":"페이지가 존재하지 않습니다. Page Not Found.","description":"주소를 잘못 입력했거나 페이지가 이동했을 수 있습니다. The page you are looking for does not exist."}},"thumbnails":{"fonts":{"family":"Noto Sans KR"}},"navigation":{"languages":[{"language":"en","default":true,"navbar":{"links":[{"href":"https://app.airbridge.io/supports","label":"Contact us"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.airbridge.io"}},"href":"en/guides/welcome"},{"language":"ko","navbar":{"links":[{"href":"https://app.airbridge.io/supports","label":"문의하기"}],"primary":{"type":"button","label":"대시보드","href":"https://app.airbridge.io"}},"href":"ko/guides/welcome"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"airbridge-help-center","hasAudioNarration":false,"actualSubdomain":"airbridge-help-center","customDomains":["help.airbridge.io"],"gitSource":{"type":"github","owner":"ab180","repo":"airbridge-help-center","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af6d0826140130b4a1c6805","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"ko","tag":"마케터 가이드","count":310},{"language":"en","tag":"Marketer Guide","count":276},{"language":"en","tag":"Integration","count":131},{"language":"ko","tag":"에어브릿지와 연동하기","count":130},{"language":"en","tag":"Developer Guide","count":98},{"language":"ko","tag":"개발자 가이드","count":98},{"language":"en","tag":"Getting Started","count":63},{"language":"ko","tag":"시작하기","count":62},{"language":"ko","tag":"광고 성과 조회하기","count":52},{"language":"en","tag":"Reporting","count":50},{"language":"en","tag":"Ad Channel Integration","count":48},{"language":"ko","tag":"더 많은 광고 채널 연동하기","count":48},{"language":"en","tag":"SDK Integration","count":45},{"language":"ko","tag":"딥링크 플랜","count":41},{"language":"ko","tag":"SDK Integration","count":40},{"language":"en","tag":"DeepLink Plan","count":38},{"language":"en","tag":"API Reference","count":38},{"language":"ko","tag":"API 레퍼런스","count":37},{"language":"en","tag":"Tracking Link","count":35},{"language":"ko","tag":"데이터 트래킹하기","count":33}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"asset/style/style.css","content":"#content-area p,#content-area li{overflow-wrap:anywhere}#content-area a{color:#0a5aff;font-weight:inherit}#content-area :not(pre)>code{color:#0a5aff;background-color:#ebf0f5}#content-area [data-callout-type] [data-component-part=\"callout-content\"]{-webkit-text-fill-color:#3f4146}#content-area [data-callout-type] :is(a,strong,b),#content-area [data-callout-type] :not(pre)>code{-webkit-text-fill-color:currentColor}#content-area [data-callout-type] :not(pre)>code{background-color:rgb(255 255 255 / 80%)}#content-area [data-component-part=\"tab-button\"][data-active=\"true\"]{color:#050f19;border-bottom-color:#050f19}#content-area ul[data-component-part=\"tabs-list\"]{border-bottom-color:#99a7be}#content-area ul[data-component-part=\"tabs-list\"]+div{border-bottom:1px solid #dadcde;padding-bottom:8px}#content-area strong,#content-area b{font-weight:650}#content-area :is(h1,h2,h3,h4,h5,h6) :is(strong,b){font-weight:inherit}#content-area th,#content-area td{padding:6px 16px 6px 10px;border-top:1px solid #d0d2d4;border-bottom:1px solid #d0d2d4;color:#050f19}#content-area th{background-color:#eff0f2;font-weight:500}#content-area h5,#content-area h6{font-weight:600;margin-top:16px;margin-bottom:10px}#content-area [data-component-part=\"scroll-area\"]>[data-component-part=\"scroll-area-scrollbar\"][data-has-overflow-x]{opacity:1;height:8px}#content-area [data-component-part=\"scroll-area\"]>[data-component-part=\"scroll-area-scrollbar\"][data-has-overflow-x] [data-component-part=\"scroll-area-thumb\"]{background-color:#99a7be}#content-area [data-component-part=\"accordion-content\"] [data-component-part=\"scroll-area\"]{--page-padding: 0px}#content-area [data-component-part=\"code-block-root\"]>[data-component-part=\"scroll-area-scrollbar\"][data-has-overflow-x]{height:8px}#content-area ul[data-component-part=\"tabs-list\"]{flex-wrap:wrap;overflow:visible}.code-block-background.bg-white{background-color:rgb(34 39 46)!important}#localization-select-trigger::before{content:'';display:inline-block;width:16px;height:16px;margin-right:6px;flex:none;vertical-align:-3px;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20'/%3E%3Cpath d='M2 12h20'/%3E%3C/svg%3E\");background-size:16px 16px;background-repeat:no-repeat}@media (min-width: 1024px) and (max-width: 1420px){#search-bar-entry{margin-right:150px}}"}],"page":{"pagePath":"en/references/s2s-event/send-in-web-events","slug":"/en/references/s2s-event/send-in-web-events","pageMetadata":{"title":"Send In-web Events","openapi":"POST /events/v2/apps/{app_name}/web/9320","description":null,"href":"/en/references/s2s-event/send-in-web-events"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Accordion,CodeBlock,CodeGroup,Danger,Expandable,Heading,ParamField,Table,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Danger)_missingMdxReference(`Danger`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Send In-Web events in a server-to-server method.`}),`\n`,_jsx(_components.p,{children:`rate limit : 1000 requests per minute.`}),`\n`,_jsx(Heading,{level:`3`,id:`user-identifiers`,children:`User Identifiers`}),`\n`,_jsxs(Danger,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Attention`})}),_jsx(_components.p,{children:`It is recommended to send all available user identifiers as they are crucial for accurate attribution, postback, cohort analysis etc.`})]}),`\n`,_jsx(Heading,{level:`4`,id:`1-cookie-id-browser-clientid`,children:_jsxs(_components.strong,{children:[`1. Cookie ID(`,_jsx(_components.code,{children:`browser.clientID`}),`)`]})}),`\n`,_jsxs(_components.p,{children:[`Cookie IDs can be retrieved through the SDK(refer to the `,_jsx(_components.a,{href:`/en/developers/fetching-guide`,children:`data fetching guide`}),`).`]}),`\n`,_jsx(_components.p,{children:`The attribution data must be sent along with the Cookie ID for proper attribution.`}),`\n`,_jsxs(_components.p,{children:[`Get the attribution data from `,_jsx(_components.code,{children:`resource.attributionData`}),` in the Web SDK `,_jsx(_components.code,{children:`fetchResource`}),` callback. For details, refer to `,_jsx(_components.a,{href:`/en/developers/fetching-guide-for-web-sdk#attribution`,children:`Data Fetching - Web`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Request Body Key`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`eventData.shortID`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`resource.attributionData.shortID`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`eventData.trackingData`})}),_jsxs(_components.td,{children:[`The entire `,_jsx(_components.code,{children:`resource.attributionData.trackingData`}),` object`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`eventData.goal`})}),_jsx(_components.td,{children:`Enter the event information to send.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`attributionData`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`resource.attributionData`})})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Place `,_jsx(_components.code,{children:`attributionData`}),` at the top level of the request, at the same level as `,_jsx(_components.code,{children:`eventData`}),`. Send `,_jsx(_components.code,{children:`eventData.shortID`}),` and `,_jsx(_components.code,{children:`eventData.trackingData`}),` as well.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`attributionData`}),` is the data required for attribution. Be careful not to modify it.`]})}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`20`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-dark-dimmed github-dark-dimmed`,style:{backgroundColor:`#22272e`,\"--shiki-dark-bg\":`#22272e`,color:`#adbac7`,\"--shiki-dark\":`#adbac7`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`airbridge.`}),_jsx(_components.span,{style:{color:`#DCBDFB`,\"--shiki-dark\":`#DCBDFB`},children:`fetchResource`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`(`}),_jsx(_components.span,{style:{color:`#F47067`,\"--shiki-dark\":`#F47067`},children:`function`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`(`}),_jsx(_components.span,{style:{color:`#F69D50`,\"--shiki-dark\":`#F69D50`},children:`resource`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#F47067`,\"--shiki-dark\":`#F47067`},children:` const`}),_jsx(_components.span,{style:{color:`#6CB6FF`,\"--shiki-dark\":`#6CB6FF`},children:` attributionData`}),_jsx(_components.span,{style:{color:`#F47067`,\"--shiki-dark\":`#F47067`},children:` =`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` resource.attributionData`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#F47067`,\"--shiki-dark\":`#F47067`},children:` const`}),_jsx(_components.span,{style:{color:`#6CB6FF`,\"--shiki-dark\":`#6CB6FF`},children:` body`}),_jsx(_components.span,{style:{color:`#F47067`,\"--shiki-dark\":`#F47067`},children:` =`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` browser: {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` clientID: resource.browser.clientID,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` userAgent: resource.browser.userAgent,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` eventData: {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` shortID: attributionData.shortID,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` trackingData: attributionData.trackingData,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` goal: {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` category: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"airbridge.ecommerce.order.completed\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` attributionData: attributionData,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#768390`,\"--shiki-dark\":`#768390`},children:` // Pass body to your server and use it as the S2S API request body.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`})`})}),`\n`]})})})}),`\n`,_jsx(Accordion,{title:`Request Example`,id:`request-example`,children:_jsx(CodeBlock,{filename:``,lines:`true`,numberOfLines:`29`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-dark-dimmed github-dark-dimmed`,style:{backgroundColor:`#22272e`,\"--shiki-dark-bg\":`#22272e`,color:`#adbac7`,\"--shiki-dark\":`#adbac7`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`29`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#FF938A`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#FF938A`,\"--shiki-dark-font-style\":`italic`},children:` ...`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"browser\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"clientID\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"05609013-bb5a-4594-bbc3-832cb1b87072\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"eventData\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"shortID\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"aef04\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"trackingData\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"channel\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"blog\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"params\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"ad_creative\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"ad_creative\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"ad_group\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"ad_group\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"campaign\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"ad_campaign\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"ad_content\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"medium\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"ad_medium\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"tracking_template_id\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"ad_tracking_template_id\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"attributionData\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: { `}),_jsx(_components.span,{style:{color:`#FF938A`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#FF938A`,\"--shiki-dark-font-style\":`italic`},children:`...`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"user\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"externalUserID\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"19443\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"externalUserEmail\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"example@ab180.co\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"externalUserPhone\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"821012341234\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#FF938A`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#FF938A`,\"--shiki-dark-font-style\":`italic`},children:` ...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`4`,id:`2-user-id-user-externaluserid`,children:_jsxs(_components.strong,{children:[`2. User ID(`,_jsx(_components.code,{children:`user.externalUserID`}),`)`]})}),`\n`,_jsx(_components.p,{children:`User IDs may be sent without Cookie IDs if data fetching is inconvenient.`}),`\n`,_jsx(_components.p,{children:`In such cases, Airbridge processes events based on the Cookie IDs mapped to the provided User ID.`}),`\n`,_jsx(_components.p,{children:`However, if no mapping is found, this may lower the accuracy of reports.`}),`\n`,_jsx(Accordion,{title:`Request Example`,id:`request-example-1`,children:_jsx(CodeBlock,{filename:``,lines:`true`,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-dark-dimmed github-dark-dimmed`,style:{backgroundColor:`#22272e`,\"--shiki-dark-bg\":`#22272e`,color:`#adbac7`,\"--shiki-dark\":`#adbac7`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#FF938A`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#FF938A`,\"--shiki-dark-font-style\":`italic`},children:` ...`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"user\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"externalUserID\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"19443\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"externalUserEmail\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"example@ab180.co\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"externalUserPhone\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"821012341234\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#FF938A`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#FF938A`,\"--shiki-dark-font-style\":`italic`},children:` ...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(CodeBlock,{filename:`POST`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-dark-dimmed github-dark-dimmed`,style:{backgroundColor:`#22272e`,\"--shiki-dark-bg\":`#22272e`,color:`#adbac7`,\"--shiki-dark\":`#adbac7`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.airbridge.io/events/v2/apps/{app_name}/web/9320`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`Accept-Language`,type:`string`,id:`param-accept-language`,children:_jsx(_components.p,{children:`You can specify the language to use for API requests and responses. It follows the ISO-639-1 format.`})}),`\n`,_jsx(ParamField,{header:`Content-Type`,type:`string`,id:`param-content-type`,children:_jsxs(_components.p,{children:[`Represents the media type of the resource. Defaults to `,_jsx(_components.code,{children:`application/json`}),`.`]})}),`\n`,_jsx(ParamField,{header:`Authorization`,type:`string`,id:`param-authorization`,children:_jsxs(_components.p,{children:[`The key value to use for API requests. Instructions for getting API keys are in “`,_jsx(_components.a,{href:`/en/references/introduction#authorization`,children:`how to generate API Keys`}),`”.`]})}),`\n`,_jsxs(ParamField,{header:`X-Forwarded-For`,type:`string`,required:true,id:`param-x-forwarded-for`,children:[_jsx(_components.p,{children:`You can send the user’s IP in the X-Forwarded-For header. Without X-Forwarded-For, user behavior is logged with the IP of the server that requested the Server To Server API, not the user’s IP (client request IP).`}),_jsxs(_components.p,{children:[`We accept values in the form of ipv4 (`,_jsx(_components.code,{children:`123.123.123.123`}),`), ipv6 (`,_jsx(_components.code,{children:`2001:e60:87e3:81d4:cd57:5d52:ee2e:ff8d`}),`).`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`path-params`,children:`Path Params`}),`\n`,_jsx(ParamField,{path:`app_name`,type:`string`,required:true,id:`param-app-name`,children:_jsx(_components.p,{children:`Airbridge App Name. (Unique ID)`})}),`\n`,_jsx(Heading,{level:`3`,id:`body-params`,children:`Body Params`}),`\n`,_jsxs(ParamField,{body:`eventUUID`,type:`string`,id:`param-event-uuid`,children:[_jsx(_components.p,{children:`Random UUID v4 string.`}),_jsx(_components.p,{children:`Accepts a random string in UUID4 format.`}),_jsx(_components.p,{children:`The event uuid is a unique ID for the event, and will be generated automatically by the event api if not provided.`})]}),`\n`,_jsxs(ParamField,{body:`eventTimestamp`,type:`number`,id:`param-event-timestamp`,children:[_jsx(_components.p,{children:`The time the event occurred. (default: current timestamp)`}),_jsx(_components.p,{children:`A Unix timestamp in milliseconds (13 digits in Unixtime).`}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`If the eventTimestamp is older than 24 hours from the time the event was sent, it will not be processed by the server.`})})]}),`\n`,_jsxs(ParamField,{body:`user`,type:`object`,id:`param-user`,children:[_jsx(_components.p,{children:`User information.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsxs(ParamField,{body:`user.externalUserID`,type:`string`,id:`param-user-external-user-id`,children:[_jsx(_components.p,{children:`User ID.`}),_jsx(_components.p,{children:`Required when: required if device.deviceUUID is not sent.`})]}),_jsx(ParamField,{body:`user.externalUserEmail`,type:`string`,id:`param-user-external-user-email`,children:_jsx(_components.p,{children:`User email.`})}),_jsx(ParamField,{body:`user.externalUserPhone`,type:`string`,id:`param-user-external-user-phone`,children:_jsx(_components.p,{children:`User phone number.`})}),_jsxs(ParamField,{body:`user.attributes`,type:`object`,id:`param-user-attributes`,children:[_jsx(_components.p,{children:`Custom user attributes.`}),_jsx(_components.p,{children:`Accepts data in JSON format.`}),_jsx(_components.p,{children:_jsx(_components.code,{children:`{ \"age_group\": \"30\", \"brand\": \"Nike\" }`})})]})]})]}),`\n`,_jsxs(ParamField,{body:`browser`,type:`object`,id:`param-browser`,children:[_jsx(_components.p,{children:`Browser Information.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsxs(ParamField,{body:`browser.clientID`,type:`string`,required:true,id:`param-browser-client-id`,children:[_jsxs(_components.p,{children:[`Browser cookie ID fetched from the SDK. [`,_jsx(_components.a,{href:`/en/developers/fetching-guide-for-web-sdk#cookie-id`,children:`Docs`}),`]`]}),_jsxs(_components.p,{children:[`If data fetching isn’t possible, sending the User ID(`,_jsx(_components.code,{children:`user.externalUserID`}),`) will make this field optional.`]})]}),_jsxs(ParamField,{body:`browser.userAgent`,type:`string`,id:`param-browser-user-agent`,children:[_jsxs(_components.p,{children:[`Browser’s user agent fetched from the sdk. [`,_jsx(_components.a,{href:`/en/developers/fetching-guide-for-web-sdk#cookie-id`,children:`Docs`}),`]`]}),_jsx(_components.p,{children:`This field is used to decide the platform, OS name and OS version of the event.`})]})]})]}),`\n`,_jsxs(ParamField,{body:`eventData`,type:`object`,required:true,id:`param-event-data`,children:[_jsx(_components.p,{children:`Event information.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsxs(ParamField,{body:`eventData.shortID`,type:`string`,required:true,id:`param-event-data-short-id`,children:[_jsxs(_components.p,{children:[`Attribution campaign parameter Short ID. Provide the value fetched from the Airbridge SDK(`,_jsx(_components.a,{href:`https://developers.airbridge.io/v1.1-en/docs/data-fetching-guide-for-android-sdk#version`,children:`Android`}),`\\xA0`,_jsx(_components.a,{href:`https://developers.airbridge.io/v1.1-en/docs/data-fetching-guide-for-ios-sdk#application-version`,children:`iOS`}),`).`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`NOTE:`}),` This value must be sent to the Airbridge server without processing or filtering.`]}),_jsxs(_components.p,{children:[`If data fetching is not an option, sending the User ID(`,_jsx(_components.code,{children:`user.externalUserID`}),`) will make this field optional.`]})]}),_jsxs(ParamField,{body:`eventData.trackingData`,type:`object`,required:true,id:`param-event-data-tracking-data`,children:[_jsx(_components.p,{children:`Tracking data from SDK.`}),_jsxs(_components.p,{children:[`Send the `,_jsx(_components.code,{children:`resource.attributionData.trackingData`}),` object fetched from the Web SDK as is, without splitting it into child fields.`]}),_jsxs(Expandable,{title:`child attributes`,children:[_jsxs(ParamField,{body:`eventData.trackingData.channel`,type:`string`,required:true,id:`param-event-data-tracking-data-channel`,children:[_jsxs(_components.p,{children:[`Attribution campaign channel. Provide the value fetched from the Airbridge SDK(`,_jsx(_components.a,{href:`https://developers.airbridge.io/v1.1-en/docs/data-fetching-guide-for-android-sdk#version`,children:`Android`}),`\\xA0`,_jsx(_components.a,{href:`https://developers.airbridge.io/v1.1-en/docs/data-fetching-guide-for-ios-sdk#application-version`,children:`iOS`}),`).`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`NOTE:`}),` This value must be sent to the Airbridge server without processing or filtering. (eg. values such as `,_jsx(_components.code,{children:`airbridge.websdk`}),` must also be sent)`]}),_jsxs(_components.p,{children:[`If data fetching is not an option, sending the User ID(`,_jsx(_components.code,{children:`user.externalUserID`}),`) will make this field optional.`]})]}),_jsxs(ParamField,{body:`eventData.trackingData.params`,type:`object`,required:true,id:`param-event-data-tracking-data-params`,children:[_jsx(_components.p,{children:`Attribution campaign parameters. Accepts data in JSON format.`}),_jsxs(_components.p,{children:[`Provide the value fetched from the Airbridge SDK(`,_jsx(_components.a,{href:`https://developers.airbridge.io/v1.1-en/docs/data-fetching-guide-for-android-sdk#version`,children:`Android`}),`\\xA0`,_jsx(_components.a,{href:`https://developers.airbridge.io/v1.1-en/docs/data-fetching-guide-for-ios-sdk#application-version`,children:`iOS`}),`).`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`NOTE:`}),` This value must be sent to the Airbridge server without processing or filtering.`]}),_jsxs(_components.p,{children:[`If data fetching is not an option, sending the User ID(`,_jsx(_components.code,{children:`user.externalUserID`}),`) will make this field optional.`]})]})]})]}),_jsxs(ParamField,{body:`eventData.goal`,type:`object`,required:true,id:`param-event-data-goal`,children:[_jsxs(_components.p,{children:[`An object that can contain information about an event. It can contain categories, actions, labels, values, and semantic attributes. (`,_jsx(_components.a,{href:`/en/guides/airbridge-event`,children:`Related Guide`}),`)`]}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ParamField,{body:`eventData.goal.category`,type:`string`,required:true,id:`param-event-data-goal-category`,children:_jsx(_components.p,{children:_jsx(_components.a,{href:`/en/guides/airbridge-event-types`,children:`The name of the Airbridge event `})})}),_jsxs(ParamField,{body:`eventData.goal.value`,type:`number`,id:`param-event-data-goal-value`,children:[_jsx(_components.p,{children:`Event’s value.`}),_jsx(_components.p,{children:`This may represent the product value of purchase events, or revenue for ad impressions etc.`})]}),_jsxs(ParamField,{body:`eventData.goal.customAttributes`,type:`object`,id:`param-event-data-goal-custom-attributes`,children:[_jsx(_components.p,{children:`Custom event attribute.`}),_jsx(_components.p,{children:_jsx(_components.code,{children:`{ \"color\": \"red\" }`})})]}),_jsxs(ParamField,{body:`eventData.goal.semanticAttributes`,type:`object`,id:`param-event-data-goal-semantic-attributes`,children:[_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://abit.ly/recomended-semantic-attributes`,children:`Semantic Attributes.`}),` Predefined attributes for which Airbridge is supposed to collect data.`]}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ParamField,{body:`eventData.goal.semanticAttributes.action`,type:`string`,id:`param-event-data-goal-semantic-attributes-action`,children:_jsx(_components.p,{children:`Airbridge event property 1`})}),_jsx(ParamField,{body:`eventData.goal.semanticAttributes.label`,type:`string`,id:`param-event-data-goal-semantic-attributes-label`,children:_jsx(_components.p,{children:`Airbridge event property 2`})}),_jsx(ParamField,{body:`eventData.goal.semanticAttributes.query`,type:`string`,id:`param-event-data-goal-semantic-attributes-query`,children:_jsx(_components.p,{children:`User search query.`})}),_jsx(ParamField,{body:`eventData.goal.semanticAttributes.productListID`,type:`string`,id:`param-event-data-goal-semantic-attributes-product-list-id`,children:_jsx(_components.p,{children:`Product list ID.`})}),_jsx(ParamField,{body:`eventData.goal.semanticAttributes.cartID`,type:`string`,id:`param-event-data-goal-semantic-attributes-cart-id`,children:_jsx(_components.p,{children:`Cart ID.`})}),_jsx(ParamField,{body:`eventData.goal.semanticAttributes.transactionID`,type:`string`,id:`param-event-data-goal-semantic-attributes-transaction-id`,children:_jsx(_components.p,{children:`Transaction ID.`})}),_jsxs(ParamField,{body:`eventData.goal.semanticAttributes.inAppPurchased`,type:`boolean`,id:`param-event-data-goal-semantic-attributes-in-app-purchased`,children:[_jsx(_components.p,{children:`In-app purchases or not.`}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` for in-app purchase, `,_jsx(_components.code,{children:`false`}),` for not an in-app purchase.`]})]}),_jsx(ParamField,{body:`eventData.goal.semanticAttributes.currency`,type:`string`,id:`param-event-data-goal-semantic-attributes-currency`,children:_jsx(_components.p,{children:`The currency for the payment event. You can use the currency used for the actual payment, as it will be converted to the currency set in your dashboard during event processing.`})}),_jsxs(ParamField,{body:`eventData.goal.semanticAttributes.products`,type:`object[]`,id:`param-event-data-goal-semantic-attributes-products`,children:[_jsx(_components.p,{children:`Product list.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ParamField,{body:`eventData.goal.semanticAttributes.products[0].position`,type:`string`,id:`param-event-data-goal-semantic-attributes-products-0-position`,children:_jsx(_components.p,{children:`Product position.`})}),_jsx(ParamField,{body:`eventData.goal.semanticAttributes.products[0].productID`,type:`string`,id:`param-event-data-goal-semantic-attributes-products-0-product-id`,children:_jsx(_components.p,{children:`Product ID.`})}),_jsx(ParamField,{body:`eventData.goal.semanticAttributes.products[0].name`,type:`string`,id:`param-event-data-goal-semantic-attributes-products-0-name`,children:_jsx(_components.p,{children:`Product name.`})}),_jsx(ParamField,{body:`eventData.goal.semanticAttributes.products[0].price`,type:`number`,id:`param-event-data-goal-semantic-attributes-products-0-price`,children:_jsx(_components.p,{children:`Product Price.`})}),_jsx(ParamField,{body:`eventData.goal.semanticAttributes.products[0].quantity`,type:`integer`,id:`param-event-data-goal-semantic-attributes-products-0-quantity`,children:_jsx(_components.p,{children:`Product quantity.`})}),_jsx(ParamField,{body:`eventData.goal.semanticAttributes.products[0].currency`,type:`string`,id:`param-event-data-goal-semantic-attributes-products-0-currency`,children:_jsx(_components.p,{children:`Currency.`})})]})]})]})]})]})]})]})]}),`\n`,_jsxs(ParamField,{body:`attributionData`,type:`object`,id:`param-attribution-data`,children:[_jsxs(_components.p,{children:[`Data required for attribution. Send the `,_jsx(_components.code,{children:`resource.attributionData`}),` fetched from the Web SDK. [`,_jsx(_components.a,{href:`/en/developers/fetching-guide-for-web-sdk#attribution`,children:`Docs`}),`]`]}),_jsxs(_components.p,{children:[`Place it at the same level as `,_jsx(_components.code,{children:`eventData`}),`.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`NOTE:`}),` Be careful not to modify this data.`]}),_jsxs(_components.p,{children:[`If data fetching is not an option, sending the User ID(`,_jsx(_components.code,{children:`user.externalUserID`}),`) will make this field optional.`]})]}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`200`,children:`200`}),`\n`,_jsx(Heading,{level:`3`,id:`400`,children:`400`}),`\n`,_jsx(_components.p,{children:`Invalid requests (timestamp, sdk signature, app name, etc.).`}),`\n`,_jsx(Heading,{level:`3`,id:`401`,children:`401`}),`\n`,_jsx(_components.p,{children:`When using an invalid authentication token.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-dark-dimmed","dark":"github-dark-dimmed"}},"config":{},"pageMetadata":{"title":"Send In-web Events","openapi":"POST /events/v2/apps/{app_name}/web/9320","description":null,"href":"/en/references/s2s-event/send-in-web-events"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[416,425,"RequestExample,ResponseExample,Table,War"],[812,824,"RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!Table)_missi"],[35774,36634,"_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`Request`,numberOfLines:`41`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-dark-dimmed github-dark-dimmed`,style:{backgroundColor:`#22272e`,\"--shiki-dark-bg\":`#22272e`,color:`#adbac7`,\"--shiki-dark\":`#adbac7`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`41`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#F69D50`,\"--shiki-dark\":`#F69D50`},children:`curl`}),_jsx(_components.span,{style:{color:`#6CB6FF`,\"--shiki-dark\":`#6CB6FF`},children:` -X`}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` POST`}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` 'https://api.airbridge.io/events/v2/apps/{app_name}/web/9320'`}),_jsx(_components.span,{style:{color:`#F47067`,\"--shiki-dark\":`#F47067`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6CB6FF`,\"--shiki-dark\":`#6CB6FF`},children:` -H`}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` 'Accept-Language: ko'`}),_jsx(_components.span,{style:{color:`#F47067`,\"--shiki-dark\":`#F47067`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6CB6FF`,\"--shiki-dark\":`#6CB6FF`},children:` -H`}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#F47067`,\"--shiki-dark\":`#F47067`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6CB6FF`,\"--shiki-dark\":`#6CB6FF`},children:` -H`}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` 'Authorization: Bearer {AIRBRIDGE-API-TOKEN}'`}),_jsx(_components.span,{style:{color:`#F47067`,\"--shiki-dark\":`#F47067`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6CB6FF`,\"--shiki-dark\":`#6CB6FF`},children:` -H`}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` 'X-Forwarded-For: 2001:e60:87e3:81d4:cd57:5d52:ee2e:ff8d'`}),_jsx(_components.span,{style:{color:`#F47067`,\"--shiki-dark\":`#F47067`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6CB6FF`,\"--shiki-dark\":`#6CB6FF`},children:` -d`}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"eventUUID\": \"9b4b3e4e-2162-4ae6-8986-91ee84644262\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"user\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"externalUserID\": \"19443\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"externalUserEmail\": \"example@ab180.co\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"externalUserPhone\": \"821012341234\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"browser\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"clientID\": \"05609013-bb5a-4594-bbc3-832cb1b87072\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"userAgent\": \"Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E302\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"eventData\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"goal\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"category\": \"airbridge.ecommerce.product.addedToCart\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"value\": 159990,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"semanticAttributes\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"action\": \"shoes\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"label\": \"nike\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"query\": \"나이키\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"transactionID\": \"12939172\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"inAppPurchased\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"currency\": \"KRW\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"products\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"position\": \"1\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"productID\": \"30372425\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"name\": \"나이키 커스텀\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"price\": 10990,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"quantity\": 1,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` \"currency\": \"KRW\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`}'`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`200`,children:`200`}),`\n`,_jsx(Heading,{level:`3`,id:`400`,children:`400`}),`\n`,_jsx(_components.p,{children:`Invalid requests (timestamp, sdk signature, app name, etc.).`}),`\n`,_jsx(Heading,{level:`3`,id:`401`,children:`401`}),`\n`,_jsx(_components.p,{children:`When using an invalid authentication token.`}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200`,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-dark-dimmed github-dark-dimmed`,style:{backgroundColor:`#22272e`,\"--shiki-dark-bg\":`#22272e`,color:`#adbac7`,\"--shiki-dark\":`#adbac7`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"at\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"2020-02-06 16:06:49\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"Event(9320) is successfully proccessed.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`400`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-dark-dimmed github-dark-dimmed`,style:{backgroundColor:`#22272e`,\"--shiki-dark-bg\":`#22272e`,color:`#adbac7`,\"--shiki-dark\":`#adbac7`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"at\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"2020-02-06 16:06:49\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"invalid_request\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"ingested\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#6CB6FF`,\"--shiki-dark\":`#6CB6FF`},children:`0`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`401`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-dark-dimmed github-dark-dimmed`,style:{backgroundColor:`#22272e`,\"--shiki-dark-bg\":`#22272e`,color:`#adbac7`,\"--shiki-dark\":`#adbac7`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"at\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"2020-02-06 16:06:49\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#96D0FF`,\"--shiki-dark\":`#96D0FF`},children:`\"unauthorized\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8DDB8C`,\"--shiki-dark\":`#8DDB8C`},children:` \"ingested\"`}),_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`: `}),_jsx(_components.span,{style:{color:`#6CB6FF`,\"--shiki-dark\":`#6CB6FF`},children:`0`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#ADBAC7`,\"--shiki-dark\":`#ADBAC7`},children:`}`})}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}"]]},"mdxExtracts":{"tableOfContents":[{"title":"User Identifiers","slug":"user-identifiers","depth":3,"children":[]},{"title":"1. Cookie ID(browser.clientID)","slug":"1-cookie-id-browser-clientid","depth":4,"children":[]},{"title":"2. User ID(user.externalUserID)","slug":"2-user-id-user-externaluserid","depth":4,"children":[]},{"title":"Request","slug":"request","depth":2,"children":[{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Path Params","slug":"path-params","depth":3,"children":[]},{"title":"Body Params","slug":"body-params","depth":3,"children":[]}]},{"title":"Response","slug":"response","depth":2,"children":[{"title":"200","slug":"200","depth":3,"children":[]},{"title":"400","slug":"400","depth":3,"children":[]},{"title":"401","slug":"401","depth":3,"children":[]}]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Request","html":"\u003cpre class=\"shiki shiki-themes github-dark-dimmed github-dark-dimmed\" style=\"background-color:#22272e;--shiki-dark-bg:#22272e;color:#adbac7;--shiki-dark:#adbac7\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"41\">\u003cspan class=\"line\">\u003cspan style=\"color:#F69D50;--shiki-dark:#F69D50\">curl\u003c/span>\u003cspan style=\"color:#6CB6FF;--shiki-dark:#6CB6FF\"> -X\u003c/span>\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> POST\u003c/span>\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> 'https://api.airbridge.io/events/v2/apps/{app_name}/web/9320'\u003c/span>\u003cspan style=\"color:#F47067;--shiki-dark:#F47067\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6CB6FF;--shiki-dark:#6CB6FF\"> -H\u003c/span>\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> 'Accept-Language: ko'\u003c/span>\u003cspan style=\"color:#F47067;--shiki-dark:#F47067\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6CB6FF;--shiki-dark:#6CB6FF\"> -H\u003c/span>\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#F47067;--shiki-dark:#F47067\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6CB6FF;--shiki-dark:#6CB6FF\"> -H\u003c/span>\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> 'Authorization: Bearer {AIRBRIDGE-API-TOKEN}'\u003c/span>\u003cspan style=\"color:#F47067;--shiki-dark:#F47067\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6CB6FF;--shiki-dark:#6CB6FF\"> -H\u003c/span>\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> 'X-Forwarded-For: 2001:e60:87e3:81d4:cd57:5d52:ee2e:ff8d'\u003c/span>\u003cspan style=\"color:#F47067;--shiki-dark:#F47067\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6CB6FF;--shiki-dark:#6CB6FF\"> -d\u003c/span>\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"eventUUID\": \"9b4b3e4e-2162-4ae6-8986-91ee84644262\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"user\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"externalUserID\": \"19443\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"externalUserEmail\": \"example@ab180.co\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"externalUserPhone\": \"821012341234\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"browser\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"clientID\": \"05609013-bb5a-4594-bbc3-832cb1b87072\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"userAgent\": \"Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E302\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"eventData\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"goal\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"category\": \"airbridge.ecommerce.product.addedToCart\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"value\": 159990,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"semanticAttributes\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"action\": \"shoes\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"label\": \"nike\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"query\": \"나이키\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"transactionID\": \"12939172\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"inAppPurchased\": true,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"currency\": \"KRW\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"products\": [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"position\": \"1\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"productID\": \"30372425\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"name\": \"나이키 커스텀\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"price\": 10990,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"quantity\": 1,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> \"currency\": \"KRW\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\">}'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-dark-dimmed github-dark-dimmed\" style=\"background-color:#22272e;--shiki-dark-bg:#22272e;color:#adbac7;--shiki-dark:#adbac7\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"4\">\u003cspan class=\"line\">\u003cspan style=\"color:#ADBAC7;--shiki-dark:#ADBAC7\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#8DDB8C;--shiki-dark:#8DDB8C\"> \"at\"\u003c/span>\u003cspan style=\"color:#ADBAC7;--shiki-dark:#ADBAC7\">: \u003c/span>\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\">\"2020-02-06 16:06:49\"\u003c/span>\u003cspan style=\"color:#ADBAC7;--shiki-dark:#ADBAC7\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#8DDB8C;--shiki-dark:#8DDB8C\"> \"data\"\u003c/span>\u003cspan style=\"color:#ADBAC7;--shiki-dark:#ADBAC7\">: \u003c/span>\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\">\"Event(9320) is successfully proccessed.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#ADBAC7;--shiki-dark:#ADBAC7\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400","html":"\u003cpre class=\"shiki shiki-themes github-dark-dimmed github-dark-dimmed\" style=\"background-color:#22272e;--shiki-dark-bg:#22272e;color:#adbac7;--shiki-dark:#adbac7\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"5\">\u003cspan class=\"line\">\u003cspan style=\"color:#ADBAC7;--shiki-dark:#ADBAC7\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#8DDB8C;--shiki-dark:#8DDB8C\"> \"at\"\u003c/span>\u003cspan style=\"color:#ADBAC7;--shiki-dark:#ADBAC7\">: \u003c/span>\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\">\"2020-02-06 16:06:49\"\u003c/span>\u003cspan style=\"color:#ADBAC7;--shiki-dark:#ADBAC7\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#8DDB8C;--shiki-dark:#8DDB8C\"> \"error\"\u003c/span>\u003cspan style=\"color:#ADBAC7;--shiki-dark:#ADBAC7\">: \u003c/span>\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\">\"invalid_request\"\u003c/span>\u003cspan style=\"color:#ADBAC7;--shiki-dark:#ADBAC7\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#8DDB8C;--shiki-dark:#8DDB8C\"> \"ingested\"\u003c/span>\u003cspan style=\"color:#ADBAC7;--shiki-dark:#ADBAC7\">: \u003c/span>\u003cspan style=\"color:#6CB6FF;--shiki-dark:#6CB6FF\">0\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#ADBAC7;--shiki-dark:#ADBAC7\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"401","html":"\u003cpre class=\"shiki shiki-themes github-dark-dimmed github-dark-dimmed\" style=\"background-color:#22272e;--shiki-dark-bg:#22272e;color:#adbac7;--shiki-dark:#adbac7\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"5\">\u003cspan class=\"line\">\u003cspan style=\"color:#ADBAC7;--shiki-dark:#ADBAC7\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#8DDB8C;--shiki-dark:#8DDB8C\"> \"at\"\u003c/span>\u003cspan style=\"color:#ADBAC7;--shiki-dark:#ADBAC7\">: \u003c/span>\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\">\"2020-02-06 16:06:49\"\u003c/span>\u003cspan style=\"color:#ADBAC7;--shiki-dark:#ADBAC7\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#8DDB8C;--shiki-dark:#8DDB8C\"> \"error\"\u003c/span>\u003cspan style=\"color:#ADBAC7;--shiki-dark:#ADBAC7\">: \u003c/span>\u003cspan style=\"color:#96D0FF;--shiki-dark:#96D0FF\">\"unauthorized\"\u003c/span>\u003cspan style=\"color:#ADBAC7;--shiki-dark:#ADBAC7\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#8DDB8C;--shiki-dark:#8DDB8C\"> \"ingested\"\u003c/span>\u003cspan style=\"color:#ADBAC7;--shiki-dark:#ADBAC7\">: \u003c/span>\u003cspan style=\"color:#6CB6FF;--shiki-dark:#6CB6FF\">0\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#ADBAC7;--shiki-dark:#ADBAC7\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":["/_mintlify/custom/airbridge-help-center/7ae53d35540a319a/asset/script/anchor.js","/_mintlify/custom/airbridge-help-center/35836a4b2279118b/asset/script/topbar.js"],"subdomain":"airbridge-help-center","siteName":"Airbridge Help Center","title":"Send In-web Events - Airbridge Help Center","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/references/s2s-event/send-in-web-events","matchLevel":0},"ko":{"href":"/ko/references/s2s-event/send-in-web-events","matchLevel":1}}},"lastModified":"2026-11-12T05:26:06.844Z","originalFileLocation":"en/references/s2s-event/send-in-web-events.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Airbridge Help Center\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/airbridge-help-center/wJ8LZ3sMvb6YQX8U/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/airbridge-help-center/wJ8LZ3sMvb6YQX8U/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/airbridge-help-center/wJ8LZ3sMvb6YQX8U/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/airbridge-help-center/wJ8LZ3sMvb6YQX8U/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/airbridge-help-center/wJ8LZ3sMvb6YQX8U/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/airbridge-help-center/wJ8LZ3sMvb6YQX8U/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/airbridge-help-center/wJ8LZ3sMvb6YQX8U/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/airbridge-help-center/wJ8LZ3sMvb6YQX8U/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/airbridge-help-center/wJ8LZ3sMvb6YQX8U/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Send In-web Events - Airbridge Help Center\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Airbridge Help Center\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://help.airbridge.io/en/references/s2s-event/send-in-web-events\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://airbridge-help-center.mintlify.site/_mintlify/api/og/v2?division=Server-to-Server+Event\u0026amp;title=Send+In-web+Events\u0026amp;theme=f5050551d797a97649de4544\u0026amp;signature=fae62ec302965e5b67aa2818ef56c5f23afd2eecd1793de2ad4b7349b272f878\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Send In-web Events - Airbridge Help Center\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://airbridge-help-center.mintlify.site/_mintlify/api/og/v2?division=Server-to-Server+Event\u0026amp;title=Send+In-web+Events\u0026amp;theme=f5050551d797a97649de4544\u0026amp;signature=fae62ec302965e5b67aa2818ef56c5f23afd2eecd1793de2ad4b7349b272f878\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/airbridge-help-center/wJ8LZ3sMvb6YQX8U/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Airbridge Help Center\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1E6EFF\">\u003cmeta data-mint-head name=\"twitter:creator\" content=\"@AirbridgeHQ\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"gdLYNPyOT2BoIu-sc6Bxdc6MciTfj-S_zspQXSmyJb8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://help.airbridge.io/en/references/s2s-event/send-in-web-events\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/references/s2s-event/send-in-web-events.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://help.airbridge.io/en/references/s2s-event/send-in-web-events\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://help.airbridge.io/ko/references/s2s-event/send-in-web-events\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://help.airbridge.io/en/references/s2s-event/send-in-web-events\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://help.airbridge.io/#organization\",\"name\":\"Airbridge Help Center\",\"url\":\"https://help.airbridge.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/airbridge-help-center/NnPE_gJFbAXa7mQR/asset/brand/logo.svg?fit=max\u0026auto=format\u0026n=NnPE_gJFbAXa7mQR\u0026q=85\u0026s=130de4d65c44608d9fa6e52bd9d762af\"}},{\"@type\":\"WebSite\",\"@id\":\"https://help.airbridge.io#website\",\"name\":\"Airbridge Help Center\",\"url\":\"https://help.airbridge.io\",\"publisher\":{\"@id\":\"https://help.airbridge.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://help.airbridge.io/en/references/s2s-event/send-in-web-events#webpage\",\"url\":\"https://help.airbridge.io/en/references/s2s-event/send-in-web-events\",\"name\":\"Send In-web Events\",\"dateModified\":\"2026-11-12T05:26:06.844Z\",\"isPartOf\":{\"@id\":\"https://help.airbridge.io#website\"},\"breadcrumb\":{\"@id\":\"https://help.airbridge.io/en/references/s2s-event/send-in-web-events#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://help.airbridge.io/en/references/s2s-event/send-in-web-events#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Server-to-Server Event\",\"item\":\"https://help.airbridge.io/en/references/s2s-event/send-in-app-events\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Send In-web Events\",\"item\":\"https://help.airbridge.io/en/references/s2s-event/send-in-web-events\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://help.airbridge.io/en/references/s2s-event/send-in-web-events#apireference\",\"headline\":\"Send In-web Events\",\"name\":\"Send In-web Events\",\"url\":\"https://help.airbridge.io/en/references/s2s-event/send-in-web-events\",\"mainEntityOfPage\":{\"@id\":\"https://help.airbridge.io/en/references/s2s-event/send-in-web-events#webpage\"},\"dateModified\":\"2026-11-12T05:26:06.844Z\",\"publisher\":{\"@id\":\"https://help.airbridge.io/#organization\"},\"isPartOf\":{\"@id\":\"https://help.airbridge.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Airbridge Help Center\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Airbridge Help Center\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/references/s2s-event/send-in-web-events.md","siteName":"Airbridge Help Center","nav":{"global":null,"languages":[{"language":"en","default":true,"navbar":{"links":[{"href":"https://app.airbridge.io/supports","label":"Contact us"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.airbridge.io"}},"tabs":[{"tab":"Marketer Guide","pages":[{"title":"Marketer Guide","href":"/en/guides/welcome"}]},{"tab":"Developer Guide","pages":[{"title":"Developer Guide","href":"/en/developers/getting-started"}]},{"tab":"API Reference","groups":[{"group":"API Reference","expanded":true,"pages":[{"title":"Introduction","href":"/en/references/introduction"}]},{"group":"Tracking Link","expanded":true,"pages":[{"title":"Create Tracking Link","openapi":"POST /v1/tracking-links","href":"/en/references/tracking-link/create-tracking-link"},{"title":"Get Tracking Link","openapi":"GET /v1/tracking-links/{id}","href":"/en/references/tracking-link/get-tracking-link"},{"title":"Update Tracking Link's Open Graph","openapi":"PATCH /v1/tracking-links/{id}/og-tag","href":"/en/references/tracking-link/update-tracking-links-open-graph"},{"title":"Update Tracking Link's Routing","openapi":"PATCH /v1/tracking-links/{id}/routing","href":"/en/references/tracking-link/update-tracking-links-routing"},{"title":"List Tracking Links v2","openapi":"GET /v2/tracking-links","href":"/en/references/tracking-link/list-tracking-links-v2"},{"title":"List Tracking Links","openapi":"GET /v1/tracking-links","href":"/en/references/tracking-link/list-tracking-links"}]},{"group":"Server-to-Server Event","expanded":true,"pages":[{"title":"Send In-app Events","openapi":"POST /events/v2/apps/{app_name}/mobile-app/9360","description":null,"href":"/en/references/s2s-event/send-in-app-events"},{"title":"Send In-web Events","openapi":"POST /events/v2/apps/{app_name}/web/9320","href":"/en/references/s2s-event/send-in-web-events"}]},{"group":"Actuals Report","expanded":true,"pages":[{"title":"Request Report","openapi":"POST /reports/api/v7/apps/{app_name}/actuals/query","description":null,"href":"/en/references/actuals-report/request-report"},{"title":"Get Report","openapi":"GET /reports/api/v7/apps/{app_name}/actuals/query/{task_id}","href":"/en/references/actuals-report/get-report"},{"title":"Get Metadata (Metric)","openapi":"GET /dataspec/v2/apps/{app_name}/actual-report/metrics","href":"/en/references/actuals-report/get-metadata-metric"},{"title":"Get Metadata (GroupBy)","openapi":"GET /dataspec/v2/apps/{app_name}/actual-report/fields","href":"/en/references/actuals-report/get-metadata-groupby"}]},{"group":"Revenue Report","expanded":true,"pages":[{"title":"Request Report","openapi":"POST /reports/api/v3/apps/{app_name}/revenue/query","href":"/en/references/revenue-report/request-report"},{"title":"Get Report","openapi":"GET /reports/api/v3/apps/{app_name}/revenue/query/{task_id}","href":"/en/references/revenue-report/get-report"},{"title":"Get Metadata (Metric)","openapi":"GET /dataspec/v1/apps/{app_name}/revenue-report/metrics","href":"/en/references/revenue-report/get-metadata-metric"},{"title":"Get Metadata (GroupBy)","openapi":"GET /dataspec/v1/apps/{app_name}/revenue-report/groupbys","href":"/en/references/revenue-report/get-metadata-groupby"},{"title":"Get Metadata (Event)","openapi":"GET /dataspec/v1/apps/{app_name}/revenue-report/events","href":"/en/references/revenue-report/get-metadata-event"}]},{"group":"Active Users Report","expanded":true,"pages":[{"title":"Request Report","openapi":"POST /reports/api/v4/apps/{app_name}/active-users/query","href":"/en/references/active-users-report/request-report"},{"title":"Get Report","openapi":"GET /reports/api/v4/apps/{app_name}/active-users/query/{task_id}","href":"/en/references/active-users-report/get-report"},{"title":"Get Metadata (Metric)","openapi":"GET /dataspec/v1/apps/{app_name}/active-users-report/metrics","href":"/en/references/active-users-report/get-metadata-metric"},{"title":"Get Metadata (GroupBy)","openapi":"GET /dataspec/v1/apps/{app_name}/active-users-report/groupbys","href":"/en/references/active-users-report/get-metadata-groupby"}]},{"group":"Retention Report","expanded":true,"pages":[{"title":"Request Report","openapi":"POST /reports/api/v5/apps/{app_name}/retention/query","href":"/en/references/retention-report/request-report"},{"title":"Get Report","openapi":"GET /reports/api/v5/apps/{app_name}/retention/query/{task_id}","href":"/en/references/retention-report/get-report"},{"title":"Get Metadata (Event)","openapi":"GET /dataspec/v1/apps/{app_name}/retention-report/events","href":"/en/references/retention-report/get-metadata-event"},{"title":"Get Metadata (GroupBy)","openapi":"GET /dataspec/v1/apps/{app_name}/retention-report/groupbys","href":"/en/references/retention-report/get-metadata-groupby"},{"title":"Get Metadata (Retention Types)","openapi":"GET /dataspec/v1/apps/{app_name}/retention-report/retention-types","href":"/en/references/retention-report/get-metadata-retention-types"},{"title":"Get Metadata (Measurement Options)","openapi":"GET /dataspec/v1/apps/{app_name}/retention-report/measurement_options","href":"/en/references/retention-report/get-metadata-measurement-options"}]},{"group":"Raw Data","expanded":true,"pages":[{"title":"Request Raw Data Export","openapi":"POST /log-export/api/v3/apps/{app_name}/{type}/request","href":"/en/references/raw-data-export/request-raw-data-export"},{"title":"Get Raw Data Export","openapi":"GET /log-export/api/v3/apps/{app_name}/request/{report_id}","href":"/en/references/raw-data-export/get-raw-data-export"}]},{"group":"Attribution Result","expanded":true,"pages":[{"title":"Get Attribution Result","openapi":"GET /attribution-result/v1/apps/{app_name}/mobile-app","href":"/en/references/attribution-result/get-attribution-result"}]},{"group":"Self-Serve Data Upload","expanded":true,"pages":[{"title":"Upload Ad Spend Data","openapi":"POST /self-serve-data/v1/ad-spend/requests","href":"/en/references/self-serve-data/upload-ad-spend-data"},{"title":"Get Ad Spend Data Upload Progress","openapi":"GET /self-serve-data/v1/ad-spend/requests/{request_id}","href":"/en/references/self-serve-data/get-ad-spend-data-upload-progress"},{"title":"Upload Metric Data","openapi":"POST /self-serve-data/v1/metric/requests","href":"/en/references/self-serve-data/upload-metric-data"},{"title":"Get Metric Data Upload Progress","openapi":"GET /self-serve-data/v1/metric/requests/{request_id}","href":"/en/references/self-serve-data/get-metric-data-upload-progress"}]},{"group":"SKAdNetwork Configuration API","expanded":true,"pages":[{"title":"Response for all versions of SKAN","openapi":"GET /skadnetwork/v1/conversion-value-schema?api_key={API_KEY}\u0026response_format={RESPONSE_FORMAT}\u0026itunes_app_id={ITUNES_APP_ID}","href":"/en/references/skadnetwork-configuration/response-for-all-versions-of-skan"},{"title":"Get SKAN 3.0 Conversion Value Schema (Deprecated)","openapi":"GET /skadnetwork/conversion-bit-config/v4?api_key={API_KEY}\u0026response_format={RESPONSE_FORMAT}\u0026itunes_app_id={ITUNES_APP_ID}","href":"/en/references/skadnetwork-configuration/get-skan-3-0-conversion-value-schema-deprecated"}]}]},{"tab":"DeepLink Plan","pages":[{"title":"DeepLink Plan","href":"/en/deeplink-guides/welcome"}]}]},{"language":"ko","navbar":{"links":[{"href":"https://app.airbridge.io/supports","label":"문의하기"}],"primary":{"type":"button","label":"대시보드","href":"https://app.airbridge.io"}},"pages":[{"title":"ko","href":"/ko/references/s2s-event/send-in-web-events"}]}]},"basePath":"","title":"Send In-web Events - Airbridge Help Center","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["2b790eda92","b0f84f53ff"],"chunks":["ApiExamples-DTsgtCEj.js","utils-BMo572L7.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","cloneDeep-izs3Hzxb.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","addUniqueKeysToSchema-DPLK2Oq9.js","SectionHeading-P4UNTsMZ.js","conditional-requirements-CFM0id0Q.js","axios-vUo_bRtp.js"]}