> ## Documentation Index
> Fetch the complete documentation index at: https://docs.segmentstream.com/llms.txt
> Use this file to discover all available pages before exploring further.

# LinkedIn

> Connect LinkedIn Ads to SegmentStream and import campaign cost data.

## Getting started

<Steps>
  <Step title="Navigate to Data Sources">
    Inside the admin panel navigate to the **Data Sources** page and click **+ NEW** on the top right corner.
  </Step>

  <Step title="Select LinkedIn">
    Choose **LinkedIn** from the list.
  </Step>

  <Step title="Authenticate">
    Click **Authenticate with LinkedIn** and go through the authentication flow.
  </Step>

  <Step title="Select accounts">
    Select the accounts you would like to connect.
  </Step>

  <Step title="Save">
    Click **Save**.
  </Step>
</Steps>

## UTM tagging best practices

Adding a `utm_id` parameter to your tagging template will guarantee improved stitching quality of costs to sessions without altering the rest of your existing UTM tags.

<Steps>
  <Step title="Open URL parameters">
    In the left side menu, select **Account settings** > **URL parameters**.
  </Step>

  <Step title="Add tracking parameters">
    Add the following to the **Account tracking parameters** field:

    ```plain text theme={null}
    utm_id={{CAMPAIGN_ID}}&utm_campaign={{CAMPAIGN_NAME}}&utm_content={{CREATIVE_ID}}&utm_source=linkedin&utm_medium=paid-social
    ```
  </Step>

  <Step title="Save">
    Click **Save**.
  </Step>
</Steps>

Once the `utm_id` parameter is implemented, sessions will be stitched with costs at the ad level. The Campaign and Ad Group dimensions of the SegmentStream reports will display the LinkedIn campaign name and campaign group name, respectively.
