Skip to main content

LinkedIn Conversions API

Server Source code Package

Server-side event delivery to LinkedIn's Conversions API for enhanced ad attribution and privacy-compliant conversion tracking.

Where this fits

LinkedIn Conversions API is a server destination in the walkerOS flow:

Sends conversion events server-side to LinkedIn's Conversions API, bypassing browser limitations for improved data quality. Deduplicates with the browser-side Insight Tag via `eventId`.

Installation

Loading...
Loading...

Configuration

This destination uses the standard destination config wrapper (consent, data, env, id, ...). For the shared fields see destination configuration. Package-specific fields live under config.settings and are listed below.

Settings

PropertyTypeDescriptionMore
accessToken*stringLinkedIn OAuth 2.0 Bearer token for Conversions API authentication
conversionRuleId*stringDefault LinkedIn conversion rule ID from Campaign Manager
apiVersionstringLinkedin-Version header value in YYYYMM format
doNotHashArray<string>Array of user data fields that should not be hashed
urlstringCustom URL for LinkedIn Conversions API endpoint
user_dataRecord<string, string>Mapping configuration for user data fields
* Required fields

Mapping

Per-event rules under config.mapping. For the standard rule fields (consent, condition, data, batch, name, policy) see mapping.

PropertyTypeDescriptionMore
conversionobjectPer-event conversion override with ruleId, value, and currency

Examples

lead

Event
Out

purchase

Event
Mapping
Out

purchase with li fat id

Event
Mapping
Out

User identification

The destination builds a userIds array from the event data. At least one identifier is required or the event is silently skipped.

SHA256_EMAIL: resolved from event.user.email or a user_data.email mapping. The email is normalized (trimmed, lowercased) and SHA-256 hashed before sending. Set doNotHash: ['email'] if you are pre-hashing upstream.

LINKEDIN_FIRST_PARTY_ADS_TRACKING_UUID: the LinkedIn click ID (li_fat_id) forwarded from the browser session. Map it via user_data in settings or through event mapping:

Loading...

Per-event conversion override

The default conversionRuleId from settings applies to all events. Override it per event via mapping to route different events to different Campaign Manager conversion rules:

Loading...

Browser deduplication

When running both the web LinkedIn Insight Tag and this server destination, use the same eventId (from event.id) on both sides. LinkedIn deduplicates conversions that share the same eventId and conversion rule, so only one conversion is counted.

💡 Need implementation support?
elbwalker offers hands-on support: setup review, measurement planning, destination mapping, and live troubleshooting. Book a 2-hour session (€399)