Ad platforms Doc #4 Reviewed Nov 22, 2026

LinkedIn Conversions API

Send server-side conversions from the Anacoic gateway to LinkedIn Campaign Manager. In beta: not yet tried with a real ad account.

Connect your Anacoic gateway to LinkedIn Campaign Manager, so your conversions reach LinkedIn from the server and count toward your campaigns.

What you need

  1. A LinkedIn Campaign Manager account
  2. The LinkedIn Insight Tag on your website (optional, but recommended)
  3. Access to LinkedIn’s Conversions API (most ad accounts have it)

Setup

Step 1: get your conversion rule ID

  1. Sign in to LinkedIn Campaign Manager.
  2. Go to Analyze → Conversions.
  3. Choose Create conversion.
  4. Select Conversions API as the conversion source.
  5. Name your conversion (for example “Purchase”, “Lead” or “Signup”).
  6. Choose the conversion type that matches your event.
  7. Save, and note the conversion rule ID (a number, for example 12345678).

Step 2: get your access token

  1. In the LinkedIn Developer Portal, create an app, or use one you have.
  2. Make sure the app has access to LinkedIn’s Conversions API.
  3. Generate an access token with the rw_conversions and r_ads permissions, signed in as someone with a manager role on the ad account.
  4. Copy the token (it starts with AQ...).

Note: LinkedIn tokens expire after 60 days. Set a reminder to paste a new one before then. Until you do, the delivery log shows LinkedIn’s “401” for every event.

Step 3: connect LinkedIn in Anacoic

  1. Open your gateway, then Destinations, then Integrations.
  2. Find LinkedIn and choose Connect.
  3. Switch on Enable integration.
  4. Enter:
    • Conversion rule ID: from step 1
    • Event this conversion counts: the event that matches the rule, for example Purchase
    • Access token: from step 2
  5. Choose Save configuration.

LinkedIn is in beta in Anacoic: it hasn’t yet been tried with a real ad account.

Which events LinkedIn gets

A LinkedIn conversion rule counts one kind of conversion. The gateway sends LinkedIn only the event you picked for the rule, in any spelling (Purchase, purchase or Order Completed all count as a purchase). Other events, such as page views, are not sent, so they never count as that conversion.

Each gateway sends LinkedIn one rule.

Customer data LinkedIn uses

The gateway sends each of these that the event has:

  • Email (hashed with SHA-256 at the gateway)
  • Phone (digits only with the country code, hashed at the gateway)
  • LinkedIn click ID (li_fat_id from the URL, or the Insight Tag’s first-party cookie)
  • IP address
  • First and last name together, with company name and country code

Example event

anacoic.track('Purchase', {
  value: 99.99,
  currency: 'USD',
  order_id: 'ORDER-123',
  user: {
    email: 'customer@example.com',  // hashed at the gateway
    firstName: 'John',
    lastName: 'Doe',
    company: 'Acme Inc',
    country: 'US'
  }
});

Click IDs

LinkedIn adds a click ID (li_fat_id) to the URL when someone clicks your ad. The tracker picks it up and sends it with your conversion events. With ad-storage consent it keeps the click for later pages, so a purchase a few pages on still carries it.

To check it works:

  1. Click one of your LinkedIn ads.
  2. Check that the URL contains ?li_fat_id=....
  3. Complete a conversion.
  4. Find the event in the gateway’s Diagnostics, then Delivery log, with LinkedIn as a destination.

Testing

In the delivery log

  1. Open your gateway, then Diagnostics, then Delivery log.
  2. Send a test event (from the Setup tab, under Send a test event).
  3. Look for LinkedIn among the destinations, with status 200.

In LinkedIn Campaign Manager

  1. Go to Analyze → Conversions.
  2. Open your conversion.
  3. Check the Event Verification section.
  4. Look for events with the source “Conversions API”.

Troubleshooting

“401 Unauthorized”

  • Your access token has expired (tokens last 60 days).
  • Generate a new token and update the integration.

“404 Not Found”

  • The conversion rule ID doesn’t exist.
  • Check the ID in Campaign Manager → Conversions.

Few conversions matched

  • Send customers’ email addresses with your events.
  • Turn on enrichment (data-enrich="true" on the tracker) to add a signed-in customer’s email.
  • Check that the LinkedIn click ID is picked up.

How long LinkedIn keeps data

  • Attribution window: 30 days (you can change it in Campaign Manager)
  • Reporting: up to 2 years

Privacy

  • Personal details are hashed with SHA-256 at the gateway before they’re sent to LinkedIn.
  • Review LinkedIn’s current data-processing terms against your own requirements.
  • You can set up data processing agreements in Campaign Manager.

Next steps

Support

Need help? Write to support@anacoic.com.