Problem
Segment to Split integration is setup to enable tracking event "checkout", under the eventTypeId field we put "checkout".
However, the checkout event never shows up under "Traffic Type" page.
Root Cause
The eventTypeId field in the Segment integration page is incorrectly set, we should not put the actual event name here, only the property name that holds the event name
Solution
Review the JSON structure for the desired event in Segment, and based on the structure determine the property Path+Name and add it to the Segment integration page in Split UI.
For example, if the Segment JSON is as below:
{
"event": "checkout"
"properties" : {
"environmentId" : "xxxxx"
"environmentName" : "xxxxx"
"key" : "zxcv"
"machineIP" : "x.x.x.x"
"page" : "eCommerce"
}
}
The eventTypeId field should be set to "event"
For the example below:
{
"eventId": "231344"
"properties" : {
"eventName" : "checkout"
"environmentId" : "xxxxx"
"environmentName" : "xxxxx"
"key" : "zxcv"
"machineIP" : "x.x.x.x"
"page" : "eCommerce"
}
}
The eventTypeId field should be set to "properties.eventName"
Comments
0 comments
Please sign in to leave a comment.