Learn how to ingest events from Segment
Go to the Catalog in Segment, access the Functions tab and click Create Function
Select Destination as the function type and click Build Function
Post request to Hyperline API
onTrack
function in the code editor with the following code.The provided code will catch a Track event from Segment, and post it on Hyperline with the required properties picked from the Segment event.You can add any properties (with a value of type string, number, boolean, or array of the same types) you want to ingest in Hyperline by adding them in the record
object. The field my_property
is an exemple of an additional property pushed to Hyperline.Configure your secret settings
API Key
as the label (resulting in the generated name apiKey
)String
Required
and Sensitive
optionsBackend - Staging
source). Make sure to enable it to start receiving events from Segment in Hyperline.