“Page view” goal

This type of goal lets you track:
  • Traffic to a specific page or multiple pages.
  • Traffic from an outbound link.
  • Clicks in email.
  • File downloads.
Tip. Some users might complete the goal somewhere other than on the site, such as by making a phone call. To count these users, configure transmitting call tracker data to Yandex.Metrica. Then you can add calls to Yandex.Metrica reports and also use a special group of reports.

How to create a “Page view” goal

  1. In the Yandex.Metrica interface, go to Settings → Goals.
  2. Click Add goal.
  3. In the Name box, enter a name for the goal to create.
  4. Set the option to Page view.
  5. Specify the desired condition. You can add up to 10 conditions.
  6. Click Add goal. The created goal will appear in the list of goals.
  7. Click Save. Yandex.Metrica begins collecting statistics within a few minutes after saving settings.

Conditions for tracking a goal

There are several types of conditions available when creating a goal. Conditions are combined with the OR operator, so the goal is considered completed if at least one of the set conditions is met.

Condition Description
“url: matches” Specify the full URL of the target page.
“url: contains”
Specify part of a URL. Use this option if there are multiple target pages and they can be combined with a single condition. Specify as much of the URL as possible so the goal is completed only on the desired pages.
If the condition is /abc, the goal will be completed on the pages example.com/abc-1, example.com/abc/2, and example.com/abcd.
“url: begins with...”
Only the first part of the URL is specified. Use this condition if you want to track views in subdirectories.
If the condition is http://example.com/abc/, the goal will be completed on the pages http://example.com/abc/1, http://example.com/abc/2, and http://example.com/abc/1/2/3.
“url: regular expression” Used for tracking URLs that match a custom pattern.

If you want the goal to be completed for pageviews with URLs containing the + sign, put %2B in the template in place of the + character.



  • A maximum of 200 goals can be set for each tag.
  • The service registers a user completing 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 the tag.
  • If you edit the tag or a goal, all the previously collected information does not change.
  • If you delete a goal, the information collected for it will not be available in reports.


Tracking clicks in email

  1. Set the type of condition to “url: contains”.
  2. Enter an email address as the condition, such as name@email.com.

Tracking file downloads

  1. Set the type of condition to “url: contains”.
  2. Enter the full path to the file on your site as the condition. For example, http://example.com/files/name.pdf.