---
metadata:
  - name: generator
    content: Diplodoc Platform v5.66.1
alternate:
  - https://www.yandex.ru/support/metrica/en/simple-goal/social-networks.md
  - https://www.yandex.ru/support/metrica/es/simple-goal/social-networks.md
  - https://www.yandex.ru/support/metrica/pt/simple-goal/social-networks.md
  - https://www.yandex.ru/support/metrica/ru/simple-goal/social-networks.md
  - https://www.yandex.ru/support/metrica/tr/simple-goal/social-networks.md
  - href: https://www.yandex.ru/support/metrica/en/simple-goal/social-networks.md
    type: text/markdown
    title: Markdown version
  - href: https://www.yandex.ru/support/metrica/en/llms.txt?revision=r22041621
    rel: describedby
title: Track clicks to social networks
description: "If your site contains links to social networks, you can use Yandex\_Metrica to track the number of clicks on them."
---
> **Documentation Index:** Fetch the complete configuration index at https://www.yandex.ru/support/metrica/en/llms.txt?revision=r22041621


# Track clicks to social networks

<!-- source: en/_includes/simple-goal/click/id-click/note-auto-goal.md -->
{% note info %}

The goal is created automatically if the **Automatic goals** option is enabled in the tag settings.

You can manage these goals just like other [automatic goals](https://www.yandex.ru/support/metrica/en/general/auto-goals.md).

{% endnote %}
<!-- endsource: en/_includes/simple-goal/click/id-click/note-auto-goal.md -->

If your site contains links to social networks, you can use Yandex Metrica to track the number of clicks on them.

To do this, you need to set a special goal in Yandex Metrica. You can create this kind of goal:
- For all social networks specified on your site. Yandex Metrica recognizes social networks by the presence of their URLs in links. For example:
    ```html
    <a href="social-network.com">Join</a>
    ```
    
- For a specific social network. Use this method, for example, to track different social networks.
    
    Yandex Metrica searches for `<specified address>` in links.

List of available social networks:


#|
||
**Social network**
|
**URL**
||
||
Instagram[*](*1)
|
`instagram.com, instagram://, l.instagram.com`
||
||
VK
|
`vk.com, vk://, m.vk.com`
||
||
Facebook[*](*1)
|
`facebook.com, m.facebook.com`
||
||
YouTube
|
`youtube.com, youtu.be`
||
||
RUTUBE
|
`rutube.ru`
||
||
X
|
`x.com, twitter.com, t.co`
||
||
Odnoklassniki (OK)
|
`ok.ru, connect.ok.ru, mobile.ok.ru, m.ok.ru`
||
||
LinkedIn
|
`linkedin.com, lnkd.in`
||
||
Pinterest
|
`pinterest.ru`, `pinterest.com, br.pinterest.com`
||
||
Moi Mir
|
`my.mail.ru`
||
||
LiveJournal
|
`livejournal.com, username.livejournal.com `
||
|#

To create a goal manually:
1. In Yandex Metrica, go to the **Goals** page in the left menu.

1. Click **Add goal**.

1. Select the **Click to social networks** goal type.

1. In the **Name** field, enter a name for the goal to create.

1. Select the social networks to create the goal for.

1. Click **Add goal**. The created goal will appear in the list of goals. Yandex Metrica will start collecting statistics on it within a few minutes.
1. <!-- source: en/_includes/simple-goal/messengers/id-messengers/li-check.md -->
   You can check if the goal is working in the [Conversions](https://www.yandex.ru/support/metrica/en/reports/conversion.md) or [Outbound clicks](https://www.yandex.ru/support/metrica/en/content/external-links.md) report. If everything is correct, data should appear in these reports. To check this, perform a conversion action on the site. If the **Don't count my sessions** filter is set in the tag settings, check the goals on the site in the browser's private mode (for example, [Incognito](https://yandex.ru/support/browser/personal-data-protection/incognito-mode.html) in Yandex Browser).
   <!-- endsource: en/_includes/simple-goal/messengers/id-messengers/li-check.md -->

![](../_assets/add-goal-social-sm.png){.border-yes}

A conversion is recorded when the user clicks on the link that leads to the social network. To view goal statistics, use the [Conversions report](https://www.yandex.ru/support/metrica/en/reports/conversion.md) and [add the goal](https://www.yandex.ru/support/metrica/en/reports/report-general.md#choose-goal) to other Yandex Metrica reports.

## Restrictions {#general}

- <!-- source: en/_includes/general/goal-page-visit/id-general/1.md -->
  A maximum of 200 goals can be set for each tag.
  <!-- endsource: en/_includes/general/goal-page-visit/id-general/1.md -->
    
- <!-- source: en/_includes/general/goal-page-visit/id-general/2.md -->
  The service registers a user reaching the same goal on the same counter no more than once per second.
  <!-- endsource: en/_includes/general/goal-page-visit/id-general/2.md -->
    
- <!-- source: en/_includes/general/goal-page-visit/id-general/3.md -->
  During a single user session, the service can register up to 1000 offline conversions and 400 online conversions created for the tag.
  <!-- endsource: en/_includes/general/goal-page-visit/id-general/3.md -->
    
- <!-- source: en/_includes/general/goal-page-visit/id-general/4.md -->
  If you edit the tag or a goal, all the previously collected information does not change. 
  <!-- endsource: en/_includes/general/goal-page-visit/id-general/4.md -->
    
- <!-- source: en/_includes/general/goal-page-visit/id-general/5.md -->
  If you delete a goal, information collected for it is no longer available in reports.
  <!-- endsource: en/_includes/general/goal-page-visit/id-general/5.md -->
    
- <!-- source: en/_includes/simple-goal/tel/id-tel/tracklink.md -->
  To record conversions, the tag initialization code needs to contain the `trackLinks:true` parameter (to learn more, see [Tag initialization parameters](https://www.yandex.ru/support/metrica/en/code/counter-initialize.md#param-trackLinks)).
  <!-- endsource: en/_includes/simple-goal/tel/id-tel/tracklink.md -->
    

## Learn more

- [How to create a report for a goal](https://www.yandex.ru/support/metrica/en/reports/goals.md)
- [Revenue by goal](https://www.yandex.ru/support/metrica/en/general/price-goal.md)


<sup>* Banned in Russia.</sup>


<!-- source: en/_includes/buttons/chat-button.md -->
[Chat with us](https://yandex.ru/chat/#/user/036e6a02-3620-9cdc-4c5e-a34667a7379e?utm_source=spravka){.button}

[Message on Telegram](https://t.me/metrika_yandex_support_bot){.button}

[Message on MAX](https://max.ru/yandex_metrika_bot){.button}

<!-- source: en/_includes/styles/href-to-button.md -->

<!-- endsource: en/_includes/styles/href-to-button.md -->
<!-- endsource: en/_includes/buttons/chat-button.md -->

<!-- source: en/_includes/reports/texing-button.md -->
<div class="cut-button">

{% cut "Write an email" %}

{% list tabs radio %}

- No data for a particular source

  Goals in Yandex Metrica work the same way for any sources. Perhaps there aren’t any users who have completed the goal from this source yet.

  {% cut "The recommendations did not help" %}

  <!-- source: en/_includes/popup/id-popup/wrong-sup.md -->
  Please note: Our support team will never initiate a call to you. Do not follow any instructions of people who call you and introduce themselves as the Yandex Metrica support team.
  <!-- endsource: en/_includes/popup/id-popup/wrong-sup.md -->

  <div style="padding: 15px;
       margin: 10px 0;
       background: #FFFFFF;
       border-radius: 10px;
       border: 1px solid var(--g-color-line-generic);">
    <iframe style="background: #FFFFFF;"
          height="700"
          width="100%"
          frameborder="0"
          src="https://forms.yandex.ru/surveys/1706/?&theme=Net dannyh po opredelennomu istochniku&iframe=1&lang=en">
    </iframe>
  </div> 

  {% endcut %}

- Data for a goal doesn’t match real data

  This might happen for the following reasons:
  - The goal condition in Yandex Metrica doesn't cover all the possibilities. For example, the goal is set as going to the order confirmation page, but the site also allows instant checkout without visiting this page.
  - The site user has a browser plugin that blocks the Yandex Metrica tag, so this user isn’t counted.
  - The user has an antivirus system with strict privacy settings.
  - The user has a slow internet connection, so the Yandex Metrica tag didn’t load on the target page.

  {% cut "The recommendations did not help" %}

  <!-- source: en/_includes/popup/id-popup/wrong-sup.md -->
  Please note: Our support team will never initiate a call to you. Do not follow any instructions of people who call you and introduce themselves as the Yandex Metrica support team.
  <!-- endsource: en/_includes/popup/id-popup/wrong-sup.md -->

  <div style="padding: 15px;
       margin: 10px 0;
       background: #FFFFFF;
       border-radius: 10px;
       border: 1px solid var(--g-color-line-generic);">
    <iframe style="background: #FFFFFF;"
          height="700"
          width="100%"
          frameborder="0"
          src="https://forms.yandex.ru/surveys/1706/?&theme=Dannye po celi otlichayutsya ot realnyh dannyh&iframe=1&lang=en">
    </iframe>
  </div> 

  {% endcut %}

- Goal doesn’t work
  
  <div style="padding: 15px;
       margin: 10px 0;
       background: #FFFFFF;
       border-radius: 10px;
       border: 1px solid var(--g-color-line-generic);">
    <iframe style="background: #FFFFFF;"
          height="700"
          width="100%"
          frameborder="0"
          src="https://forms.yandex.ru/surveys/10018080.618d9fdb2524ebc4674fd9e2a54cd71036f465a9/?&theme=Cel ne rabotaet&iframe=1&lang=en">
    </iframe>
  </div> 

{% endlist %}  

{% endcut %}

</div>

<!-- source: en/_includes/styles/cut-button.md -->

<!-- endsource: en/_includes/styles/cut-button.md -->
<!-- endsource: en/_includes/reports/texing-button.md -->


<!-- source: en/_includes/styles/href-to-button.md -->

<!-- endsource: en/_includes/styles/href-to-button.md -->

<!-- source: en/_includes/styles/cut-button.md -->

<!-- endsource: en/_includes/styles/cut-button.md -->

<!-- source: en/_includes/border-style.md -->

<!-- endsource: en/_includes/border-style.md -->

<!-- source: en/_includes/footer-links.md -->
- - -

<div class="borderless-table">

#|
||
Useful links

- [Demo tag](https://metrika.yandex.com/r/dashboard?)
- [Add a tag](https://metrika.yandex.com/add/)
- [Yandex Metrica API](https://tech.yandex.com/metrika/)
- [Suggest your idea](https://yandex.com/support/metrica/troubleshooting/idea.html)
- [Discuss in Telegram](https://t.me/yandexmetrika)
|
Online training

- [Get a Yandex Metrica certificate](https://yandex.ru/adv/expert/exam/metrika/?utm_source=metrika_help&utm_medium=web&utm_campaign=static&utm_content=useful_links)


- [Take a training course](https://yandex.ru/adv/edu/online/metrika?utm_source=metrika_help&utm_medium=web&utm_campaign=static&utm_content=useful_links)

||
|#

</div>

<!-- source: en/_includes/styles/table-style.md -->

<!-- endsource: en/_includes/styles/table-style.md -->
<!-- endsource: en/_includes/footer-links.md -->

[*1]: Banned in Russia.