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...

Setup

Loading...

Configuration reference

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

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.

Docker deployment

Step 1: Create flow configuration

Use the $env.NAME syntax in your flow configuration to reference environment variables at runtime:

Loading...

Step 2: Bundle the flow

Bundle your flow configuration before running in Docker:

Loading...

Step 3: Run with Docker

Loading...

Docker Compose example

Loading...
Security best practice

Never commit access tokens to version control. Use environment variables or a secrets manager to inject credentials at runtime.

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