Button click

Use this type of goal to find out how many times visitors click a button or another clickable element on the website.

In Yandex.Metrica, you can create goals for specific buttons. Yandex.Metrica recognizes clickable website elements by the presence of the following tags: a, button, div, and input.

To create a goal:
  1. In Yandex.Metrica, go to the Goals page in the left menu.
  2. Click Add goal.
  3. In the Name field, enter a name for the goal to create.
  4. Select the Button click type of goal.
  5. In the field, specify the website page that contains the button. By default, the most popular URL on the tag is shown. Click Go and select a button.

  6. In Select an element mode, hover over the desired button, select it, and click Track clicks. To go to another page or open a pop-up window, select Interaction with the site mode.



  7. 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.
  8. Check whether the goal is working correctly.

Goal completion is registered when a user clicks the clickable element. To view goal statistics, use the Conversions report and add the goal to other Yandex.Metrica reports.

Restrictions

  • This type of goal can't be used in Multi-step goals.
  • A maximum of 200 goals can be set for each tag.
  • The service registers a user that completes the same goal on the same tag no more than once per second.
  • During a single user session, the service can register up to 400 completions of all the goals created for a tag.
  • If you edit a tag or goal, previously collected information doesn't change.
  • If you delete a goal, information collected for it is no longer available in reports.

Select a question to find a solution.

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


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.