Integrations

Add tracking parameters to Bing Ads

Step-by-step guide to adding LeadJourney's lj_ tracking parameters to your Microsoft Advertising (Bing Ads) campaigns, so every click is attributed to the right campaign, ad group, ad and keyword.

This guide shows you how to add LeadJourney's tracking parameters to your Microsoft Advertising (Bing Ads) campaigns. Once they're set, Microsoft appends a small lj_* string to every click – so LeadJourney attributes each visit and lead to the exact campaign, ad group, ad and keyword.

Before you start

  • Your tracking script must be live on your landing pages – see Install the tracking script.
  • Bing Ads must be connected as a traffic channel – see Connect Bing Ads.
  • Copy your exact string from LeadJourney under Settings → Traffic Channels → Connect Bing Ads → Step 3 (the Copy Parameters button). Always use the one LeadJourney shows you – the lj_channel value has to match your workspace.

The parameter string

You'll paste this lj_* string (copied from the LeadJourney dialog) into your Microsoft Advertising campaigns:

lj_channel=bing_ads&lj_c_id={CampaignId}&lj_as_id={AdGroupId}&lj_ad_id={AdId}&lj_keyword_id={TargetId}&lj_keyword={keyword}

The values in curly braces are Microsoft Advertising's dynamic URL parameters – Microsoft fills them in automatically on every click:

ParameterWhat it capturesMicrosoft macro
lj_channelThe channel (always bing_ads)fixed value
lj_c_idCampaign{CampaignId}
lj_as_idAd group{AdGroupId}
lj_ad_idAd{AdId}
lj_keyword_idKeyword/criterion ID{TargetId}
lj_keywordKeyword text{keyword}

Add it in Microsoft Advertising

Open the URL options

In Microsoft Advertising, open the URL options for the level you want to track – you can set them at the account, campaign or ad-group level. Account-level options apply everywhere; campaign or ad-group options override them for that scope.

Paste into Tracking template or Final URL suffix

Paste the lj_* string exactly into either the Tracking template or the Final URL suffix, then save.

Paste it exactly

Don't edit the {CampaignId}, {AdGroupId}, {AdId}, {TargetId} or {keyword} macros. A typo means an empty value arrives and the click files under Unknown.

Save and let it propagate

Save the URL options. Microsoft applies them to current and future ads in that scope.

Verify it's working

Click one of your live ads yourself and look at the address bar on the landing page – you should see the lj_* parameters appended with the IDs filled in. Within a few minutes the visit appears in Reports under Bing Ads, broken down by campaign, ad group and keyword.

FAQ

On this page