Segment

Segment

Last Updated: May 1, 2023

Overview

By creating a new destination in Segment, you can send over your product events and account/user details to Endgame. Endgame supports Track, Page, Group, and Identify Segment events.

Use the section below for a step-by-step guide on setting up Segment to send data to Endgame.

Setup Steps

  1. In the Segment left sidebar, click ConnectionsDestinations.
  2. image
  3. Towards the top-right, click Add Destination.
  4. image
  5. Search for Webhooks and then select Webhooks (Actions).
  6. image
  7. Click Configure Webhooks (Actions).
  8. image
  9. Select your data source.
  10. image
  11. Give the destination a name (e.g. “Endgame”) and opt to fill in the settings manually.
  12. image
  13. Paste the API key you received from your Endgame representative into the Shared Secret section, toggle “Enable Destination” on, and click Save Changes.
  14. image
  15. Click into the Mappings tab.
  16. image
  17. Click New Mapping.
  18. image
  19. Click Send (Send an HTTP request).
  20. image
  21. Configure step 1 to match any of the following.
  22. image
  23. In step 2, click Load Sample Event.
  24. image

    Result:

    image
  25. In step 3, configure mappings to include an X-Api-Key header that includes your API key, as shown below.
  26. image
  27. In step 4, click Test Mapping.
  28. image

    Result:

    image
  29. Click Save at the bottom-right.
  30. Within the Mappings tab, toggle ‘Enabled’ on under the Status heading.
  31. image
    🎉
    You’re done! If you encounter any errors or have any questions along the way, please reach out so we can help.