How To Insert A Counter Code Into A Website

Table of contents:

How To Insert A Counter Code Into A Website
How To Insert A Counter Code Into A Website

Video: How To Insert A Counter Code Into A Website

Video: How To Insert A Counter Code Into A Website
Video: How To Add Website Visitors Counter Statistics on Your Website 2024, December
Anonim

There are a large number of services that allow you to install the counter on the site. They can be either paid or free. Of the latter, the most popular are Google Analytics, liveinternet.ru and Yandex. Metrica.

How to insert a counter code into a website
How to insert a counter code into a website

Instructions

Step 1

Thanks to the liveinternet service, you can install visible and invisible counters on your site. First, go to the site https://www.liveinternet.ru/add and click the "Get a counter" link. A registration form will appear in front of you. It will contain mandatory fields, namely: address, title, email address, password, keywords and statistics. Once you have entered all the required data, click the "Next" button. Check if you have entered all the data correctly. If you make a mistake somewhere, you can return to editing, and if everything is in order, then click on the "Register" button.

Step 2

Now you have to choose the type of the future counter and get its html-code. After that, copy and paste the given code on all pages of the site between the and tags. But if you have, for example, a WordPress engine, then it is better to put the counter in the footer.php or sidebar.php file. In addition, there is the possibility of using widgets. To do this, simply select the Text widget and then paste the resulting code into it.

Step 3

Yandex. Metrica is a free service for assessing traffic. To get such a counter, register. However, this condition is not necessary if you already have an account in this system (for example, mail). After logging in, click on the "Get a counter" link. It will take you to a page with a form to fill out. There you will need to select all the necessary options, indicate the name of the site. After clicking on the "Add" button you will receive a code. Put this counter on all pages, just like in the case of the liveinternet service.

Step 4

To insert a Google Analytics counter, you also need to register. True, if you have mail in this system, you can log in under the already existing username and password. After logging into your account, you will have to click on the "+ Add new account" button. Once you do this, you will be taken to a page called "Getting Started". Now register by filling in all the required fields in the form that appears, accept the terms of the user agreement and click "Next". After creating a new account, you will be given a counter code. Its placement on the site will be no different from the methods described in the steps about Yandex. Metrica and liveinternet.

Recommended: