Yandex Direct CRM integration: the real cost of every lead

Yandex Direct costs in your CRM by day: the real cost per lead and per deal, profit and ROI by campaign, at no extra cost. Video and setup.

Updated 10 min read 6 views
In short

Yandex Direct CRM integration imports your actual Direct spend by day and campaign into the “Ad costs” of linked campaigns in “Website analytics”, next to deals and payments. Click “Yandex Direct” in the section header, then “Sign in with Yandex” and link campaigns with “Save links”. It's included in the “CRM + Telephony + Automation” plan and above.

The cost per click in Yandex Direct changes every day: the auction, the season, competitors. Without a Yandex Direct CRM integration, spend doesn't reach the CRM and is estimated from an average cost per visit, so the cost per lead in the report differs from the real one. The budget is then split by the wrong numbers, and the marketer spends hours on exports and spreadsheets.

The Yandex Direct integration automatically imports the actual spend by day and campaign. “Website analytics” puts it into “Ad costs” and recalculates cost per lead and per deal, profit and ROI by itself. ROI shows how well your ads pay off, as a percentage. Next to it are the deals and payments from the CRM — this gives you marketing ROI tracking for Direct. So you can see which campaign brings money, not just leads.

The integration is included in the “CRM + Telephony + Automation” plan and higher, at no extra cost and without separate end-to-end analytics services. You no longer need to export reports from Direct and match them with sales.

Watch the two-minute video, and below you'll find the step-by-step connection.

Could not load the video. Check your connection and refresh the page.

Why businesses need it

  • The owner sees the real cost of a lead and a sale for every Direct campaign, not an estimate based on the average cost per click.
  • The marketer doesn't need to export spend by hand: it updates by itself every hour.
  • A car service or a clinic with a dozen campaigns immediately sees which ones bring appointments and payments, and which only spend the budget.
  • An agency connects an agency account with the client's login. The client's campaign spend gets into the report the same way as with a regular account.
Client case
A car service in Samara ran 14 campaigns in Yandex Direct. Before: once a week, the marketer spent about three hours matching Direct spend with appointments from the CRM. The cost per appointment was calculated from the average cost per click. What we did: connected Direct and linked the campaigns with the “Match by ID and name” button — the links already had the {campaign_id} tag. Result: manual exports are gone. A month later, the report showed two campaigns in the Yandex ad network with negative profit. They were turned off, the money was moved to search, and the average cost per appointment dropped by about 15%.

How Direct spend gets into the report

  1. You grant access to your Direct account.
  2. The system loads the list of campaigns and the spend by day — on connection, right away for the last 365 days.
  3. You link the analytics campaigns (their utm_campaign tags) with Direct campaigns.
  4. For the selected period, the page puts the spend of linked campaigns into “Ad costs”. Cost per visit, per lead and per deal, “Profit” and “ROI” are recalculated — for the campaign, the source, the “Ad sources” branch and in “Total”.

A linked campaign gets the “Direct” tag next to its name. Below the table header is a note, for example “Ad costs from Yandex Direct: 5 campaigns”.

Yandex Direct costs in the report — campaigns with the “Direct” tag and the “Ad costs from Yandex Direct” note below the “Traffic sources” table header

How to connect Yandex Direct to your CRM

  1. 1
    Open the window
    In “Website analytics”, click “Yandex Direct” in the header. Connections are collected in the “Accounts” block.
  2. 2
    Sign in to Yandex
    Click “Sign in with Yandex”. In the new tab, sign in with the login that runs the campaigns and grant access.
  3. 3
    Paste the code
    Copy the confirmation code from the Yandex page into the “Confirmation code” field.
  4. 4
    Agencies: the client's login
    If it's an agency account, fill in “Client login (agency only)”. A regular account doesn't need this field.
  5. 5
    Connect
    Click “Connect” right away: the code is valid only for a short time. An account card appears with the “Collecting costs…” status.
  6. 6
    Link the campaigns
    In the “Campaign matching” block, choose the pairs and click “Save links”.

Matching Direct campaigns with UTM tags

First, choose the “Ad source” — the source your Direct ads run under. The page suggests a source by itself if its name contains yandex or direct, in Latin or Cyrillic.

Below are the pairs: on the left, “Campaign in analytics” with its utm_campaign tag; on the right, “Direct campaign”.

  • “Match by ID and name” links campaigns by itself when the tag or name matches the ID or name of a Direct campaign.
  • Choose the rest from the list by hand. “Not linked” means no link.
  • “Save links” — the costs in the table are recalculated right away.

