Segment Integration

This is a simple guide showing how you can use AnnounceKit as a Source and send user event data into the Segment platform. You do the setup in Segment; there is nothing to switch on in your AnnounceKit dashboard.

1) Log in to your Segment dashboard

From the main menu of your Segment dashboard, go to Connections, then Catalog, then Functions. On that page, the New Function button takes you to the section where you create new functions.

Segment's Catalog page with the Functions tab open and the New Function button marked

2) Create a new function

At this stage, you create the function that sends AnnounceKit user events to Segment. As AnnounceKit is used as a Source, pick the Source type and continue to the next step, where you build the function.

Segment's Select Function Type step with Source picked and the Build button marked

You can find the function's code in the handler.js file. Paste it into the editor and click Configure.

Segment's Build Function step with the AnnounceKit handler code pasted into the editor and the Configure button marked

3) Connect the AnnounceKit source

Once the function is created, open it and click Connect Source to connect the AnnounceKit source to your Segment workspace.

The AnnounceKit Event Source function in Segment with the Connect Source button marked

4) Add destinations

As the last step, add any Segment destination that should receive AnnounceKit user events. Then copy the webhook URL shown under Configure your webhook.

The AnnounceKit Event Source overview in Segment with the webhook URL and the Add Destination button marked

Share the webhook URL with us. We add it to your workspace, and AnnounceKit starts sending your user events to Segment.

Was this helpful?