Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Mit der Segment-Integration, die im Looker Action Hub verfügbar ist, können Sie Looks und Explores an eine Vielzahl von Integrationen senden, die von Segment verwaltet werden, einschließlich Drittanbieteranwendungen wie Marketo, Hubspot und andere.
Wenn Sie Looks und Explores mit Segmentattributen senden oder planen möchten, fügen Sie den entsprechenden Feldern in Ihrem Looker-Modell zuerst LookML-Tags hinzu. Eine vollständige Liste der zulässigen Tags für jede Aktion finden Sie auf der Dokumentationsseite Tags (für Felder).
Für die meisten Aktionen sind mindestens die Tags email und user_id erforderlich. Fügen Sie diese Tags den Feldern in Ihrem LookML-Modell hinzu, die den E-Mail-Adressen und Nutzer-IDs der Segmente entsprechen. Beispiel:
Klicken Sie auf das Zahnradsymbol. Wählen Sie für Looks entweder Senden oder Planen aus. Wählen Sie für explorative Datenanalysen entweder Senden oder Speichern und planen aus.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-25 (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/)."]]