Installation and initialization
Attention. We discontinued the development of new versions of the AppMetrica Windows SDK.
The AppMetrica SDK can be used for tracking mobile and desktop applications on Windows.
Step 1. Integrating the library
The AppMetrica library is provided as a NuGet package.
To connect the library, use the graphical interface or the command line of the NuGet package manager:
Install-Package Yandex.Metrica -Version 3.5.1Copied to clipboard
Step 2. Initializing the library
Attention. In the desktop application, before initializing the library, specify a folder for storing service files using the YandexMetricaFolder.SetCurrent(string path