How to connect events from Segment?

How does it work?

If you have already set up custom events in your Segment account, you can re-use them with LiveSession. You can configure LiveSession callback to collect data every time the Segment’s tracking code sends an event.

Edit the code below according to your needs to start tracking Segment events.

Custom Events are available via JS API. Learn more about limitations and best practices here.

How can I route events from Segment to LiveSession?

If you have already set up Segment and LiveSession tracking codes, adding the code below will enable you to send events from Segment to LiveSession:
    if (analytics && __ls) {
        analytics.on("track", function(event, properties) {
          __ls("track", event, properties)

Didn’t find an answer?

Try using the search engine or just contact us

hello@livesession.ioChat with us

Start using LiveSession for free now.

Free 14-day trial

No credit card required

Easy setup