# Segment integration

Segment is a powerful analytics integration tool that helps you collect and analyze user interaction data from your web or mobile applications.

This tool collects data that can be used to build custom reports and measure user engagement and retention across various platforms.&#x20;

Thanks to Guideflow's integration with Segment, you can send the Guideflow analytics data to your Segment account.

### How to connect Segment:

{% @guideflow/guideflow-embed requestedUrl="<https://app.guideflow.com/player/3r3945bnr9>" %}

#### The different steps:

* In your Guideflow dashboard, go to 'Integrations' in your workspace.
* Look for Segment under 'Analytics' and click 'Connect'.
* Go to your Segment workspace, find 'Sources', and create a new source for your application.
* After creating the source, find the 'Write Key' in the source settings.
* Paste the 'Write Key' into Guideflow's Segment integration section.
* Choose which user actions in Guideflow you want to track in Segment.
* Decide if you want this for all Guideflows or just specific ones.

By setting up this integration, you create a view of how users interact with your Guideflows across all your analytics and marketing platforms, helping you make informed decisions to enhance their experience.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.guideflow.com/help/integrations/analytics-integrations/segment-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