If the ad links have utm_campaign={campaign_id}, “Match by ID and name” finds the pairs by campaign ID. That's how the UTM builder builds links with the “Yandex” template. A single campaign can also be linked in its “Campaign settings”, in the “Direct campaign” field.

Tip
The list shows sources and campaigns that had visits in the period set in the filter. If the campaign you need isn't there, choose a longer period in the filter, for example “All time”.
The “Yandex Direct” window — matching Direct campaigns with UTM tags in the “Campaign matching” block, the “Match by ID and name” and “Save links” buttons

Several accounts and a Direct agency account

  • To add another account, use the “Connect another account” link. With several accounts, the login is shown next to the Direct campaign ID.
  • Reconnecting the same login refreshes access; no duplicate is created.
  • The client's login can also be set later with the “Client login” button in the card. When the login changes, the collected spend and links of this account are deleted and collected again.
  • The connection belongs to the project: all employees with the “Analytics” right in this project can see it.

How often Yandex Direct costs are updated

  • The first export pulls spend for the last 365 days and can take up to an hour.
  • After that, the last 3 days are updated every hour, and the last 30 days once a day: Direct adjusts spend retroactively.
  • The list of campaigns is updated once a day.
  • “Update now” in the account card loads the campaigns and fresh spend right away, but no more than once every 2 minutes.
  • Spend is taken including VAT, the way Direct charges it.

The card shows the status: “Collecting costs…”, “Updated …”, “Update error” with the reason, or “Reconnect the account”.

When Direct spend isn't applied

  • Spend is applied only when the filters contain just a period or there are no filters at all. With other filters, the table shows “Direct costs are not applied: filters other than the date are selected”. Direct doesn't split spend by city or page.
  • Spend is applied to campaigns and higher up the tree. For keywords and on the “Dynamics” chart, costs are calculated as without the integration.
  • Unlinked campaigns are still calculated by “Cost per visit”.
  • Direct spend is visible only on this page: other reports in your account don't take it into account.
  • Campaigns not in rubles: spend is shown as the same number, as if in rubles, and the account card warns you about it.
  • If the period starts earlier than the collected data, the note shows “costs known since …”.
Important
“Disconnect” in the account card deletes the collected spend and the campaign links. The analytics goes back to calculating costs by “Cost per visit”.
Tip
Want Direct to learn to bring buyers by itself? Send leads and payments from the CRM to Yandex Metrica as goals — how to do it is described in the article offline conversions from CRM to Yandex Metrica.

Frequently asked questions

How much does the Yandex Direct CRM integration cost?
The Direct integration is included in the “CRM + Telephony + Automation” plan and higher, at no extra cost: you don't need a separate service to import spend. You can connect one ad account or several, including agency ones.
Why didn't Yandex Direct costs show up in the report?
Check the note below the table header. Remove all filters except the date, wait for the first export, or link the campaign in “Campaign matching”.
What should I do if the confirmation code didn't work or has expired?
The code is valid only for a short time: click “Sign in with Yandex” again, copy the new code and click “Connect” right away. If the window has a single “Connect Yandex Direct” button with no code field, that's expected: this is a connection without a code — grant access, and Yandex will bring you back to the page by itself.
What should I do if the Direct card shows “Update error”?
The reason is written below the status. If it says that this is an agency account and the client's login is needed, click “Client login” and enter the login in Latin characters. In other cases, click “Update now”, and if the error persists, reconnect the account via “Sign in with Yandex”.
Why does the Direct account card say “Reconnect the account”?
Access to Direct was revoked or has expired. Click “Reconnect” and sign in with Yandex again. Until then, spend isn't updated.
What does it mean when the account has run out of Direct API points?
It's not a malfunction: Direct limits the number of requests. You don't need to do anything; costs will update later by themselves.

Read also: Marketing ROI tracking: which ads pay off and which drain your budget, UTM builder: how to tag your ads and track ad spend, Yandex Metrica offline conversions: let Direct learn from sales

Next step
Ready to try Lptracker?

Everything from this article is already waiting in your account — open the section and get started.

Try Lptracker
Turnkey implementation

Our implementation team will set up the system for your business: voice and chat AI bots, funnels, robots, telephony and CRM. Book a meeting at a time that suits you.

Book a meeting
Was this article helpful?

You have unsaved changes||У вас есть несохранённые изменения