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

# How to Create LinkedIn Conversion Rules

> Create LinkedIn Conversion Rules in Campaign Manager and find each Conversion Rule ID — required so Upstack Data can send server-side events to the correct conversion action.

<Tip>
  * Sign in to [LinkedIn Campaign Manager](https://www.linkedin.com/campaignmanager/) and open **Data** → **Signals Manager** → **Conversions**.
  * Click **Create conversion** and choose the **Conversions API** data source.
  * Create one conversion rule per event type (Purchase, Add to Cart, Lead, Sign Up).
  * Copy each numeric **Conversion Rule ID** and map it in your Upstack LinkedIn destination.
</Tip>

<Warning>
  Unlike Meta or TikTok, LinkedIn requires a separate **Conversion Rule** for each event type you want to track. Without a Conversion Rule ID for an event, Upstack cannot forward that event — it will be skipped.
</Warning>

<Note>
  **What is a Conversion Rule ID?**

  A **Conversion Rule** defines a specific conversion action (e.g., a Purchase) and how it should be attributed to your campaigns. Each rule has a unique numeric **Conversion Rule ID**. LinkedIn references rules internally with the URN format `urn:lla:llaPartnerConversion:{id}`; Upstack builds this URN for you — you only need the numeric ID.
</Note>

## Prerequisites

Before you start, you need:

* **Account Manager** or **Campaign Manager** access to your **LinkedIn Ads** account
* Your **LinkedIn Partner ID** — see [How to find your LinkedIn Partner ID](/guides/linkedin-ads/how-to-find-linkedin-partner-id)
* A list of the event types you want to track (commonly Purchase, Add to Cart, Lead, Sign Up)

## Steps to create LinkedIn Conversion Rules

<Steps>
  <Step title="Sign in to Campaign Manager">
    Sign in to [LinkedIn Campaign Manager](https://www.linkedin.com/campaignmanager/) and select your ad account.
  </Step>

  <Step title="Open the Conversions tab">
    Click **Data** → **Signals Manager** → **Conversions**.

    This page lists existing conversion rules and lets you create new ones.
  </Step>

  <Step title="Create a new conversion">
    Click **Create conversion**. Give the conversion a clear name that matches the event type — for example, `Upstack Purchase` or `Upstack Add to Cart`.
  </Step>

  <Step title="Choose the Conversions API data source">
    When prompted for the conversion source, select **Conversions API** (server-side). This tells LinkedIn the conversion will be reported by a server-to-server integration rather than the browser Insight Tag.

    <Note>
      If you also run the Insight Tag for the same action, you can attach it to the **same** conversion rule. LinkedIn deduplicates browser and server events that share an `eventId` within a single rule.
    </Note>
  </Step>

  <Step title="Configure conversion settings">
    Set the conversion details:

    | Setting                | Recommended value                                                           |
    | ---------------------- | --------------------------------------------------------------------------- |
    | **Conversion type**    | Match the action (e.g., Purchase, Add to Cart, Lead, Sign Up)               |
    | **Attribution window** | Use your account default (e.g., 30-day click / 7-day view)                  |
    | **Value**              | Enable if you want to report revenue (Upstack sends `value` and `currency`) |
    | **Campaigns**          | Associate the rule with at least one active campaign                        |
  </Step>

  <Step title="Save and copy the Conversion Rule ID">
    Save the conversion rule. Open the rule's details — the numeric **Conversion Rule ID** appears in the rule settings and in the page URL.

    **Example format:** `12345678`

    <Tip>
      The Conversion Rule ID is the numeric portion only. If LinkedIn displays the full URN `urn:lla:llaPartnerConversion:12345678`, you only need the `12345678` part for Upstack.
    </Tip>
  </Step>

  <Step title="Repeat for each event type">
    Create a separate conversion rule for **every** event you want to track and record each Conversion Rule ID:

    * Purchase → `Purchase Conversion Rule ID`
    * Add to Cart → `Add to Cart Conversion Rule ID`
    * Lead → `Lead Conversion Rule ID`
    * Sign Up → `Sign Up Conversion Rule ID`
  </Step>

  <Step title="Map the IDs in Upstack Data">
    In Upstack, open your **LinkedIn** destination under **Event Destinations** and paste each Conversion Rule ID into the matching field. See [How to configure the LinkedIn destination](/guides/linkedin-ads/how-to-configure-linkedin-destination-in-upstack-data).
  </Step>
</Steps>

## Event-to-rule mapping reference

| Upstack event          | LinkedIn conversion type | Destination field              |
| ---------------------- | ------------------------ | ------------------------------ |
| `Purchase`             | Purchase                 | Purchase Conversion Rule ID    |
| `AddToCart`            | Add to Cart              | Add to Cart Conversion Rule ID |
| `Lead`                 | Lead                     | Lead Conversion Rule ID        |
| `CompleteRegistration` | Sign Up                  | Sign Up Conversion Rule ID     |

<Note>
  **Next step:** [How to generate a LinkedIn Conversions API token](/guides/linkedin-ads/how-to-generate-linkedin-conversion-api-token)
</Note>
