Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Con la integración de Segment, disponible en Looker Action Hub, puedes enviar Looks y Explorar a una variedad de integraciones administradas por Segment, incluidas aplicaciones de terceros como Marketo, HubSpot y otras.
Para comenzar a usar Segment en Looker, sigue estos pasos:
Cómo agregar etiquetas de Segment a tu modelo de LookML
Para enviar o programar Looks y Exploraciones con atributos de Segment, primero agrega etiquetas LookML a los campos correspondientes de tu modelo de Looker. Para obtener una lista completa de las etiquetas permitidas para cada acción, consulta la página de documentación de etiquetas (para campos).
La mayoría de las acciones requieren, al menos, las etiquetas email y user_id. Agrega estas etiquetas a los campos de tu modelo de LookML que corresponden a las direcciones de correo electrónico y los IDs de usuario de Segment, respectivamente. Por ejemplo:
Selecciona el ícono de ajustes. En el caso de los Looks, selecciona Enviar o Programar. En el caso de las Exploraciones, selecciona Enviar o Guardar y programar.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-11 (UTC)"],[],[],null,["# Sharing data to Segment\n\nWith the [Segment integration](/looker/docs/admin-panel-platform-actions#list_of_integrated_services), available in the [Looker Action Hub](/looker/docs/action-hub#the_looker_action_hub), you can send Looks and Explores to a variety of integrations managed by Segment, including third-party applications like Marketo, Hubspot, and [others](https://segment.com/docs/connections/sources/catalog/cloud-apps/looker/).\n\nTo start using Segment in Looker:\n\n1. A Looker admin [sets up a Segment integration](#setting_up_a_segment_integration). This step is only required once.\n2. A Looker developer [sets up Segment tags](#adding_segment_tags_to_your_lookml_model). This step is only required once.\n3. A Looker user [selects Segment as the destination of a delivery](#sending_a_look_or_an_explore_to_segment).\n\nSetting up a Segment integration\n--------------------------------\n\n| **Note:** You must be a Looker admin to set up a Segment integration.\n\nTo set up a Segment integration:\n\n1. In your Segment workspace, search the **Catalog** for the Looker source and select it.\n\n2. In **Source setup** , give your source a name (typically `Looker`), and select **Add Source**.\n\n3. Segment will display a write key for your source. Copy this write key.\n\n4. In your Looker instance, navigate to the **Actions** page in the **Platform** section of the **Admin** panel.\n\n5. Select **Enable** next to the Segment action you want to enable.\n\n6. Paste the Segment write key from step 3 into the **Segment Write Key** field.\n\n7. Select **Save**.\n\nTo finish setting up your Segment integration, [add Segment tags to your LookML model](#adding_segment_tags_to_your_lookml_model).\n\nAdding Segment tags to your LookML model\n----------------------------------------\n\nTo send or schedule Looks and Explores with Segment attributes, first add [LookML tags](/looker/docs/reference/param-field-tags) to the appropriate fields in your Looker model. For a complete list of allowed tags for each action, see the [tags (for fields)](/looker/docs/reference/param-field-tags) documentation page.\n\nMost actions require at least the `email` and `user_id` tags. Add these tags to the fields in your LookML model that correspond to Segment user email addresses and user IDs, respectively. For example: \n\n dimension: email {\n sql: ${TABLE}.email ;;\n tags: [\"email\"]\n }\n\n dimension: user_id {\n sql: ${TABLE}.user_id ;;\n tags: [\"user_id\"]\n }\n\n| **Note:** Without the correct user ID, your data will not be delivered to your supported integrations. You can see the required IDs for each supported Segment integration in the [Segment documentation](https://segment.com/docs/sources/cloud-apps/looker/).\n\nSending a Look or an Explore to Segment\n---------------------------------------\n\nOnce you have [set up the Segment integration](#setting_up_a_segment_integration) and defined [LookML tags](#adding_segment_tags_to_your_lookml_model), you can send Looks and Explores to Segment.\n\n1. [Create a Look](/looker/docs/saving-and-editing-looks) or [build an Explore](/looker/docs/creating-and-editing-explores) using one or more fields with a [Segment LookML tag](#adding_segment_tags_to_your_lookml_model).\n\n2. Select the gear icon. For Looks, select either **Send** or **Schedule** . For Explores, select either **Send** or **Save and schedule**.\n\n3. Select your Segment destination.\n\n4. Configure [other delivery settings](/looker/docs/delivering-looks-explores#creating_a_delivery) as desired and select **Send** or **Save**.\n\n | **Note:** Your payload will be delivered in JSON format.\n5. Confirm that Segment is receiving your Segment attributes using the [Segment debugger](https://segment.com/docs/connections/sources/debugger/)."]]