The tracking code is needed to collect data on user visits to the site: advertising source, keyword, landing page, city, device, browser, the page from which the request was sent, and some other parameters. The counter connects all these parameters with a visit number, which it assigns to each site visitor. How does this happen? The counter sets the roistat_visit parameter in the visitor’s browser cookie. Each unique visitor is assigned a unique visit number, which is recorded in the roistat_visit cookie variable.
The tracking code data is used for business intelligence in Roistat reports. All visits to the site are recorded by the counter and displayed in the Analytics. However, until you connect the CRM and the advertising channel to the project, the reports will contain "technical" information about the visits (landing page, city, device, etc.) and only the Visits indicator, since other indicators are calculated on the basis of data from CRM and advertising sites.
Installing a Roistat counter on the site is required for any configuration.
The counter code is unique for each project and is displayed in Settings → Counter Code: