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_channelvalue 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:
| Parameter | What it captures | Microsoft macro |
|---|---|---|
lj_channel | The channel (always bing_ads) | fixed value |
lj_c_id | Campaign | {CampaignId} |
lj_as_id | Ad group | {AdGroupId} |
lj_ad_id | Ad | {AdId} |
lj_keyword_id | Keyword/criterion ID | {TargetId} |
lj_keyword | Keyword 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
Related articles
Connect Bing Ads
Connect Microsoft Advertising (Bing Ads) as a traffic channel, link your ad accounts via OAuth and tag your campaigns so LeadJourney attributes every lead and sends offline conversions back.
Connect Multiple Ad Accounts
You're not limited to a single ad account. Connect as many Meta, Google, LinkedIn and Microsoft (Bing) ad accounts as you need – all from one login per platform.