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.
If your site contains a price list, license agreement, or other files, you can track how often users download them.
To do this, you need to set a special goal in Yandex Metrica. You can create this kind of goal:
For any file on the site. This goal will work for the most popular type files:
Document
Text
Executable file
Presentation
Applications
Compressed file
Video
Audio
Supported extensions:
3GP
7Z
AAC
AVI
APK
CSV
DJVU
DOCX
EXE
FLAC
FLV
GZ
KEY
MIDI
MKA
MKV
MP3
MP4
MPEG
MOV
MSI
OGG
PDF
PKG
PPS
PPT
PPTX
RAR
RTF
TXT
WAV
WMA
WMV
WMF
XLSX
ZIP
For a specific file. In this case, specify the name of the file with or without an extension. For example, file or file.pdf. Yandex Metrica will search for it in links.
You can specify any file extension for this goal. If you have an uncommon extension, check in the console whether the goal supports it.
How to check that
In the browser's address bar, append the _ym_debug=2 parameter to the URL of the page that contains a download link, and then open the page in the browser.
http://example.com/?_ym_debug=2
A debug panel will appear at the bottom of the page. To open it, click .
Click the download link on the page.
Information about conversions will appears in the Console tab.
Everything is correct if there's a string of the following format: File. Counter 12345. Url: https://example.com/download/price.nameshop, where the value of Url is the file download link you specified when creating a goal.
The goal is achieved when the user clicks on the link to the file. To view goal statistics, use the Conversions report and add the goal to other Yandex Metrica reports.
To create a goal manually:
In Yandex Metrica, go to the Goals page in the left menu.
Click Add goal.
In the Name field, enter a name for the goal to create.
Select the File downloads goal type.
Select which files to create a goal for. If you chose Specific file, manually enter the name of the file with or without an extension in the field. For example, file or file.pdf. Make sure the spelling matches.
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.
You can check if the goal is working in the Conversions or File downloads 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 in Yandex Browser).
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.
The recommendations did not help
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.
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.
The recommendations did not help
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.