Problem
Segment to Split integration is set up 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. You 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 the Split user interface.
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.